Add 'annotate-usecode' command to import USECODE IR JSON annotations
- 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.
This commit is contained in:
parent
4d3c8cd81b
commit
daa363c3d2
39 changed files with 41450 additions and 871 deletions
5
reloc_report.txt
Normal file
5
reloc_report.txt
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue