Skip to content

Instantly share code, notes, and snippets.

@withzombies
Last active October 7, 2020 03:18
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save withzombies/d18171b6776c8a465e18 to your computer and use it in GitHub Desktop.
Save withzombies/d18171b6776c8a465e18 to your computer and use it in GitHub Desktop.
IDA SDK Build Instructions
To build the IDA and HexRays SDK on Mac OS X:
1. Unzip the sdk
2. Copy the libida.dylib and libida64.dylib (from your IDA install) into idasdk67/lib/x86_mac_gcc_32 and idasdk67/lib/x64_mac_gcc_64 (these actually might go into bin and not lib...)
3. Install libiconv via brew (mine was libiconv.2.4.0.dylib)
4. Copy libiconv.2.4.0.dylib into idasdk67/lib/x86_mac_gcc_32 and idasdk67/lib/x64_mac_gcc_64 and rename it to libiconv.2.2.0.dylib
5. Copy the hexrays_sdk
cp -r /Applications/IDA Pro 6.7/IDA binaries/plugins/hexrays_sdk/include/* idasdk67/include/
cp -r /Applications/IDA Pro 6.7/IDA binaries/plugins/hexrays_sdk/plugins/* idasdk67/plugins/
6. Edit the plugin makefile to remove qwindow
7. Edit the plugin makefile to add vds1 vds2 vds3 vds4 vds5 vds6 vds7 (although you really only want vds5, it's the one that does the ast graph)
8. Run the build: __MAC__=1 make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment