edb_analyze_basic_blocks
Analyze a code region to identify basic blocks and their instructions. Block boundaries are determined by branch, jump, call, or ret instructions.
Instructions
Analyze a code region and identify basic blocks. Equivalent to EDB's Analyzer plugin basic block detection. Shows each basic block with its instructions, where blocks end at branch/jump/call/ret instructions.
Args: params (AnalyzeBasicBlocksInput): Region - address (str): Start address - size (int): Region size (default: 256)
Returns: str: Basic block listing with instruction count per block
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"params": "<params>"
},
"name": "edb_analyze_basic_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |