Skip to content
This repository was archived by the owner on Dec 24, 2025. It is now read-only.

Commit 023c5ba

Browse files
Arnaud DiederenArnaud Diederen
authored andcommitted
IDAPython for IDA 8.0
1 parent 1e0b352 commit 023c5ba

108 files changed

Lines changed: 38875 additions & 33580 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

BUILDING.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@ REQUIREMENTS
1313
- IDA and IDA SDK [> 5.6]
1414
http://www.hex-rays.com/idapro/
1515

16-
- Python [2.5.1, 2.6.1, 2.7]
16+
- Python 3.x
1717
http://www.python.org/
1818

1919
- Simplified Wrapper Interface Generator (SWIG)
20-
- if you intend to build for Python 2.x: [4.0.1]
2120
- if you intend to build for Python 3.x: [4.0.1, with support for -py3-limited-api]
2221

2322
Hex-Rays cannot guarantee support for IDAPython

README_python3.txt

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,6 @@
1+
IDAPython requires a Python3.x installation in order to work.
12

2-
IDAPython comes in two flavors:
3-
4-
* IDAPython-for-Python2.7
5-
* IDAPython-for-Python3.x
6-
7-
# Switching between IDAPython-for-Python2.7, and IDAPython-for-Python3.x.
8-
9-
IDA ships with two versions of IDAPython:
10-
* one that runs using the Python2.7 runtime
11-
* one that runs using the Python3.x runtime
12-
13-
By default, IDA will load the one that runs using the Python3.x runtime.
14-
In order to have IDA use IDAPython-on-Python2.7, the file
15-
'use_python2' needs to be present in the 'python' subdirectory.
16-
17-
That file will be looked for in the following places:
18-
* IDA's install path: path/to/ida_install/python/use_python2
19-
* The 'IDAUSR' directory:
20-
+ ~/.idapro/python/use_python2 (on Linux/OSX)
21-
+ %APPDATA%\Hex-Rays\IDA Pro\python\use_python2 (on Windows)
22-
+ [...or any other directory if the environment variable $IDAUSR is set]
23-
24-
# Selecting which Python3.x install runtime to use
25-
26-
The situation for IDAPython-for-Python2.7 is simple: it uses Python 2.7,
27-
and will expect that [lib]python2.7.[dll|so|dylib] is present in the system
28-
library path so that IDA can find it.
29-
30-
But when it comes to IDAPython-for-Python3.x, things gets more complex:
31-
because different users might have different (and possibly multiple)
3+
Because different users might have different (and possibly multiple)
324
versions of Python3.x installed, IDA comes with a tool called `idapyswitch`
335
that can be run to select the desired Python3.x runtime.
346

0 commit comments

Comments
 (0)