capstone icon indicating copy to clipboard operation
capstone copied to clipboard

Support X86Op.size for aarch64

Open jinyu00 opened this issue 6 years ago • 1 comments

I find that when disassemble x86 code, I can get the memory access size of an instruction, for example

0x1000:	lea	cx, [si + 0x32]
	operands.mem.base: REG = si
	operands.mem.disp: 0x32
	access size: 2

get the access size by

for i in insn.operands:
    print("\taccess size: %u" % i.size)

And aarch64's operands don't have this field , does capstone plan to implement this?

jinyu00 avatar Sep 18 '19 09:09 jinyu00

Any update on this issue? I check the next branch, and there is no such a field in the aarch64 instruction

mudongliang avatar Sep 27 '21 08:09 mudongliang