From dcacf4201c9ef35b98ba5bfb778341de0cbaa337 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Tue, 30 Jun 2009 20:32:14 +0000 Subject: 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 --- ChangeLog | 5 +++++ src/arch/x86/instruction.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 032c201..cec2b3d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,11 @@ 09-06-30 Cyrille Bagard * src/arch/x86/instruction.c: + Fix a copy/paste mistake about the type of a 'jle' link. + +09-06-30 Cyrille Bagard + + * 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; -- cgit v0.11.2-87-g4458