diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-04-24 18:43:54 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-04-24 18:43:54 (GMT) |
commit | 9d04b66153bd0b354c0fb5c097b9face61a649db (patch) | |
tree | 54a507c720287597e7a70808e64ad36b37ed41b8 /src/format | |
parent | a5758a42acdfaf0ac20c4cfb9cf162a9b4440e39 (diff) |
Handled hooks and rules in Dalvik opcodes definitions.
Diffstat (limited to 'src/format')
-rw-r--r-- | src/format/executable-int.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/format/executable-int.c b/src/format/executable-int.c index 0189d76..e04a791 100644 --- a/src/format/executable-int.c +++ b/src/format/executable-int.c @@ -70,6 +70,14 @@ bool g_exe_format_without_virt_translate_offset_into_vmpa(const GExeFormat *form bool g_exe_format_without_virt_translate_address_into_vmpa(const GExeFormat *format, virt_t addr, vmpa2t *pos) { - return false; + /** + * Comme les sauts dans le code sont considérés en mémoire virtuelle, + * on tolère la considération de champs virtuels même si l'architecture n'en + * a pas la définition. + */ + + init_vmpa(pos, addr, addr); + + return true; } |