diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2009-07-15 22:35:11 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2009-07-15 22:35:11 (GMT) |
commit | 5dbb4e6a9f0dcb75abf9e7abdc0d8a98f66af147 (patch) | |
tree | 29e2cf6110425e0d7804bc57d76dba32476a1efd /src/format/exe_format.c | |
parent | 293f9f24c6338b5d41dd8f613aefae6be9bdbfcb (diff) |
Restored the routine address resolution.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@96 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/exe_format.c')
-rw-r--r-- | src/format/exe_format.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/format/exe_format.c b/src/format/exe_format.c index ffd9fde..cda17f7 100644 --- a/src/format/exe_format.c +++ b/src/format/exe_format.c @@ -464,10 +464,10 @@ size_t get_exe_resolved_items(const exe_format *format, char ***labels, Resolved /****************************************************************************** * * -* Paramètres : format = informations chargées à consulter. * -* label = étiquette du symbole si trouvé. [OUT] * -* type = type du symbole trouvé. [OUT] * -* offset = adresse à cibler, puis décallage final. [OUT] * +* Paramètres : format = informations chargées à consulter. * +* label = étiquette du symbole si trouvé. [OUT] * +* type = type du symbole trouvé. [OUT] * +* address = adresse à cibler, puis décallage final. [OUT] * * * * Description : Recherche le symbole correspondant à une adresse. * * * @@ -477,9 +477,9 @@ size_t get_exe_resolved_items(const exe_format *format, char ***labels, Resolved * * ******************************************************************************/ -bool resolve_exe_symbol(const exe_format *format, char **label, SymbolType *type, uint64_t *offset) +bool resolve_exe_symbol(const exe_format *format, char **label, SymbolType *type, vmpa_t *address) { - return format->resolve_symbol(format, label, type, offset); + return format->resolve_symbol(format, label, type, address); } |