mirror of
https://github.com/capstone-engine/capstone.git
synced 2025-03-06 13:29:52 +00:00
Fix the X86_REL_ADDR macro in x86.h
This commit is contained in:
parent
b33ebc46b0
commit
6bc08a850a
@ -11,7 +11,7 @@ extern "C" {
|
||||
#include <stdint.h>
|
||||
|
||||
// Calculate relative address for X86-64, given cs_insn structure
|
||||
#define X86_REL_ADDR(insn) (insn.addr + insn.size + insn.x86.disp)
|
||||
#define X86_REL_ADDR(insn) (insn.address + insn.size + insn.detail->x86.disp)
|
||||
|
||||
//> X86 registers
|
||||
typedef enum x86_reg {
|
||||
|
Loading…
x
Reference in New Issue
Block a user