pwndbg_tls
Shows the TLS base address to inspect thread-local variables and per-thread data like the stack canary, aiding in debugging and reverse engineering.
Instructions
Print the Thread Local Storage (TLS) base address.
pwndbg command: tls Source: pwndbg/commands/tls.py Category: Linux/libc/ELF
Shows the TLS base address and optionally the full TLS structure contents. The TLS contains thread-local variables, the stack canary, and other per-thread data.
Args: session_id: The UUID of the session.
See: https://pwndbg.re/2025.05.30/reference/pwndbg/commands/tls/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |