30 lines
587 B
Python
30 lines
587 B
Python
from pathlib import Path
|
|
import sys
|
|
|
|
sys.path.insert(0, r"k:\mcp\GhidraMCP")
|
|
import bridge_mcp_ghidra as bridge
|
|
|
|
ADDRESSES = [
|
|
"11e0:14fb",
|
|
"11e0:1814",
|
|
"11e0:1913",
|
|
"11e0:19e6",
|
|
"11e0:1a33",
|
|
"11e0:2000",
|
|
"11e0:21a3",
|
|
"11e0:21ec",
|
|
"11e0:2238",
|
|
"11e0:22ab",
|
|
"11e0:23af",
|
|
"11e0:24ea",
|
|
"11e0:251b",
|
|
"11e0:25a1",
|
|
]
|
|
|
|
for address in ADDRESSES:
|
|
print(f"=== {address} ===")
|
|
try:
|
|
print(bridge.get_function_containing(address))
|
|
except Exception as exc:
|
|
print(f"get_function_containing failed: {exc}")
|
|
print()
|