idapro 0.0.3.dev1__tar.gz → 0.0.4__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.
Files changed (67) hide show
  1. {idapro-0.0.3.dev1 → idapro-0.0.4}/PKG-INFO +10 -14
  2. {idapro-0.0.3.dev1 → idapro-0.0.4}/idapro/__init__.py +1 -1
  3. idapro-0.0.4/idapro/py.typed +0 -0
  4. idapro-0.0.4/idapro/stubs/ida_allins.pyi +21491 -0
  5. idapro-0.0.4/idapro/stubs/ida_api.pyi +34096 -0
  6. idapro-0.0.4/idapro/stubs/ida_auto.pyi +311 -0
  7. idapro-0.0.4/idapro/stubs/ida_bitrange.pyi +158 -0
  8. idapro-0.0.4/idapro/stubs/ida_bytes.pyi +2637 -0
  9. idapro-0.0.4/idapro/stubs/ida_dbg.pyi +2398 -0
  10. idapro-0.0.4/idapro/stubs/ida_dirtree.pyi +952 -0
  11. idapro-0.0.4/idapro/stubs/ida_diskio.pyi +409 -0
  12. idapro-0.0.4/idapro/stubs/ida_entry.pyi +124 -0
  13. idapro-0.0.4/idapro/stubs/ida_expr.pyi +697 -0
  14. idapro-0.0.4/idapro/stubs/ida_fixup.pyi +355 -0
  15. idapro-0.0.4/idapro/stubs/ida_fpro.pyi +192 -0
  16. idapro-0.0.4/idapro/stubs/ida_frame.pyi +772 -0
  17. idapro-0.0.4/idapro/stubs/ida_funcs.pyi +1472 -0
  18. idapro-0.0.4/idapro/stubs/ida_gdl.pyi +878 -0
  19. idapro-0.0.4/idapro/stubs/ida_graph.pyi +2856 -0
  20. idapro-0.0.4/idapro/stubs/ida_hexrays.pyi +17971 -0
  21. idapro-0.0.4/idapro/stubs/ida_ida.pyi +1707 -0
  22. idapro-0.0.4/idapro/stubs/ida_idaapi.pyi +1573 -0
  23. idapro-0.0.4/idapro/stubs/ida_idc.pyi +53 -0
  24. idapro-0.0.4/idapro/stubs/ida_idd.pyi +2562 -0
  25. idapro-0.0.4/idapro/stubs/ida_idp.pyi +3570 -0
  26. idapro-0.0.4/idapro/stubs/ida_ieee.pyi +278 -0
  27. idapro-0.0.4/idapro/stubs/ida_kernwin.pyi +8279 -0
  28. idapro-0.0.4/idapro/stubs/ida_libfuncs.pyi +171 -0
  29. idapro-0.0.4/idapro/stubs/ida_lines.pyi +355 -0
  30. idapro-0.0.4/idapro/stubs/ida_loader.pyi +760 -0
  31. idapro-0.0.4/idapro/stubs/ida_merge.pyi +776 -0
  32. idapro-0.0.4/idapro/stubs/ida_mergemod.pyi +87 -0
  33. idapro-0.0.4/idapro/stubs/ida_moves.pyi +685 -0
  34. idapro-0.0.4/idapro/stubs/ida_nalt.pyi +1590 -0
  35. idapro-0.0.4/idapro/stubs/ida_name.pyi +719 -0
  36. idapro-0.0.4/idapro/stubs/ida_netnode.pyi +287 -0
  37. idapro-0.0.4/idapro/stubs/ida_offset.pyi +194 -0
  38. idapro-0.0.4/idapro/stubs/ida_pro.pyi +3507 -0
  39. idapro-0.0.4/idapro/stubs/ida_problems.pyi +117 -0
  40. idapro-0.0.4/idapro/stubs/ida_range.pyi +621 -0
  41. idapro-0.0.4/idapro/stubs/ida_regfinder.pyi +552 -0
  42. idapro-0.0.4/idapro/stubs/ida_registry.pyi +202 -0
  43. idapro-0.0.4/idapro/stubs/ida_search.pyi +92 -0
  44. idapro-0.0.4/idapro/stubs/ida_segment.pyi +903 -0
  45. idapro-0.0.4/idapro/stubs/ida_segregs.pyi +263 -0
  46. idapro-0.0.4/idapro/stubs/ida_srclang.pyi +100 -0
  47. idapro-0.0.4/idapro/stubs/ida_strlist.pyi +204 -0
  48. idapro-0.0.4/idapro/stubs/ida_tryblks.pyi +634 -0
  49. idapro-0.0.4/idapro/stubs/ida_typeinf.pyi +7441 -0
  50. idapro-0.0.4/idapro/stubs/ida_ua.pyi +1257 -0
  51. idapro-0.0.4/idapro/stubs/ida_undo.pyi +79 -0
  52. idapro-0.0.4/idapro/stubs/ida_xref.pyi +486 -0
  53. idapro-0.0.4/idapro/stubs/idaapi.pyi +90764 -0
  54. idapro-0.0.4/idapro/stubs/idadex.pyi +756 -0
  55. idapro-0.0.4/idapro/stubs/idautils.pyi +486 -0
  56. idapro-0.0.4/idapro/stubs/idc.pyi +5159 -0
  57. {idapro-0.0.3.dev1 → idapro-0.0.4}/idapro.egg-info/PKG-INFO +10 -14
  58. idapro-0.0.4/idapro.egg-info/SOURCES.txt +64 -0
  59. {idapro-0.0.3.dev1 → idapro-0.0.4}/setup.py +93 -18
  60. idapro-0.0.3.dev1/idapro.egg-info/SOURCES.txt +0 -10
  61. {idapro-0.0.3.dev1 → idapro-0.0.4}/LICENSE +0 -0
  62. {idapro-0.0.3.dev1 → idapro-0.0.4}/README.md +0 -0
  63. {idapro-0.0.3.dev1 → idapro-0.0.4}/idapro/config.py +0 -0
  64. {idapro-0.0.3.dev1 → idapro-0.0.4}/idapro.egg-info/dependency_links.txt +0 -0
  65. {idapro-0.0.3.dev1 → idapro-0.0.4}/idapro.egg-info/not-zip-safe +0 -0
  66. {idapro-0.0.3.dev1 → idapro-0.0.4}/idapro.egg-info/top_level.txt +0 -0
  67. {idapro-0.0.3.dev1 → idapro-0.0.4}/setup.cfg +0 -0
@@ -1,11 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: idapro
3
- Version: 0.0.3.dev1
3
+ Version: 0.0.4
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,17 +24,10 @@ 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
-
32
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.
33
28
 
34
-
35
29
  ## Prerequisites
36
-
37
30
  ### Environment Setup
38
-
39
31
  Set the `IDADIR` environment variable to point to your IDA installation directory:
40
32
 
41
33
  **Linux/macOS:**
@@ -56,7 +48,6 @@ set IDADIR="C:\Program Files\IDA Pro 9.1"
56
48
  > **Note:** If you have already installed and configured the `idapro` Python package in the past using script provided with IDA installation package, setting `IDADIR` is not required.
57
49
 
58
50
  ## Usage example:
59
-
60
51
  ```python
61
52
  #!/usr/bin/env python3
62
53
  """
@@ -192,10 +183,13 @@ if idapro.open_database(args.input_file, True) == 0:
192
183
  idapro.close_database(False)
193
184
  ```
194
185
 
195
- ## Troubleshooting
186
+ ## Type Hints
187
+ This package automatically installs type stubs for all IDA Python modules, providing IDE support with autocompletion and type checking for IDA Python modules
196
188
 
197
- ### Common Issues
189
+ Type hints are installed automatically during package installation!
198
190
 
191
+ ## Troubleshooting
192
+ ### Common Issues
199
193
  **ModuleNotFoundError: No module named 'idapro'**
200
194
  - Ensure `IDADIR` is set correctly
201
195
  - Verify IDA Pro is properly installed
@@ -204,10 +198,12 @@ if idapro.open_database(args.input_file, True) == 0:
204
198
  - Ensure you have a valid IDA Pro license
205
199
  - Check that IDA can run normally in GUI mode first
206
200
 
207
- ## API Reference
201
+ **Type hints not working**
202
+ - Restart your IDE after installation
203
+ - Check that .pyi files exist in your site-packages directory
208
204
 
205
+ ## API Reference
209
206
  For detailed API documentation, refer to:
210
207
  - IDA Python documentation at https://python.docs.hex-rays.com/
211
208
  - Built-in help: `help(idapro)` after importing
212
209
  - IDA Pro SDK documentation https://docs.hex-rays.com/developer-guide/c++-sdk
213
-
@@ -50,7 +50,7 @@ if platform_str == "Windows":
50
50
 
51
51
  idalib_path = find_file(name=name, path=root_dir)
52
52
  if idalib_path is None:
53
- raise ImportError(f"Could not find {name} in {root_dir}. Please make sure you have an IDA version 9.0 or newer and run py-activate-idalib.py utility shipped with it in order to activate this module.")
53
+ raise ImportError(f"Could not find {name} in {root_dir}. 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.")
54
54
 
55
55
  if "IDA_IS_INTERACTIVE" in os.environ:
56
56
  if os.environ["IDA_IS_INTERACTIVE"] == "1":
File without changes