list_functions
Extract function names from a loaded binary to identify executable components for reverse-engineering analysis.
Instructions
List all function names from the loaded binary.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- main.py:67-72 (handler)The core handler function for the 'list_functions' tool. It checks if the Ghidra context is ready and returns a list of function names from the loaded binary context.@mcp.tool() async def list_functions() -> list[str]: """List all function 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("functions", [])]