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.39k stars 524 forks source link

lea semantic bugg ? #1309

Open hxm-cpp opened 4 months ago

hxm-cpp commented 4 months ago

there is one thing i noticed that doesn't make much sens with the LEA instruction :

given the example :

LEA RCX, QWORD PTR DS:[100000000] # "\x48\x8D\x0D\xE7\x0F\x55\xB8"

this would normaly resolve to RCX = 100000000.

on triton it tries to read the qword from the address 100000000 like if it was a mov.