Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.61 KB

File metadata and controls

36 lines (27 loc) · 1.61 KB

Summary of Changes - Ghidra TCP Server Enhancement

New Features Implemented

1. Bookmark Management

  • BOOKMARK-SET <name> <location> - Sets a bookmark at specified function or address
  • BOOKMARK-GOTO <name> - Navigates to a bookmark and returns function info
  • BOOKMARK-LIST - Lists all bookmarks with addresses and function names

2. Note-Taking Functionality

  • NOTE-ADD <addr> <text> - Adds a note at the specified address
  • NOTE-LIST - Lists all notes with addresses and function names
  • NOTE-SEARCH <text> - Searches notes by text content

3. Location Tracking

  • LOCATION-GET - Gets current location information
  • LOCATION-SAVE <name> - Saves current location with a name

4. Enhanced Decompilation

  • DECOMPILE-CFG <func_name> - Decompiles function with Control Flow Graph info
  • DECOMPILE-CONTEXT <func_name> - Decompiles function with additional context info

Files Created/Modified

  1. src/python/ghidra_tcp_server_enhanced_nav.py - New server file with all features
  2. test_navigation_features.py - Test script for the new features
  3. ROADMAP.md - Updated to reflect completed Phase 1 work
  4. TASKS.md - Updated individual tasks to show completed items

Implementation Details

  • All new commands are integrated into the existing command handling system
  • Bookmarks and notes are stored in memory during server runtime
  • Location tracking uses Ghidra's address and function management APIs
  • Enhanced decompilation provides additional context like basic blocks, parameters, local variables, and cross-references
  • All features follow the existing codebase patterns and conventions