diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-10 14:12:42 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-10 14:35:56 -0300 |
| commit | f8740f6996eefc235af066a6686f52847c158a6b (patch) | |
| tree | 1536ce2825e337e2dac75046093b583d04a96d9b /design/mock/06-title-legend.svg | |
| parent | e2fa716dcda7de877908de006adc34f0c3593693 (diff) | |
| download | computeranim-f8740f6996eefc235af066a6686f52847c158a6b.tar.gz computeranim-f8740f6996eefc235af066a6686f52847c158a6b.zip | |
design, revision 2: the whole context in every frame, a lens beside it
The user's premise: show what pwndbg shows, hide nothing; the semantic
views stay as a lens on the machine. So every frame holds the registers
(all, each followed as a pointer), the stack telescope and the backtrace
in a column that never changes, and the source, the disassembly and the
scene's lens in the other. A value's ink says where it points (stack,
heap, code, data; rwx underlined), its paper says what happened to it.
JetBrains Mono NL for everything mono; the floor is mono 20, which a
phone does not read: what narration depends on is also in the caption.
Mocks 9 to 11 are drawn from a real recording of targets/list.
Diffstat (limited to 'design/mock/06-title-legend.svg')
| -rw-r--r-- | design/mock/06-title-legend.svg | 127 |
1 files changed, 63 insertions, 64 deletions
diff --git a/design/mock/06-title-legend.svg b/design/mock/06-title-legend.svg index 8e57394..f975a89 100644 --- a/design/mock/06-title-legend.svg +++ b/design/mock/06-title-legend.svg @@ -6,74 +6,73 @@ <text x="1856.0" y="172.0" font-family="Go Medium" font-size="30" fill="#6a7ab8" xml:space="preserve" text-anchor="end">part 3</text> <text x="60.0" y="330.0" font-family="Go" font-size="116" fill="#fff8e8" xml:space="preserve" font-weight="bold">Where does malloc</text> <text x="60.0" y="458.0" font-family="Go" font-size="116" fill="#fff8e8" xml:space="preserve" font-weight="bold">keep its notes?</text> -<text x="64.0" y="540.0" font-size="44" xml:space="preserve"><tspan font-family="Go" font-weight="normal" fill="#9aa6d9">glibc and musl, one </tspan><tspan font-family="Go Mono" font-weight="normal" fill="#eee6d2" font-size="38">free()</tspan><tspan font-family="Go" font-weight="normal" fill="#9aa6d9"> at a time</tspan></text> +<text x="64.0" y="540.0" font-size="44" xml:space="preserve"><tspan font-family="Go" font-weight="normal" fill="#9aa6d9">glibc and musl, one </tspan><tspan font-family="JetBrains Mono NL" font-weight="normal" fill="#eee6d2" font-size="38">free()</tspan><tspan font-family="Go" font-weight="normal" fill="#9aa6d9"> at a time</tspan></text> <rect x="64.0" y="624.0" width="1792.0" height="48.0" fill="#16245f"/> <rect x="65.0" y="625.0" width="1790.0" height="262.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> <line x1="64.0" y1="672.0" x2="1856.0" y2="672.0" stroke="#3a4a8a" stroke-width="2"/> <rect x="79.0" y="639.0" width="18.0" height="18.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> <text x="112.0" y="658.0" font-family="Go Medium" font-size="28" fill="#9aa6d9" xml:space="preserve">legend</text> <text x="1840.0" y="656.0" font-family="Go" font-size="22" fill="#6a7ab8" xml:space="preserve" text-anchor="end">the same marks in every picture</text> -<rect x="88.0" y="706.0" width="94.0" height="46.0" fill="#e8c46a"/> -<text x="108.0 126.0 144.0" y="739.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">rip</text> -<text x="198.0" y="724.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">current</text> -<text x="198.0" y="754.0" font-family="Go" font-size="22" fill="#9aa6d9" xml:space="preserve">executing now</text> -<rect x="380.0" y="706.0" width="46.0" height="46.0" fill="#ff6a4a"/> -<text x="385.0 403.0" y="739.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">2a</text> -<rect x="428.0" y="706.0" width="46.0" height="46.0" fill="#ff6a4a"/> -<text x="433.0 451.0" y="739.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">00</text> -<text x="490.0" y="724.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">written</text> -<text x="490.0" y="754.0" font-family="Go" font-size="22" fill="#9aa6d9" xml:space="preserve">by this step</text> -<rect x="672.0" y="706.0" width="46.0" height="46.0" fill="#5a2218"/> -<rect x="672.0" y="746.0" width="46.0" height="6.0" fill="#ff6a4a"/> -<text x="677.0 695.0" y="739.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">2a</text> -<rect x="720.0" y="706.0" width="46.0" height="46.0" fill="#5a2218"/> -<rect x="720.0" y="746.0" width="46.0" height="6.0" fill="#ff6a4a"/> -<text x="725.0 743.0" y="739.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">00</text> -<text x="782.0" y="724.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">changed</text> -<text x="782.0" y="754.0" font-family="Go" font-size="22" fill="#9aa6d9" xml:space="preserve">a moment ago</text> -<rect x="964.0" y="706.0" width="46.0" height="46.0" fill="#1c4652"/> -<rect x="965.5" y="707.5" width="43.0" height="43.0" fill="none" stroke="#6fd6e6" stroke-width="3"/> -<text x="969.0 987.0" y="739.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">2a</text> -<rect x="1012.0" y="706.0" width="46.0" height="46.0" fill="#1c4652"/> -<rect x="1013.5" y="707.5" width="43.0" height="43.0" fill="none" stroke="#6fd6e6" stroke-width="3"/> -<text x="1017.0 1035.0" y="739.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">00</text> -<text x="1074.0" y="724.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">read</text> -<text x="1074.0" y="754.0" font-family="Go" font-size="22" fill="#9aa6d9" xml:space="preserve">by this step</text> -<rect x="1256.0" y="706.0" width="34.0" height="46.0" fill="#16245f"/> -<rect x="1252.0" y="702.0" width="42.0" height="54.0" fill="none" stroke="#d59cf5" stroke-width="4"/> -<path d="M1296.0,729.0 L1334.0,729.0" fill="none" stroke="#d59cf5" stroke-width="4" stroke-linejoin="round" stroke-linecap="butt"/> -<path d="M1350.0,729.0 L1332.0,737.0 L1332.0,721.0 Z" fill="#d59cf5"/> -<text x="1366.0" y="724.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">pointer</text> -<text x="1366.0" y="754.0" font-family="Go" font-size="22" fill="#9aa6d9" xml:space="preserve">an address</text> -<path d="M1548.0,729.0 L1628.0,729.0" fill="none" stroke="#eee6d2" stroke-width="3" stroke-linejoin="round" stroke-linecap="butt"/> -<path d="M1642.0,729.0 L1626.0,736.0 L1626.0,722.0 Z" fill="#eee6d2"/> -<text x="1658.0" y="724.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">moving</text> -<text x="1658.0" y="754.0" font-family="Go" font-size="22" fill="#9aa6d9" xml:space="preserve">in transit</text> -<rect x="88.0" y="802.0" width="94.0" height="46.0" fill="#1f4a33"/> -<rect x="89.5" y="803.5" width="91.0" height="43.0" fill="none" stroke="#7fdc9a" stroke-width="3"/> -<text x="198.0" y="820.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">allocated</text> -<text x="198.0" y="850.0" font-family="Go" font-size="22" fill="#9aa6d9" xml:space="preserve">handed out</text> -<rect x="380.0" y="802.0" width="94.0" height="46.0" fill="url(#hatch)"/> -<rect x="381.5" y="803.5" width="91.0" height="43.0" fill="none" stroke="#9aa6d9" stroke-width="3" stroke-dasharray="12 8"/> -<text x="490.0" y="820.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">freed</text> -<text x="490.0" y="850.0" font-family="Go" font-size="22" fill="#9aa6d9" xml:space="preserve">handed back</text> -<rect x="684.0" y="822.0" width="6.0" height="6.0" fill="#6a7ab8"/> -<rect x="700.0" y="822.0" width="6.0" height="6.0" fill="#6a7ab8"/> -<rect x="732.0" y="822.0" width="6.0" height="6.0" fill="#6a7ab8"/> -<rect x="748.0" y="822.0" width="6.0" height="6.0" fill="#6a7ab8"/> -<text x="782.0" y="820.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">not seen</text> -<text x="782.0" y="850.0" font-family="Go" font-size="22" fill="#9aa6d9" xml:space="preserve">never observed</text> -<rect x="964.0" y="802.0" width="94.0" height="46.0" fill="#eee6d2"/> -<text x="984.0 1002.0 1020.0" y="835.8" font-family="Go Mono" font-size="30" fill="#0a1030" xml:space="preserve" font-weight="bold">sys</text> -<text x="1074.0" y="820.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">kernel</text> -<text x="1074.0" y="850.0" font-family="Go" font-size="22" fill="#9aa6d9" xml:space="preserve">the other side</text> -<rect x="1256.0" y="802.0" width="94.0" height="46.0" fill="url(#hazard)"/> -<rect x="1264.0" y="810.0" width="78.0" height="30.0" fill="#050a24"/> -<text x="1273.0 1288.0 1303.0 1318.0" y="834.0" font-family="Go Mono" font-size="25" fill="#fff8e8" xml:space="preserve" font-weight="bold">SEGV</text> -<text x="1366.0" y="820.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">fault</text> -<text x="1366.0" y="850.0" font-family="Go" font-size="22" fill="#9aa6d9" xml:space="preserve">signal or error</text> -<rect x="1548.0" y="802.0" width="43.0" height="46.0" fill="#8a5e0c"/> -<rect x="1599.0" y="802.0" width="43.0" height="46.0" fill="#17707c"/> -<text x="1658.0" y="820.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">one object</text> -<text x="1658.0" y="850.0" font-family="Go" font-size="22" fill="#9aa6d9" xml:space="preserve">in every view</text> +<rect x="88.0" y="706.0" width="72.0" height="46.0" fill="#e8c46a"/> +<text x="97.0 115.0 133.0" y="739.8" font-family="JetBrains Mono NL" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">rip</text> +<text x="174.0" y="724.0" font-family="Go Medium" font-size="26" fill="#eee6d2" xml:space="preserve">current</text> +<text x="174.0" y="752.0" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">executing now</text> +<rect x="307.0" y="706.0" width="72.0" height="46.0" fill="#ff6a4a"/> +<text x="325.0 343.0" y="739.8" font-family="JetBrains Mono NL" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">2a</text> +<text x="393.0" y="724.0" font-family="Go Medium" font-size="26" fill="#eee6d2" xml:space="preserve">written</text> +<text x="393.0" y="752.0" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">by this step</text> +<rect x="526.0" y="706.0" width="72.0" height="46.0" fill="#5a2218"/> +<rect x="526.0" y="746.0" width="72.0" height="6.0" fill="#ff6a4a"/> +<text x="544.0 562.0" y="739.8" font-family="JetBrains Mono NL" font-size="30" fill="#eee6d2" xml:space="preserve">2a</text> +<text x="612.0" y="724.0" font-family="Go Medium" font-size="26" fill="#eee6d2" xml:space="preserve">changed</text> +<text x="612.0" y="752.0" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">a moment ago</text> +<rect x="745.0" y="706.0" width="72.0" height="46.0" fill="#1c4652"/> +<rect x="746.5" y="707.5" width="69.0" height="43.0" fill="none" stroke="#6fd6e6" stroke-width="3"/> +<text x="763.0 781.0" y="739.8" font-family="JetBrains Mono NL" font-size="30" fill="#eee6d2" xml:space="preserve">2a</text> +<text x="831.0" y="724.0" font-family="Go Medium" font-size="26" fill="#eee6d2" xml:space="preserve">read</text> +<text x="831.0" y="752.0" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">by this step</text> +<path d="M964.0,729.0 L1022.0,729.0" fill="none" stroke="#eee6d2" stroke-width="3" stroke-linejoin="round" stroke-linecap="butt"/> +<path d="M1036.0,729.0 L1020.0,736.0 L1020.0,722.0 Z" fill="#eee6d2"/> +<text x="1050.0" y="724.0" font-family="Go Medium" font-size="26" fill="#eee6d2" xml:space="preserve">moving</text> +<text x="1050.0" y="752.0" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">in transit</text> +<rect x="1205.0" y="726.0" width="6.0" height="6.0" fill="#6a7ab8"/> +<rect x="1227.0" y="726.0" width="6.0" height="6.0" fill="#6a7ab8"/> +<text x="1269.0" y="724.0" font-family="Go Medium" font-size="26" fill="#eee6d2" xml:space="preserve">not seen</text> +<text x="1269.0" y="752.0" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">never observed</text> +<rect x="1402.0" y="706.0" width="72.0" height="46.0" fill="#eee6d2"/> +<text x="1411.0 1429.0 1447.0" y="739.8" font-family="JetBrains Mono NL" font-size="30" fill="#0a1030" xml:space="preserve" font-weight="bold">sys</text> +<text x="1488.0" y="724.0" font-family="Go Medium" font-size="26" fill="#eee6d2" xml:space="preserve">kernel</text> +<text x="1488.0" y="752.0" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">the other side</text> +<rect x="1621.0" y="706.0" width="72.0" height="46.0" fill="url(#hazard)"/> +<rect x="1629.0" y="714.0" width="56.0" height="30.0" fill="#050a24"/> +<text x="1633.0 1645.0 1657.0 1669.0" y="736.2" font-family="JetBrains Mono NL" font-size="20" fill="#fff8e8" xml:space="preserve" font-weight="bold">SEGV</text> +<text x="1707.0" y="724.0" font-family="Go Medium" font-size="26" fill="#eee6d2" xml:space="preserve">fault</text> +<text x="1707.0" y="752.0" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">signal, error</text> +<text x="88.0 106.0 124.0 142.0" y="835.8" font-family="JetBrains Mono NL" font-size="30" fill="#f2d675" xml:space="preserve">7ffe</text> +<text x="174.0" y="820.0" font-family="Go Medium" font-size="26" fill="#eee6d2" xml:space="preserve">stack</text> +<text x="174.0" y="848.0" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">points into it</text> +<text x="307.0 325.0 343.0 361.0" y="835.8" font-family="JetBrains Mono NL" font-size="30" fill="#86b6ff" xml:space="preserve">7ffe</text> +<text x="393.0" y="820.0" font-family="Go Medium" font-size="26" fill="#eee6d2" xml:space="preserve">heap</text> +<text x="393.0" y="848.0" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">points into it</text> +<text x="526.0 544.0 562.0 580.0" y="835.8" font-family="JetBrains Mono NL" font-size="30" fill="#ff8f9a" xml:space="preserve">7ffe</text> +<text x="612.0" y="820.0" font-family="Go Medium" font-size="26" fill="#eee6d2" xml:space="preserve">code</text> +<text x="612.0" y="848.0" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">points into it</text> +<text x="745.0 763.0 781.0 799.0" y="835.8" font-family="JetBrains Mono NL" font-size="30" fill="#d59cf5" xml:space="preserve">7ffe</text> +<text x="831.0" y="820.0" font-family="Go Medium" font-size="26" fill="#eee6d2" xml:space="preserve">data</text> +<text x="831.0" y="848.0" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">points into it</text> +<text x="964.0 982.0 1000.0 1018.0" y="835.8" font-family="JetBrains Mono NL" font-size="30" fill="#d59cf5" xml:space="preserve">7f3c</text> +<rect x="964.0" y="840.0" width="72.0" height="2.0" fill="#d59cf5"/> +<text x="1050.0" y="820.0" font-family="Go Medium" font-size="26" fill="#eee6d2" xml:space="preserve">rwx</text> +<text x="1050.0" y="848.0" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">write and run</text> +<text x="1183.0 1201.0 1219.0 1237.0" y="835.8" font-family="JetBrains Mono NL" font-size="30" fill="#b5e8c8" xml:space="preserve">"hi"</text> +<text x="1269.0" y="820.0" font-family="Go Medium" font-size="26" fill="#eee6d2" xml:space="preserve">text</text> +<text x="1269.0" y="848.0" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">a string</text> +<rect x="1402.0" y="802.0" width="72.0" height="46.0" fill="#1f4a33"/> +<rect x="1403.5" y="803.5" width="69.0" height="43.0" fill="none" stroke="#7fdc9a" stroke-width="3"/> +<text x="1488.0" y="820.0" font-family="Go Medium" font-size="26" fill="#eee6d2" xml:space="preserve">allocated</text> +<text x="1488.0" y="848.0" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">handed out</text> +<rect x="1621.0" y="802.0" width="72.0" height="46.0" fill="url(#hatch)"/> +<rect x="1622.5" y="803.5" width="69.0" height="43.0" fill="none" stroke="#9aa6d9" stroke-width="3" stroke-dasharray="12 8"/> +<text x="1707.0" y="820.0" font-family="Go Medium" font-size="26" fill="#eee6d2" xml:space="preserve">freed</text> +<text x="1707.0" y="848.0" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">handed back</text> </svg> |
