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