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

Commit af978e7

Browse files
author
Arnaud Diederen
committed
IDAPython for IDA 9.1
1 parent ae62cd4 commit af978e7

348 files changed

Lines changed: 62054 additions & 180280 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.

PyQt5-shims/QtCore.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from PySide6.QtCore import *

PyQt5-shims/QtGui.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from PySide6.QtGui import *

PyQt5-shims/QtWidgets.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from PySide6.QtWidgets import *

PyQt5-shims/__init__.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
print("#" * 70)
2+
print("""# Please note that IDA is now using Qt 6, and PyQt5
3+
# support will be dropped eventually.
4+
# It is recommended to port your scripts/plugins to PySide6
5+
# as soon as possible.
6+
# Essentially, that means rewriting statement such as:
7+
#
8+
# import PyQt5
9+
# import PyQt5.QtWidgets
10+
# from PyQt5.QtGui import QGuiApplication
11+
#
12+
# into:
13+
#
14+
# import PySide6
15+
# import PySide6.QtWidgets
16+
# from PySide6.QtGui import QGuiApplication""")
17+
print("#" * 70)

PyQt5-shims/sip.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Placeholder

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Latest stable versions of IDAPython are available from
1515
## Resources
1616

1717
The full function cross-reference is readable online at
18-
https://www.hex-rays.com/products/ida/support/idapython_docs/
18+
https://python.docs.hex-rays.com
1919

2020
Mailing list for the project is hosted by Google Groups at
2121
https://groups.google.com/g/idapython

README_python3.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,3 @@ please run `idapyswitch` from the IDA directory. It will scan for Python
1313
installs present in the system's standard locations and offer you to choose one.
1414
It also supports optional command-line switches to handle non-standard installs.
1515
Run `idapyswitch -h` to see them.
16-
17-
On Windows, you may need to run it as administrator
18-
so it can patch sip.pyd (library required for PyQt bindings).
19-
20-

STATUS.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ dbg.hpp - INCOMPLETE (SWIGs and lot of fixing to do)
2121
demangle.hpp - EXCLUDED
2222
diskio.hpp - INCOMPLETE (no SWIGs, some unwrapped)
2323
entry.hpp - COMPLETE
24-
enum.hpp - COMPLETE
2524
err.h - EXCLUDED
2625
exehdr.h - EXCLUDED
2726
expr.hpp - COMPLETE (necessary SWIGs)
@@ -57,7 +56,6 @@ segment.hpp - COMPLETE
5756
sistack.hpp - EXCLUDED
5857
segregs.hpp - INCOMPLETE (not wrapped at all)
5958
strlist.hpp - COMPLETE
60-
struct.hpp - COMPLETE
6159
typeinf.hpp - INCOMPLETE (no SWIGs, lot of fixing to do)
6260
ua.hpp - INCOMPLETE (SWIGs and lot of fixing to do)
6361
va.hpp - EXCLUDED

Scripts/CallStackWalk.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
Run the application with the debugger, suspend the debugger, select a thread and finally run the script.
66
7-
Copyright (c) 1990-2024 Hex-Rays
7+
Copyright (c) 1990-2025 Hex-Rays
88
ALL RIGHTS RESERVED.
99
"""
1010
import ida_ua
@@ -169,7 +169,7 @@ def main():
169169
return
170170

171171
# get all debug namesp
172-
dn = ida_name.get_debug_names(ida_ida.cvar.inf.min_ea, ida_ida.cvar.inf.max_ea)
172+
dn = ida_name.get_debug_names(ida_ida.inf_get_min_ea(), ida_ida.inf_get_max_ea())
173173
# initiate a nearest name search (using debug names)
174174
nn = ida_name.NearestName(dn)
175175

Scripts/DrvsDispatch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
A script to demonstrate how to send commands to the debugger and then parse and use the output in IDA
44
5-
Copyright (c) 1990-2024 Hex-Rays
5+
Copyright (c) 1990-2025 Hex-Rays
66
ALL RIGHTS RESERVED.
77
88
"""

0 commit comments

Comments
 (0)