edb_va_to_file_offset
Translate a virtual address to a file offset in the binary on disk, enabling direct patching of the executable file.
Instructions
Convert a virtual address in the loaded process to the corresponding file offset in the binary on disk. Essential for applying patches back to the binary file.
Args: params (VirtualAddressInput): Virtual address - address (str): Virtual address in hex (e.g., '0x400000')
Returns: str: File offset in hex
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |