diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-12 07:28:53 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-12 10:31:11 -0300 |
| commit | f614fce583bccd0f572eb56512775025a8b163b0 (patch) | |
| tree | 60a695eccfe59bff8226ad75cec8e59b4a4b0dad | |
| parent | 2311d3617ee17a89b647fea722c47ec739fd63f3 (diff) | |
| download | computeranim-f614fce583bccd0f572eb56512775025a8b163b0.tar.gz computeranim-f614fce583bccd0f572eb56512775025a8b163b0.zip | |
design: hex offsets with 0x stay the introduction's
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa
| -rw-r--r-- | design/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/design/README.md b/design/README.md index b51f057..7428b84 100644 --- a/design/README.md +++ b/design/README.md @@ -435,7 +435,7 @@ A word of the stack, pwndbg's way and a little more. | --- | --- | --- | | 4, 10 | arcs | the [`arc`](#arc) lanes: a word holding the address of another slot in the window | | 16 | pins | the `row` pin's lane, to 112: every register whose value is this word's address | -| 172 | offset | hex, faint, ranged right in four characters, from the newest frame's base: the register its code addresses its words by (the call frame information's CFA register: rbp in a body that keeps a frame pointer, rsp at a function's entry, in its prologue before `mov rbp, rsp`, after its `pop rbp` or `leave`, and in a function that keeps none), so that `[rbp - 0x18]` and its word's `-18` are one number. The base's row is `+0`. Under [`whole`](#insn) pwndbg's: from rsp, `+18`, and `-8` above rsp. In the introduction, from 0x10 up with `0x` (`-8`, `+0x10`, `-0x18`), as the operands and the values are written: beside a symbol's decimal offset (`main+50`) a bare `-10` after `-8` reads as ten | +| 172 | offset | hex, faint, ranged right in four characters, from the newest frame's base: the register its code addresses its words by (the call frame information's CFA register: rbp in a body that keeps a frame pointer, rsp at a function's entry, in its prologue before `mov rbp, rsp`, after its `pop rbp` or `leave`, and in a function that keeps none), so that `[rbp - 0x18]` and its word's `-18` are one number. The base's row is `+0`. Under [`whole`](#insn) pwndbg's: from rsp, `+18`, and `-8` above rsp. In the introduction, from 0x10 up with `0x` (`-8`, `+0x10`, `-0x18`), as the operands and the values are written: beside a symbol's decimal offset (`main+50`) a bare `-10` after `-8` reads as ten. Only there: the user chose to keep it an aid for newcomers, and every other scene keeps pwndbg's bare hex | | 184 | address | stack ink, `lead`; then the chain, its first hop the word's content | | 88 | shadow | in a run built with AddressSanitizer: the shadow byte that stands for this word's eight bytes, a `byte` cell in the pin lane's end, before the address it stands for (a fake frame's words have no offset from rsp, and no pins). `00`, addressable: faint, no paper. `f1` `f2` `f3`, the stack's left, middle and right redzones: bright on the `freed` hatch, the poison's sign. `01` to `07`, the first k bytes addressable: bright, the hatch over the other 8 − k eighths of its cell. The panel's tag gives where the shadow is, `shadow at addr >> 3 + 7fff8000` | | right | role | what the word is, where the recording knows it, ranged right where the chain's room ends: `saved rbp`, `saved rbx` (dim); a local's name (primary), and which part of the word when it is narrower (`n, high half`, `f, low half`); at the process's start `argc`, `argv[0]`, `argv end`, `envp end`, `auxv` (dim). It is the name a `tied` annotation gives the word ([`insn`](#insn)) | |
