program.image_base.set
Set or change the in-memory image base of an open Ghidra program, with optional commit to record the rebase in the undo stack for reversible address adjustments.
Instructions
Change the program image base. The rebase is always applied to the open program in memory; commit controls whether the change is recorded in the undo stack.
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>",
"image_base": "<image_base>"
},
"name": "program.image_base.set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit | No | ||
| image_base | Yes | ||
| session_id | Yes |