diff options
Diffstat (limited to 'src/format/exe_format-int.h')
-rw-r--r-- | src/format/exe_format-int.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/format/exe_format-int.h b/src/format/exe_format-int.h index a8333de..b437087 100644 --- a/src/format/exe_format-int.h +++ b/src/format/exe_format-int.h @@ -32,6 +32,10 @@ /* Recherche une section donnée au sein de binaire. */ typedef bool (* find_section_fc) (const exe_format *, const char *, off_t *, off_t *, uint64_t *); +/* Récupère tous les symboles présents dans le contenu binaire. */ +typedef size_t (* get_symbols_fc) (const exe_format *, char ***, SymbolType **, uint64_t **); + + /* Support générique d'un format d'exécutable */ @@ -41,6 +45,7 @@ struct _exe_format off_t length; /* Taille de ce contenu */ find_section_fc find_section; /* Recherche d'une section */ + get_symbols_fc get_symbols; /* Liste des symboles présents */ }; |