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/
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_tls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |