more work done
This commit is contained in:
parent
5cc5612f4e
commit
d323bb28fc
68 changed files with 714 additions and 19 deletions
23
scripts/_tmp_probe_cache_backend_object_callee.py
Normal file
23
scripts/_tmp_probe_cache_backend_object_callee.py
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import sys
|
||||
sys.path.insert(0, r"k:\mcp\GhidraMCP")
|
||||
import bridge_mcp_ghidra as bridge
|
||||
|
||||
for address in ["1250:0000", "1250:0001"]:
|
||||
print(f"=== {address} ===")
|
||||
print(bridge.get_function_containing(address))
|
||||
print(bridge.decompile_function_by_address(address))
|
||||
print()
|
||||
|
||||
for address in ["1250:026c", "1250:0749"]:
|
||||
print(f"=== helper {address} ===")
|
||||
print(bridge.get_function_containing(address))
|
||||
print(bridge.decompile_function_by_address(address))
|
||||
print(bridge.get_xrefs_to(address))
|
||||
print()
|
||||
|
||||
for address in ["1250:0910"]:
|
||||
print(f"=== helper {address} ===")
|
||||
print(bridge.get_function_containing(address))
|
||||
print(bridge.decompile_function_by_address(address))
|
||||
print(bridge.get_xrefs_to(address))
|
||||
print()
|
||||
Loading…
Add table
Add a link
Reference in a new issue