diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2008-10-30 18:35:47 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2008-10-30 18:35:47 (GMT) |
commit | 7c7109c1a8aaedea40af4b96d4b81d6ba4496226 (patch) | |
tree | 471709f8bccae04f492d03017a1e94d0ca48b962 /src/format/exe_format.h | |
parent | 8a30afc05eed869865ba4dc9c107119f7ec00fe4 (diff) |
Displayed all found strings on binary loading.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@40 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/exe_format.h')
-rw-r--r-- | src/format/exe_format.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/format/exe_format.h b/src/format/exe_format.h index 53257fb..9be91fb 100644 --- a/src/format/exe_format.h +++ b/src/format/exe_format.h @@ -69,6 +69,15 @@ typedef enum _SymbolType } SymbolType; +/* Types de symbole */ +typedef enum _ResolvedType +{ + RTP_SECTION, /* Simple morceau de code */ + RTP_STRING /* Chaîne de caractères */ + +} ResolvedType; + + /* Recherche une section donnée au sein de binaire. */ bool find_exe_section(const exe_format *, const char *, off_t *, off_t *, uint64_t *); @@ -76,6 +85,9 @@ bool find_exe_section(const exe_format *, const char *, off_t *, off_t *, uint64 /* Récupère tous les symboles présents dans le contenu binaire. */ size_t get_exe_symbols(const exe_format *, char ***, SymbolType **, uint64_t **); +/* Récupère tous les éléments identifiées dans le binaire. */ +size_t get_exe_resolved_items(const exe_format *, char ***, ResolvedType **, uint64_t **); + /* Recherche le symbole correspondant à une adresse. */ bool resolve_exe_symbol(const exe_format *, char **, SymbolType *, uint64_t *); |