14 lines
494 B
Python
14 lines
494 B
Python
|
|
import sys
|
||
|
|
|
||
|
|
sys.path.insert(0, r"k:\mcp\GhidraMCP")
|
||
|
|
import bridge_mcp_ghidra as bridge
|
||
|
|
|
||
|
|
|
||
|
|
print(bridge.rename_function_by_address("1288:0fc3", "allocator_phase_finalize_pass"))
|
||
|
|
print(
|
||
|
|
bridge.set_decompiler_comment(
|
||
|
|
"1288:0fc3",
|
||
|
|
"Live re-anchor for raw 0009:b1c3. Calls PresentationCallbackBroker vtable slot +0x08 twice through the installed 0x4588 broker pointer, then sweeps allocator heads for finalize cleanup.",
|
||
|
|
)
|
||
|
|
)
|
||
|
|
print(bridge.get_function_by_address("1288:0fc3"))
|