summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-02-01 00:53:14 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-02-01 00:53:14 (GMT)
commit7162a683b66b02c16b42a177600468a1ff56149d (patch)
tree23d5119850d049f38182ce8b3b956a44233d8906 /src/analysis
parent792b330c1bbe573a591687d25e14d4cd1eccd3c6 (diff)
Defined all Dalvik instructions to get generated by d2c.
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/disass/area.c4
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 */