illera88 / Ponce

IDA 2016 plugin contest winner! Symbolic Execution just one-click away!
https://docs.idaponce.com
Other
1.48k stars 72 forks source link

Get the binary architecture with the IDA API #6

Closed 0ca closed 6 years ago

0ca commented 8 years ago

To use Triton we need first to set the architecture with setArchitecture. It would be cool to get the type of binary, x86 or x64 and set the architecture accord to that.

Right now it is hardcoded to x86: https://github.com/illera88/ponce/blob/master/Ponce/src/main.cpp#L71