Code originally from the Hex-Rays SDK examples. I have made a solution to compile it for convenience since IDAPython's copy constructor for cexpr_t
seems broken, breaking the Python version.
Note: you should consider using https://github.com/igogo-x86/HexRaysPyTools instead, since it offers this functionality plus a lot more features.
The following system environment variables should be set before running Visual Studio, or in the Property Manager by editing PropertySheet.props
:
$(IDADIR)
- path to IDA 7.0 where ida64.exe can be found
The IDA 7.0 SDK should also be located at $(IDADIR)\idasdk70
.
- Hex-Rays for code