diff options
Diffstat (limited to 'src/arch/dalvik/processor.c')
-rw-r--r-- | src/arch/dalvik/processor.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/arch/dalvik/processor.c b/src/arch/dalvik/processor.c index 9fe7253..ab64db7 100644 --- a/src/arch/dalvik/processor.c +++ b/src/arch/dalvik/processor.c @@ -536,10 +536,12 @@ static GArchInstruction *g_dalvik_processor_disassemble_pseudo(const GArchProces if (low8 != 0x00 /* DOP_NOP */) return NULL; + result = NULL; + copy_vmpa(&tmp, pos); if (!g_binary_content_read_u8(content, pos, &high8)) - return NULL; + goto gdpdp_exit; ident = high8 << 8 | low8; @@ -560,7 +562,9 @@ static GArchInstruction *g_dalvik_processor_disassemble_pseudo(const GArchProces } - if (result != NULL) + gdpdp_exit: + + if (result == NULL) copy_vmpa(pos, &tmp); return result; |