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/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| no_rebase | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |