superghidra 0.2.0__py3-none-any.whl
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.
Potentially problematic release.
This version of superghidra might be problematic. Click here for more details.
- apk_jni_cross_referencer.py +15 -0
- arm_thumb_decode.py +15 -0
- binary_diff_engine.py +15 -0
- binary_loader.py +15 -0
- colab_cloud_orchestrator.py +15 -0
- cross_platform_headless_harness.py +15 -0
- dependency_cache_dag.py +15 -0
- dwarf_pdb_preindexer.py +15 -0
- emulator_memory_sidecar.py +15 -0
- evidence_ledger.py +15 -0
- ghidra_extension_packager.py +15 -0
- ghidra_oracle.py +15 -0
- gpu_adrp_scanner.py +15 -0
- gpu_function_seeder.py +15 -0
- headless_analyzer_tuner.py +15 -0
- ida_flirt_bridge.py +15 -0
- ida_til_importer.py +15 -0
- live_binary_tools.py +15 -0
- mfc_archive.py +15 -0
- msvc_class_recovery.py +15 -0
- native_decompiler_pgo_builder.py +15 -0
- neural_decompiler_pipeline.py +15 -0
- pcode_lifter_bridge.py +15 -0
- resource_governor.py +15 -0
- semantic_delta_log.py +15 -0
- serialize_trace.py +15 -0
- shm_decompiler_bridge.py +15 -0
- smt_pcode_verifier.py +15 -0
- storage_compression_prototype.py +15 -0
- struct_shift_migrator.py +15 -0
- superghidra/__init__.py +279 -0
- superghidra/__main__.py +232 -0
- superghidra/acceleration/__init__.py +29 -0
- superghidra/acceleration/gpu_adrp_scanner.py +689 -0
- superghidra/acceleration/gpu_function_seeder.py +925 -0
- superghidra/core/__init__.py +112 -0
- superghidra/core/compilable_filter.py +397 -0
- superghidra/core/cross_platform_headless_harness.py +161 -0
- superghidra/core/dependency_cache_dag.py +773 -0
- superghidra/core/evidence_ledger.py +8 -0
- superghidra/core/ghidra_oracle.py +2858 -0
- superghidra/core/headless_analyzer_tuner.py +510 -0
- superghidra/core/live_binary_tools.py +947 -0
- superghidra/core/mitigation_roadmap_engine.py +788 -0
- superghidra/core/native_compiler.py +223 -0
- superghidra/core/native_decompiler_pgo_builder.py +539 -0
- superghidra/core/parity_engine.py +2323 -0
- superghidra/core/resource_governor.py +515 -0
- superghidra/core/shm_decompiler_bridge.py +1177 -0
- superghidra/diff/__init__.py +80 -0
- superghidra/diff/benchmark_and_nextgen_engine.py +1278 -0
- superghidra/diff/binary_diff_engine.py +1712 -0
- superghidra/diff/evidence_ledger.py +943 -0
- superghidra/diff/phase1_phase2_roadmap_engine.py +527 -0
- superghidra/diff/semantic_delta_log.py +1067 -0
- superghidra/diff/struct_shift_migrator.py +1393 -0
- superghidra/formats/__init__.py +72 -0
- superghidra/formats/binary_loader.py +908 -0
- superghidra/formats/dwarf_pdb_preindexer.py +2127 -0
- superghidra/formats/ida_flirt_bridge.py +356 -0
- superghidra/formats/ida_til_importer.py +347 -0
- superghidra/formats/mfc_archive.py +817 -0
- superghidra/formats/msvc_class_recovery.py +631 -0
- superghidra/formats/serialize_trace.py +1622 -0
- superghidra/formats/synthetic_symbol_exporter.py +1293 -0
- superghidra/integrations/__init__.py +74 -0
- superghidra/integrations/apk_jni_cross_referencer.py +1158 -0
- superghidra/integrations/colab_cloud_orchestrator.py +736 -0
- superghidra/integrations/d_lift_verifier.py +1096 -0
- superghidra/integrations/emulator_memory_sidecar.py +1276 -0
- superghidra/integrations/neural_decompiler_pipeline.py +705 -0
- superghidra/lifters/__init__.py +68 -0
- superghidra/lifters/arm_thumb_decode.py +1203 -0
- superghidra/lifters/egraph_mlir_pipeline.py +1596 -0
- superghidra/lifters/pcode_lifter_bridge.py +2356 -0
- superghidra/lifters/smt_pcode_verifier.py +2262 -0
- superghidra/lifters/x86_decode.py +533 -0
- superghidra/storage/__init__.py +28 -0
- superghidra/storage/ghidra_extension_packager.py +373 -0
- superghidra/storage/storage_compression_prototype.py +808 -0
- superghidra-0.2.0.dist-info/METADATA +202 -0
- superghidra-0.2.0.dist-info/RECORD +88 -0
- superghidra-0.2.0.dist-info/WHEEL +5 -0
- superghidra-0.2.0.dist-info/entry_points.txt +2 -0
- superghidra-0.2.0.dist-info/licenses/LICENSE +201 -0
- superghidra-0.2.0.dist-info/top_level.txt +33 -0
- synthetic_symbol_exporter.py +15 -0
- x86_decode.py +15 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `apk_jni_cross_referencer`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.integrations.apk_jni_cross_referencer`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.integrations import apk_jni_cross_referencer as _mod
|
|
9
|
+
from superghidra.integrations.apk_jni_cross_referencer import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.integrations.apk_jni_cross_referencer", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
arm_thumb_decode.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `arm_thumb_decode`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.lifters.arm_thumb_decode`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.lifters import arm_thumb_decode as _mod
|
|
9
|
+
from superghidra.lifters.arm_thumb_decode import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.lifters.arm_thumb_decode", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
binary_diff_engine.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `binary_diff_engine`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.diff.binary_diff_engine`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.diff import binary_diff_engine as _mod
|
|
9
|
+
from superghidra.diff.binary_diff_engine import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.diff.binary_diff_engine", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
binary_loader.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `binary_loader`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.formats.binary_loader`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.formats import binary_loader as _mod
|
|
9
|
+
from superghidra.formats.binary_loader import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.formats.binary_loader", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `colab_cloud_orchestrator`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.integrations.colab_cloud_orchestrator`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.integrations import colab_cloud_orchestrator as _mod
|
|
9
|
+
from superghidra.integrations.colab_cloud_orchestrator import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.integrations.colab_cloud_orchestrator", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `cross_platform_headless_harness`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.core.cross_platform_headless_harness`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.core import cross_platform_headless_harness as _mod
|
|
9
|
+
from superghidra.core.cross_platform_headless_harness import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.core.cross_platform_headless_harness", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
dependency_cache_dag.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `dependency_cache_dag`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.core.dependency_cache_dag`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.core import dependency_cache_dag as _mod
|
|
9
|
+
from superghidra.core.dependency_cache_dag import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.core.dependency_cache_dag", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
dwarf_pdb_preindexer.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `dwarf_pdb_preindexer`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.formats.dwarf_pdb_preindexer`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.formats import dwarf_pdb_preindexer as _mod
|
|
9
|
+
from superghidra.formats.dwarf_pdb_preindexer import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.formats.dwarf_pdb_preindexer", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `emulator_memory_sidecar`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.integrations.emulator_memory_sidecar`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.integrations import emulator_memory_sidecar as _mod
|
|
9
|
+
from superghidra.integrations.emulator_memory_sidecar import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.integrations.emulator_memory_sidecar", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
evidence_ledger.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `evidence_ledger`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.diff.evidence_ledger`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.diff import evidence_ledger as _mod
|
|
9
|
+
from superghidra.diff.evidence_ledger import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.diff.evidence_ledger", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `ghidra_extension_packager`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.storage.ghidra_extension_packager`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.storage import ghidra_extension_packager as _mod
|
|
9
|
+
from superghidra.storage.ghidra_extension_packager import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.storage.ghidra_extension_packager", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
ghidra_oracle.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `ghidra_oracle`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.core.ghidra_oracle`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.core import ghidra_oracle as _mod
|
|
9
|
+
from superghidra.core.ghidra_oracle import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.core.ghidra_oracle", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
gpu_adrp_scanner.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `gpu_adrp_scanner`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.acceleration.gpu_adrp_scanner`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.acceleration import gpu_adrp_scanner as _mod
|
|
9
|
+
from superghidra.acceleration.gpu_adrp_scanner import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.acceleration.gpu_adrp_scanner", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
gpu_function_seeder.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `gpu_function_seeder`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.acceleration.gpu_function_seeder`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.acceleration import gpu_function_seeder as _mod
|
|
9
|
+
from superghidra.acceleration.gpu_function_seeder import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.acceleration.gpu_function_seeder", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `headless_analyzer_tuner`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.core.headless_analyzer_tuner`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.core import headless_analyzer_tuner as _mod
|
|
9
|
+
from superghidra.core.headless_analyzer_tuner import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.core.headless_analyzer_tuner", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
ida_flirt_bridge.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `ida_flirt_bridge`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.formats.ida_flirt_bridge`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.formats import ida_flirt_bridge as _mod
|
|
9
|
+
from superghidra.formats.ida_flirt_bridge import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.formats.ida_flirt_bridge", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
ida_til_importer.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `ida_til_importer`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.formats.ida_til_importer`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.formats import ida_til_importer as _mod
|
|
9
|
+
from superghidra.formats.ida_til_importer import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.formats.ida_til_importer", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
live_binary_tools.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `live_binary_tools`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.core.live_binary_tools`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.core import live_binary_tools as _mod
|
|
9
|
+
from superghidra.core.live_binary_tools import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.core.live_binary_tools", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
mfc_archive.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `mfc_archive`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.formats.mfc_archive`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.formats import mfc_archive as _mod
|
|
9
|
+
from superghidra.formats.mfc_archive import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.formats.mfc_archive", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
msvc_class_recovery.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `msvc_class_recovery`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.formats.msvc_class_recovery`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.formats import msvc_class_recovery as _mod
|
|
9
|
+
from superghidra.formats.msvc_class_recovery import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.formats.msvc_class_recovery", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `native_decompiler_pgo_builder`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.core.native_decompiler_pgo_builder`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.core import native_decompiler_pgo_builder as _mod
|
|
9
|
+
from superghidra.core.native_decompiler_pgo_builder import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.core.native_decompiler_pgo_builder", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `neural_decompiler_pipeline`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.integrations.neural_decompiler_pipeline`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.integrations import neural_decompiler_pipeline as _mod
|
|
9
|
+
from superghidra.integrations.neural_decompiler_pipeline import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.integrations.neural_decompiler_pipeline", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
pcode_lifter_bridge.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `pcode_lifter_bridge`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.lifters.pcode_lifter_bridge`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.lifters import pcode_lifter_bridge as _mod
|
|
9
|
+
from superghidra.lifters.pcode_lifter_bridge import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.lifters.pcode_lifter_bridge", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
resource_governor.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `resource_governor`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.core.resource_governor`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.core import resource_governor as _mod
|
|
9
|
+
from superghidra.core.resource_governor import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.core.resource_governor", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
semantic_delta_log.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `semantic_delta_log`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.diff.semantic_delta_log`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.diff import semantic_delta_log as _mod
|
|
9
|
+
from superghidra.diff.semantic_delta_log import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.diff.semantic_delta_log", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
serialize_trace.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `serialize_trace`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.formats.serialize_trace`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.formats import serialize_trace as _mod
|
|
9
|
+
from superghidra.formats.serialize_trace import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.formats.serialize_trace", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
shm_decompiler_bridge.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `shm_decompiler_bridge`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.core.shm_decompiler_bridge`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.core import shm_decompiler_bridge as _mod
|
|
9
|
+
from superghidra.core.shm_decompiler_bridge import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.core.shm_decompiler_bridge", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
smt_pcode_verifier.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `smt_pcode_verifier`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.lifters.smt_pcode_verifier`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.lifters import smt_pcode_verifier as _mod
|
|
9
|
+
from superghidra.lifters.smt_pcode_verifier import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.lifters.smt_pcode_verifier", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `storage_compression_prototype`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.storage.storage_compression_prototype`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.storage import storage_compression_prototype as _mod
|
|
9
|
+
from superghidra.storage.storage_compression_prototype import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.storage.storage_compression_prototype", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|
struct_shift_migrator.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Backward-compatibility shim for `struct_shift_migrator`.
|
|
2
|
+
|
|
3
|
+
Canonical location: `superghidra.diff.struct_shift_migrator`.
|
|
4
|
+
"""
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys as _sys
|
|
8
|
+
from superghidra.diff import struct_shift_migrator as _mod
|
|
9
|
+
from superghidra.diff.struct_shift_migrator import * # noqa: F401,F403
|
|
10
|
+
|
|
11
|
+
if __name__ == "__main__":
|
|
12
|
+
import runpy as _runpy
|
|
13
|
+
_runpy.run_module("superghidra.diff.struct_shift_migrator", run_name="__main__", alter_sys=True)
|
|
14
|
+
else:
|
|
15
|
+
_sys.modules[__name__] = _mod
|