summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/arch/x86/instruction.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 032c201..cec2b3d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;