pwndbg_elfsections
Print ELF section mappings from the binary header, showing addresses, sizes, and flags for all sections.
Instructions
Print ELF section mappings from the binary header.
pwndbg command: elfsections Source: pwndbg/commands/elf.py Category: Linux/libc/ELF
Shows all ELF sections (.text, .data, .bss, .got, .plt, etc.) with their addresses, sizes, and flags.
Args: session_id: The UUID of the session. no_rebase: If True, show file offsets instead of rebased addresses.
See: https://pwndbg.re/2025.05.30/reference/pwndbg/commands/elf/
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_elfsections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| no_rebase | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |