diff options
Diffstat (limited to 'src/analysis')
-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 */ |