edb_file_offset_to_va
Convert a file offset to its corresponding virtual address in the loaded process, enabling precise binary patching and disk-to-memory mapping analysis.
Instructions
Convert a file offset from the binary on disk to the corresponding virtual address in the loaded process. Essential for patching binaries and understanding disk-to-memory mapping.
Args: params (FileOffsetInput): File offset - offset (int): Offset in bytes from start of file
Returns: str: Virtual address in hex
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_file_offset_to_va"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |