diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2009-06-30 20:32:14 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2009-06-30 20:32:14 (GMT) |
commit | dcacf4201c9ef35b98ba5bfb778341de0cbaa337 (patch) | |
tree | d0441a5afacdba02afdf138121bdde8d260236fe | |
parent | dde6bbf77e6a6df95dad5426e56a4bba115a7253 (diff) |
Fixed a copy/paste mistake about the type of a 'jle' link.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@86 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/arch/x86/instruction.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,6 +1,11 @@ 09-06-30 Cyrille Bagard <nocbos@gmail.com> * src/arch/x86/instruction.c: + Fix a copy/paste mistake about the type of a 'jle' link. + +09-06-30 Cyrille Bagard <nocbos@gmail.com> + + * src/arch/x86/instruction.c: * src/arch/x86/instruction.h: * src/arch/x86/Makefile.am: * src/arch/x86/opcodes.h: diff --git a/src/arch/x86/instruction.c b/src/arch/x86/instruction.c index 5f6e7ee..3cf4a6b 100644 --- a/src/arch/x86/instruction.c +++ b/src/arch/x86/instruction.c @@ -551,7 +551,7 @@ static InstructionLinkType x86_get_instruction_link(const GX86Instruction *instr { case XOP_JLE_REL1632: relative = G_X86_RELATIVE_OPERAND(g_arch_instruction_get_operand(G_ARCH_INSTRUCTION(instr), 0)); - if (g_imm_operand_to_vmpa_t(g_x86_relative_operand_get_value(relative), addr)) result = ILT_CALL; + if (g_imm_operand_to_vmpa_t(g_x86_relative_operand_get_value(relative), addr)) result = ILT_JUMP_IF_TRUE; else result = ILT_NONE; break; |