summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-06-30 20:32:14 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-06-30 20:32:14 (GMT)
commitdcacf4201c9ef35b98ba5bfb778341de0cbaa337 (patch)
treed0441a5afacdba02afdf138121bdde8d260236fe /src/arch/x86
parentdde6bbf77e6a6df95dad5426e56a4bba115a7253 (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
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/instruction.c2
1 files changed, 1 insertions, 1 deletions
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;