summaryrefslogtreecommitdiff
path: root/src/format/exe_format.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/exe_format.h')
-rw-r--r--src/format/exe_format.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/format/exe_format.h b/src/format/exe_format.h
index 13a37ee..1b359ff 100644
--- a/src/format/exe_format.h
+++ b/src/format/exe_format.h
@@ -89,6 +89,17 @@ exe_format *load_new_exe_format(const uint8_t *, off_t);
+/* Architectures de destination des formats */
+typedef enum _FormatTargetMachine
+{
+ FTM_JVM, /* Java Virtual Machine */
+
+ FTM_COUNT
+
+} FormatTargetMachine;
+
+
+
/* Types de symbole */
typedef enum _SymbolType
@@ -117,6 +128,11 @@ uint64_t get_exe_entry_point(const exe_format *);
+/* Indique le type d'architecture visée par le format. */
+FormatTargetMachine get_exe_target_machine(const exe_format *);
+
+
+
/* Recherche une section donnée au sein de binaire. */
bool find_exe_section(const exe_format *, const char *, off_t *, off_t *, uint64_t *);