diff options
Diffstat (limited to 'src/format/exe_format.h')
-rw-r--r-- | src/format/exe_format.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/format/exe_format.h b/src/format/exe_format.h index 0ec727b..3dab5a7 100644 --- a/src/format/exe_format.h +++ b/src/format/exe_format.h @@ -35,11 +35,21 @@ typedef struct _exe_format exe_format; +/* Types de symbole */ +typedef enum _SymbolType +{ + STP_SECTION /* Simple morceau de code */ + +} SymbolType; + /* Recherche une section donnée au sein de binaire. */ bool find_exe_section(const exe_format *, const char *, off_t *, off_t *, uint64_t *); +/* Récupère tous les symboles présents dans le contenu binaire. */ +size_t get_exe_symbols(const exe_format *, char ***, SymbolType **, uint64_t **); + |