11 lines
348 B
Python
11 lines
348 B
Python
|
|
import sys
|
||
|
|
|
||
|
|
sys.path.insert(0, r"k:\mcp\GhidraMCP")
|
||
|
|
import bridge_mcp_ghidra as bridge
|
||
|
|
|
||
|
|
|
||
|
|
for address in ["1180:000f", "1180:00a8", "1130:3038", "1130:31cc", "1130:3269", "12d0:0516", "12d0:0668"]:
|
||
|
|
print(f"=== {address} ===")
|
||
|
|
print(bridge.get_function_containing(address))
|
||
|
|
print(bridge.decompile_function_by_address(address))
|
||
|
|
print()
|