rzil_set_register
Set a register value in the Rizin RzIL VM using an active session, register name, and hex string to steer emulated execution.
Instructions
Set a register value in the Rizin RzIL virtual machine. Requires a persistent session from rzil_init.
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": {
"session_id": "<session_id>",
"register_name": "<register_name>",
"value": "<value>"
},
"name": "rzil_set_register"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Value to set the register to (hex string, e.g. "0x41414141") | |
| session_id | Yes | RzIL session ID returned by rzil_init | |
| register_name | Yes | Register name to set (e.g. "rax", "rip", "rsp") |