list_function_definitions
Extract function names from binary files to analyze program structure and identify key routines during reverse engineering.
Instructions
List all function definition names from the loaded binary.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- main.py:118-123 (handler)Handler function for the 'list_function_definitions' MCP tool. Decorated with @mcp.tool() for automatic registration. Returns list of function definition names from the loaded Ghidra binary context.@mcp.tool() async def list_function_definitions() -> list[str]: """List all function definition names from the loaded binary.""" if not ctx_ready: return ["❌ Context not ready. Run `setup_context()` first."] return [f["name"] for f in ctx.get("data_types", {}).get("function_definitions", [])]