Closed mxmssh closed 6 years ago
Well, it looks like the only problem is Triton. We have to tell Triton (during initialization) that we reverse 32bit application and call appropriate functions accordingly.
I guess IDA has an API to tell you if a loaded binary is 32 or 64 bits. We should use that to initialize Triton.
Yea, let's go this way.
From IDA website: "To make the transition even smoother, we are also publishing a 32-bit version of IDA. It can (and should) be only used to run old 32-bit plugins while you are porting them to 64-bit." link
For me it looks like 32bit IDA is used for back compatibility with old plugins. Thus, Ponce should be always 64 bit! This is a problem for us because when we compile Ponce as 64bit, we expect 64bit applications. The code below always fail when we reverse 32bit applications within 64bit IDA: