diff options
Diffstat (limited to 'src/analysis/decomp')
-rw-r--r-- | src/analysis/decomp/il.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/analysis/decomp/il.c b/src/analysis/decomp/il.c index 36b5dfe..f19dd1a 100644 --- a/src/analysis/decomp/il.c +++ b/src/analysis/decomp/il.c @@ -610,7 +610,7 @@ static void close_case_decomp_instructions(GDecInstruction *case_dinstr, GInstrB vmpa_t common_addr; /* Adresse commune de suite */ bool is_common; /* Suite commune ? */ GArchInstruction *last; /* Dernière instruction de bloc*/ - GArchInstruction **dests; /* Instr. visée par une autre */ + instr_link_t *dests; /* Instr. visées par une autre */ size_t dcount; /* Nombre de liens de dest. */ size_t j; /* Boucle de parcours #2 */ vmpa_t addr; /* Adresse d'une instruction */ @@ -638,11 +638,11 @@ static void close_case_decomp_instructions(GDecInstruction *case_dinstr, GInstrB for (i = 0; i < lcount && is_common; i++) { g_flow_block_get_boundary(G_FLOW_BLOCK(leafs[i]), NULL, &last); - dcount = g_arch_instruction_get_destinations(last, &dests, NULL); + dcount = g_arch_instruction_get_destinations(last, &dests); for (j = 0; j < dcount && is_common; j++) { - g_arch_instruction_get_location(dests[j], NULL, NULL, &addr); + g_arch_instruction_get_location(dests[j].linked, NULL, NULL, &addr); if (common_addr == VMPA_MAX) common_addr = addr; |