get_function_pseudocode
Get decompiled C-like pseudocode for function
How to use it
get_function_pseudocode is exposed by the Binja Lattice MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get_function_pseudocode tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Binja Lattice MCP
pip install -r requirements.txtOther tools in Binja Lattice MCP (24)
Add comment at address
Add comment to function
Create a new struct type with JSON member definitions
Create tag at address with type and optional description
List all function names in the binary
Get Binary Ninja analysis status and progress percentage
Get metadata about the binary (filename, architecture, entry point, segments, sections, function count)
Get callers and callees of function with configurable depth
List functions that call the specified function
Read bytes at address with optional type interpretation
List exported functions with addresses
Get assembly instructions for function by name
Get parameters, local variables, and global variables
Read data from global variable referenced in function
List imported functions with addresses and source libraries
Get strings with optional minlength and substring filter
List all tags with optional type filter
List defined types (structs, enums, typedefs) with optional filter
Search for hex byte pattern with wildcard support (e.g., '48 89 ?? 24')
Set function prototype (C-style like 'int foo(char arg1)')
Set variable type annotation (C-style like 'uint32t')
Rename a function
Update an existing struct type
Rename a variable in a function