pwndbg_cpsr
Decode ARM CPSR, xPSR, or PSTATE register into individual flag bits with human-readable names. Specify an optional value or read from the current register.
Instructions
Display ARM CPSR / xPSR / PSTATE register bits.
pwndbg command: cpsr (aliases: xpsr, pstate) Source: pwndbg/commands/cpsr.py Category: Register Arch: ARM, AArch64 only
Decodes the ARM condition flags register into individual flag bits with human-readable names.
Args: session_id: The UUID of the session. cpsr_value: Optional CPSR value to decode (default: read from register).
See: https://pwndbg.re/2025.05.30/reference/pwndbg/commands/cpsr/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| cpsr_value | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |