idapro 0.0.4.dev1__tar.gz → 0.0.5__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 (66) hide show
  1. {idapro-0.0.4.dev1 → idapro-0.0.5}/PKG-INFO +1 -5
  2. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/__init__.py +5 -1
  3. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro.egg-info/PKG-INFO +1 -5
  4. {idapro-0.0.4.dev1 → idapro-0.0.5}/setup.py +1 -4
  5. {idapro-0.0.4.dev1 → idapro-0.0.5}/LICENSE +0 -0
  6. {idapro-0.0.4.dev1 → idapro-0.0.5}/README.md +0 -0
  7. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/config.py +0 -0
  8. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/py.typed +0 -0
  9. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_allins.pyi +0 -0
  10. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_api.pyi +0 -0
  11. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_auto.pyi +0 -0
  12. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_bitrange.pyi +0 -0
  13. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_bytes.pyi +0 -0
  14. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_dbg.pyi +0 -0
  15. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_dirtree.pyi +0 -0
  16. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_diskio.pyi +0 -0
  17. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_entry.pyi +0 -0
  18. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_expr.pyi +0 -0
  19. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_fixup.pyi +0 -0
  20. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_fpro.pyi +0 -0
  21. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_frame.pyi +0 -0
  22. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_funcs.pyi +0 -0
  23. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_gdl.pyi +0 -0
  24. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_graph.pyi +0 -0
  25. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_hexrays.pyi +0 -0
  26. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_ida.pyi +0 -0
  27. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_idaapi.pyi +0 -0
  28. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_idc.pyi +0 -0
  29. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_idd.pyi +0 -0
  30. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_idp.pyi +0 -0
  31. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_ieee.pyi +0 -0
  32. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_kernwin.pyi +0 -0
  33. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_libfuncs.pyi +0 -0
  34. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_lines.pyi +0 -0
  35. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_loader.pyi +0 -0
  36. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_merge.pyi +0 -0
  37. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_mergemod.pyi +0 -0
  38. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_moves.pyi +0 -0
  39. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_nalt.pyi +0 -0
  40. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_name.pyi +0 -0
  41. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_netnode.pyi +0 -0
  42. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_offset.pyi +0 -0
  43. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_pro.pyi +0 -0
  44. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_problems.pyi +0 -0
  45. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_range.pyi +0 -0
  46. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_regfinder.pyi +0 -0
  47. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_registry.pyi +0 -0
  48. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_search.pyi +0 -0
  49. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_segment.pyi +0 -0
  50. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_segregs.pyi +0 -0
  51. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_srclang.pyi +0 -0
  52. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_strlist.pyi +0 -0
  53. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_tryblks.pyi +0 -0
  54. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_typeinf.pyi +0 -0
  55. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_ua.pyi +0 -0
  56. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_undo.pyi +0 -0
  57. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/ida_xref.pyi +0 -0
  58. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/idaapi.pyi +0 -0
  59. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/idadex.pyi +0 -0
  60. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/idautils.pyi +0 -0
  61. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro/stubs/idc.pyi +0 -0
  62. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro.egg-info/SOURCES.txt +0 -0
  63. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro.egg-info/dependency_links.txt +0 -0
  64. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro.egg-info/not-zip-safe +0 -0
  65. {idapro-0.0.4.dev1 → idapro-0.0.5}/idapro.egg-info/top_level.txt +0 -0
  66. {idapro-0.0.4.dev1 → idapro-0.0.5}/setup.cfg +0 -0
@@ -1,11 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: idapro
3
- Version: 0.0.4.dev1
3
+ Version: 0.0.5
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
@@ -2,6 +2,7 @@ from __future__ import annotations
2
2
  import sys
3
3
  import platform
4
4
  from pathlib import Path
5
+ from typing import Optional
5
6
  import ctypes
6
7
  import os
7
8
  from .config import get_ida_install_dir
@@ -76,12 +77,15 @@ if error_description != None:
76
77
  sys.path.append(str(Path(idalib_path).parent / "python/lib-dynload"))
77
78
  sys.path.append(str(Path(idalib_path).parent / "python"))
78
79
 
79
- def open_database(file_name:str, run_auto_analysis: bool, args: str = None)->int:
80
+ def open_database(file_name:str, run_auto_analysis: bool, args: Optional[str] = None, enable_history: bool = False)->int:
80
81
  """Opens the database specified by the file_name argument.
81
82
  If run_auto_analysis is set to True, the auto-analysis will start and wait for its completion.
83
+ If enable_history is set to True, update the file history list; the default within idalib is not to update it.
82
84
  Optionally, additional arguments can be provided via args parameter, which follow the same format as IDA's command-line arguments.
83
85
  NOTE: All library functions must be called from the same thread that initialized the library.
84
86
  The library is single-threaded, and performing database operations from a different thread may result in undefined behavior."""
87
+ if enable_history:
88
+ args = (args or "") + " -Oidalib:enable_history"
85
89
  return libida.open_database(file_name.encode(), run_auto_analysis, args.encode() if args is not None else None)
86
90
 
87
91
  def close_database(save = True)->None:
@@ -1,11 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: idapro
3
- Version: 0.0.4.dev1
3
+ Version: 0.0.5
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.4.dev1",
77
+ version="0.0.5",
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