diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2008-09-11 22:25:26 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2008-09-11 22:25:26 (GMT) |
commit | ab1489b6a6ef1f09957f6f805f143fceb42f6a08 (patch) | |
tree | fd751d69dfde0539e9beb79cf33377572a3c36a2 /src/format/exe_format-int.h | |
parent | 15387adcbd3e27fe581754c0ee56edc64272d58e (diff) |
Provided capabilities to resolve symbols for given addresses.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@29 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/exe_format-int.h')
-rw-r--r-- | src/format/exe_format-int.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/format/exe_format-int.h b/src/format/exe_format-int.h index b437087..d1f9381 100644 --- a/src/format/exe_format-int.h +++ b/src/format/exe_format-int.h @@ -35,6 +35,8 @@ typedef bool (* find_section_fc) (const exe_format *, const char *, off_t *, off /* 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 **); +/* Recherche le symbole correspondant à une adresse. */ +typedef bool (* resolve_symbol_fc) (const exe_format *, char **, SymbolType *, uint64_t *); @@ -46,6 +48,7 @@ struct _exe_format find_section_fc find_section; /* Recherche d'une section */ get_symbols_fc get_symbols; /* Liste des symboles présents */ + resolve_symbol_fc resolve_symbol; /* Recherche de symboles */ }; |