diff options
Diffstat (limited to 'src/analysis/disass')
-rw-r--r-- | src/analysis/disass/fetch.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/analysis/disass/fetch.c b/src/analysis/disass/fetch.c index 97cad33..eee2eb6 100644 --- a/src/analysis/disass/fetch.c +++ b/src/analysis/disass/fetch.c @@ -159,6 +159,8 @@ static GArchInstruction *load_code_binary(const GLoadedBinary *binary, const vmp { instr = g_arch_processor_disassemble(proc, NULL, bin_data, &pos, end); + if (!G_IS_RAW_INSTRUCTION(instr)) printf("GOT %p\n", instr); + if (instr == NULL) instr = g_raw_instruction_new_array(bin_data, MDS_32_BITS, 1, &pos, end, g_arch_processor_get_endianness(proc)); @@ -294,7 +296,7 @@ GArchInstruction *disassemble_binary_content(const GLoadedBinary *binary, GtkExt /* Traiter la diff */ - if (cmp_vmpa_by_phy(last, border) < 0) + if (0 && cmp_vmpa_by_phy(last, border) < 0) { joint = load_raw_binary(binary, last, get_phy_addr(last) + compute_vmpa_diff(border, last), |