pwndbg_aslr
Check or change ASLR (Address Space Layout Randomization) status for the current debugging session.
Instructions
Check or set the ASLR status.
pwndbg command: aslr Source: pwndbg/commands/aslr.py Category: Linux/libc/ELF
Without arguments, shows the current ASLR setting. With "on" or "off", changes it for the current debugging session.
Args: session_id: The UUID of the session. state: Optional "on" or "off" to change ASLR state.
See: https://pwndbg.re/2025.05.30/reference/pwndbg/commands/aslr/
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>"
},
"name": "pwndbg_aslr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| state | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |