diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2008-09-06 13:56:57 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2008-09-06 13:56:57 (GMT) |
commit | f14993aac5b0b4b7ae174f27e4d1f0f540057c58 (patch) | |
tree | fcb3ef8e5b2965a79f7ae9984e1c0c783f5530eb /src/format/exe_format.h | |
parent | ada3040b9b2b6d0a2d6e2157b3f79e772e36b2d7 (diff) |
Added a panel allowing to browse found symbols.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@24 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
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 **); + |