edb_assemble
Assemble an assembly instruction and write it to memory at a specified address, using keystone engine or fallback opcodes.
Instructions
Assemble an assembly instruction and write it to memory. Equivalent to EDB's Assembler plugin. Uses keystone engine if available, otherwise falls back to common opcodes (nop, int3, ret).
Args: params (AssembleInput): Assembly parameters - address (str): Target address - instruction (str): Assembly text (e.g., 'nop', 'mov eax, 0', 'jmp rax')
Returns: str: Assembled bytes and confirmation
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_assemble"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |