switch_localize
Convert absolute addresses or register values to offsets relative to the main executable's base address for debugging Nintendo Switch applications in GDB.
Instructions
Convert an absolute address or register value to an offset relative to the base of main. Example: address '$x0' or '0x8012345'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Absolute address or register name (e.g. '0x8012345' or '$x0') |