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.49k stars 533 forks source link

AArch64 System Registers #1195

Closed soyasoya5 closed 1 year ago

soyasoya5 commented 1 year ago

Currently system registers and the MSR/MRS instructions are not supported.


code = [
    b"\x54\xD0\x3B\xD5", #    mrs x20, tpidr_el0
]
JonathanSalwan commented 1 year ago

I've added system registers and MSR, MRS instructions. Looks good to me but you must use Capstone 5.x to enjoy the decoding of system registers.

soyasoya5 commented 1 year ago

LGTM, tested & works for me