diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-02-01 00:53:14 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-02-01 00:53:14 (GMT) |
commit | 7162a683b66b02c16b42a177600468a1ff56149d (patch) | |
tree | 23d5119850d049f38182ce8b3b956a44233d8906 /src/analysis/disass | |
parent | 792b330c1bbe573a591687d25e14d4cd1eccd3c6 (diff) |
Defined all Dalvik instructions to get generated by d2c.
Diffstat (limited to 'src/analysis/disass')
-rw-r--r-- | src/analysis/disass/area.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/analysis/disass/area.c b/src/analysis/disass/area.c index eddad5c..c2fee99 100644 --- a/src/analysis/disass/area.c +++ b/src/analysis/disass/area.c @@ -360,7 +360,7 @@ void load_code_from_mem_area_v2(mem_area_v2 *area, mem_area_v2 *list, size_t cou copy_vmpa(&prev, &pos); - instr = g_arch_processor_disassemble(proc, ctx, content, &pos); + instr = g_arch_processor_disassemble(proc, ctx, content, &pos, G_EXE_FORMAT(format)); if (instr == NULL) break; /* Enregistrement des positions et adresses */ @@ -1640,7 +1640,7 @@ bool load_code_from_mem_area(mem_area **list, size_t *count, size_t *index, cons copy_vmpa(&prev, &pos); - instr = g_arch_processor_disassemble(proc, ctx, content, &pos); + instr = g_arch_processor_disassemble(proc, ctx, content, &pos, G_EXE_FORMAT(format)); /* TODO : valider que la taille de l'instruction obtenue ne dépasse pas la zone */ |