summaryrefslogtreecommitdiff
path: root/src/arch/x86/op_call.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/op_call.c')
-rw-r--r--src/arch/x86/op_call.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/x86/op_call.c b/src/arch/x86/op_call.c
index 980a5e7..7641214 100644
--- a/src/arch/x86/op_call.c
+++ b/src/arch/x86/op_call.c
@@ -57,6 +57,8 @@ asm_x86_instr *x86_read_instr_call_rel1632(const uint8_t *data, off_t *pos, off_
ASM_INSTRUCTION(result)->opcode = data[(*pos)++];
+ ASM_INSTRUCTION(result)->type = AIT_CALL;
+
if (!x86_read_one_operand(result, data, pos, len, X86_OTP_REL1632, oprsize, offset))
{
free(result);
@@ -95,6 +97,8 @@ asm_x86_instr *x86_read_instr_call_rm1632(const uint8_t *data, off_t *pos, off_t
ASM_INSTRUCTION(result)->opcode = data[(*pos)++];
+ ASM_INSTRUCTION(result)->type = AIT_CALL;
+
if (!x86_read_one_operand(result, data, pos, len, X86_OTP_RM1632, oprsize))
{
free(result);