- Introduced a new command 'annotate-usecode' to import USECODE IR JSON annotation hints as Ghidra comments on compiled anchors. - Added argument parsing for multiple IR JSON files, comment type selection, and a dry-run option. - Implemented logic to read annotation records from the provided IR files and set comments on the corresponding addresses in Ghidra. - Enhanced JSON schema to include response structure for the new command.
5 lines
343 B
Text
5 lines
343 B
Text
segment=39 file_base=0x6E200 length=0x3416 reloc_table=0x71616 entries=0x145
|
|
exact_matches=1
|
|
EXACT index=234 entry_file_off=0x71D68 addr_type=0x03 rel_type=0x00 chain_off=0x2B79 target_seg=92 target_off=0x0476
|
|
nearby_matches=1
|
|
NEAR index=234 entry_file_off=0x71D68 addr_type=0x03 rel_type=0x00 chain_off=0x2B79 target_seg=92 target_off=0x0476
|