JonathanSalwan / Triton

Triton is a dynamic binary analysis library. Build your own program analysis tools, automate your reverse engineering, perform software verification or just emulate code.
https://triton-library.github.io
Apache License 2.0
3.4k stars 525 forks source link

AARCH64: Fix instruction memory access size when it's specified by instruction (ldrb, etc) #1171

Closed Antwy closed 1 year ago

Antwy commented 1 year ago

When disassembling load/store instructions memory access size is set according the destination register size. This is wrong for some instructions like ldrb w8, [sp, #0xc] as it takes only 1 byte.

Antwy commented 1 year ago

(oops, wrong branch)