From 62978f4e089a1d8e60864b11c7516c6d0273121f Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sun, 24 Apr 2011 16:46:26 +0000 Subject: [PATCH] Probably solved an endian issue --- src/arch/i386.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/i386.h b/src/arch/i386.h index a2d8f8a..79c372d 100644 --- a/src/arch/i386.h +++ b/src/arch/i386.h @@ -66,7 +66,7 @@ static int _i386_decode(ArchPlugin * plugin, ArchInstructionCall * call) call->operands_cnt = 1; return 0; } - u16 = _htol16((u16 << 8) | u8); + u16 = (u16 << 8) | u8; if((ai = helper->get_instruction_by_opcode(helper->arch, 16, u16)) == NULL) {