idapro 0.0.7.dev1__tar.gz → 0.0.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {idapro-0.0.7.dev1 → idapro-0.0.8}/PKG-INFO +1 -5
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/__init__.py +10 -4
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro.egg-info/PKG-INFO +1 -5
- {idapro-0.0.7.dev1 → idapro-0.0.8}/setup.py +1 -4
- {idapro-0.0.7.dev1 → idapro-0.0.8}/LICENSE +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/README.md +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/config.py +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/py.typed +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_allins.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_auto.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_bitrange.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_bytes.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_dbg.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_dirtree.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_diskio.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_entry.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_expr.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_fixup.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_fpro.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_frame.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_funcs.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_gdl.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_graph.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_hexrays.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_ida.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_idaapi.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_idc.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_idd.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_idp.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_ieee.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_kernwin.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_libfuncs.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_lines.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_loader.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_merge.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_mergemod.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_moves.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_nalt.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_name.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_netnode.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_offset.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_pro.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_problems.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_range.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_regfinder.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_registry.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_search.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_segment.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_segregs.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_srclang.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_strlist.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_tryblks.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_typeinf.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_ua.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_undo.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/ida_xref.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/idaapi.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/idadex.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/idautils.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro/stubs/idc.pyi +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro.egg-info/SOURCES.txt +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro.egg-info/dependency_links.txt +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro.egg-info/not-zip-safe +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/idapro.egg-info/top_level.txt +0 -0
- {idapro-0.0.7.dev1 → idapro-0.0.8}/setup.cfg +0 -0
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: idapro
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.8
|
|
4
4
|
Summary: IDA Library Python module
|
|
5
5
|
Author: Hex-Rays SA
|
|
6
6
|
Author-email: support@hex-rays.com
|
|
7
7
|
License: MIT
|
|
8
|
-
Classifier: Development Status :: 2 - Pre-Alpha
|
|
9
8
|
Classifier: License :: OSI Approved :: MIT License
|
|
10
9
|
Classifier: Programming Language :: Python :: 3
|
|
11
10
|
Classifier: Operating System :: OS Independent
|
|
@@ -25,9 +24,6 @@ Dynamic: summary
|
|
|
25
24
|
|
|
26
25
|
|
|
27
26
|
# IDA Library Python Module
|
|
28
|
-
|
|
29
|
-
**⚠️ This is a dev pre-release version. APIs may change without notice and pre-release versions may be deleted at any time.**
|
|
30
|
-
|
|
31
27
|
The IDA Library Python module enables running IDA Pro as an independent Python package outside the IDA UI environment, allowing for programmatic binary analysis and reverse engineering tasks.
|
|
32
28
|
|
|
33
29
|
## Prerequisites
|
|
@@ -5,6 +5,16 @@ from pathlib import Path
|
|
|
5
5
|
from typing import Optional
|
|
6
6
|
import ctypes
|
|
7
7
|
import os
|
|
8
|
+
|
|
9
|
+
# Detect if we are already running inside IDAPython (inside IDA itself).
|
|
10
|
+
# IDAPython sets IDAPYTHON_VERSION in __main__'s globals during its C++
|
|
11
|
+
# init (idapython.cpp), before any user script runs. This is a reliable
|
|
12
|
+
# signal that we are hosted inside IDA — it is never present in a
|
|
13
|
+
# standalone idalib Python process.
|
|
14
|
+
_main = sys.modules.get("__main__")
|
|
15
|
+
if _main is not None and getattr(_main, "IDAPYTHON_VERSION", None) is not None:
|
|
16
|
+
raise ImportError("The IDA library can only be run in a separate process and cannot be loaded within IDA itself.")
|
|
17
|
+
|
|
8
18
|
from .config import get_ida_install_dir
|
|
9
19
|
|
|
10
20
|
def find_file(name, path):
|
|
@@ -32,10 +42,6 @@ idalib_path = find_file(name=name, path=root_dir) if root_dir else None
|
|
|
32
42
|
if idalib_path is None:
|
|
33
43
|
raise ImportError(f"Cannot load IDA library file {name}. Please make sure you are using IDA version 9.0 or newer and the IDADIR environment variable is set and points to the active IDA installation.")
|
|
34
44
|
|
|
35
|
-
if "IDA_IS_INTERACTIVE" in os.environ:
|
|
36
|
-
if os.environ["IDA_IS_INTERACTIVE"] == "1":
|
|
37
|
-
raise ImportError("The IDA library can only be run in a separate process and cannot be loaded within IDA itself.")
|
|
38
|
-
|
|
39
45
|
# load the library and initialize the kernel
|
|
40
46
|
try:
|
|
41
47
|
if platform_str == "Windows":
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: idapro
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.8
|
|
4
4
|
Summary: IDA Library Python module
|
|
5
5
|
Author: Hex-Rays SA
|
|
6
6
|
Author-email: support@hex-rays.com
|
|
7
7
|
License: MIT
|
|
8
|
-
Classifier: Development Status :: 2 - Pre-Alpha
|
|
9
8
|
Classifier: License :: OSI Approved :: MIT License
|
|
10
9
|
Classifier: Programming Language :: Python :: 3
|
|
11
10
|
Classifier: Operating System :: OS Independent
|
|
@@ -25,9 +24,6 @@ Dynamic: summary
|
|
|
25
24
|
|
|
26
25
|
|
|
27
26
|
# IDA Library Python Module
|
|
28
|
-
|
|
29
|
-
**⚠️ This is a dev pre-release version. APIs may change without notice and pre-release versions may be deleted at any time.**
|
|
30
|
-
|
|
31
27
|
The IDA Library Python module enables running IDA Pro as an independent Python package outside the IDA UI environment, allowing for programmatic binary analysis and reverse engineering tasks.
|
|
32
28
|
|
|
33
29
|
## Prerequisites
|
|
@@ -74,14 +74,12 @@ example_code = "#!/usr/bin/env python3\n\"\"\"\nIDA Pro Python Library Usage Exa
|
|
|
74
74
|
|
|
75
75
|
setup(
|
|
76
76
|
name="idapro",
|
|
77
|
-
version="0.0.
|
|
77
|
+
version="0.0.8",
|
|
78
78
|
author="Hex-Rays SA",
|
|
79
79
|
author_email="support@hex-rays.com",
|
|
80
80
|
description="IDA Library Python module",
|
|
81
81
|
long_description=f"""
|
|
82
82
|
# IDA Library Python Module
|
|
83
|
-
\n**⚠️ This is a dev pre-release version. APIs may change without notice and pre-release versions may be deleted at any time.**
|
|
84
|
-
|
|
85
83
|
The IDA Library Python module enables running IDA Pro as an independent Python package outside the IDA UI environment, allowing for programmatic binary analysis and reverse engineering tasks.
|
|
86
84
|
|
|
87
85
|
## Prerequisites
|
|
@@ -138,7 +136,6 @@ For detailed API documentation, refer to:
|
|
|
138
136
|
long_description_content_type="text/markdown",
|
|
139
137
|
license="MIT",
|
|
140
138
|
classifiers=[
|
|
141
|
-
"Development Status :: 2 - Pre-Alpha",
|
|
142
139
|
"License :: OSI Approved :: MIT License",
|
|
143
140
|
"Programming Language :: Python :: 3",
|
|
144
141
|
"Operating System :: OS Independent",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|