mirror of
https://github.com/cemu-project/idapython.git
synced 2024-11-27 19:44:18 +01:00
61 lines
1.6 KiB
Plaintext
61 lines
1.6 KiB
Plaintext
----------------------------------------------------------
|
|
IDAPython - Python plugin for Interactive Disassembler Pro
|
|
----------------------------------------------------------
|
|
Building From Source
|
|
--------------------
|
|
|
|
REQUIREMENTS
|
|
------------
|
|
|
|
[Tested versions are in brackets]
|
|
|
|
- IDA and IDA SDK [5.6]
|
|
http://www.hex-rays.com/idapro/
|
|
|
|
- Python [2.5.1, 2.6.1]
|
|
http://www.python.org/
|
|
|
|
- Simplified Wrapper Interface Generator (SWIG) [1.3.36]
|
|
http://www.swig.org/
|
|
|
|
- Unix utilities (GNU patch on Windows):
|
|
http://www.research.att.com/sw/tools/uwin/ or
|
|
http://unxutils.sourceforge.net/ or
|
|
http://www.cygwin.com/
|
|
|
|
- GCC on Linux and Mac OS X [4.0.1, 4.1.3]
|
|
Comes with your distribution
|
|
|
|
- Microsoft Visual C on Windows [Microsoft Visual C++ 2008 Express Edition]
|
|
http://msdn.microsoft.com/vstudio/express/visualc/
|
|
|
|
|
|
BUILDING
|
|
--------
|
|
|
|
Make sure all the needed tools (compiler, swig) are on the PATH.
|
|
|
|
1, Unpack the IDAPython source and IDA Pro SDK into the following
|
|
directory structure:
|
|
|
|
swigsdk-versions/5.6/ - version 5.6 of the IDA Pro SDK
|
|
idapython/ - IDAPython source code
|
|
|
|
2, On Mac OS X copy libida.dylib from the IDA install directory to
|
|
swigsdk-versions/5.6/lib/gcc32.mac/
|
|
and libida64.dylib to
|
|
swigsdk-versions/5.6/lib/gcc64.mac/
|
|
|
|
3, Build the plugin
|
|
|
|
python build.py
|
|
|
|
It is possible to build the plugin for different Python versions by
|
|
running build.py with the corresponding Python binary.
|
|
|
|
Run 'build.py --help' for more information.
|
|
|
|
4, Install the components as described in README.txt
|
|
|
|
See build.py for build details and possible tweaks.
|