diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-11 11:52:21 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-11 12:00:42 -0300 |
| commit | e8616df2031b39535e62dce1142b029e65723c95 (patch) | |
| tree | 6035105258bf4b541782f32f69215d09d5dc0d6b /design/mock | |
| parent | 05160b340bc0677a9ab29c2379b09475f54bb4eb (diff) | |
| download | computeranim-e8616df2031b39535e62dce1142b029e65723c95.tar.gz computeranim-e8616df2031b39535e62dce1142b029e65723c95.zip | |
design: the address space as one tall rectangle; aligned as a listing
From the user. segments is the textbook picture: one rectangle, high
addresses on top, each mapping a band in its ink (heights by the log of
their size, holes folded with their size beside them), labels outside on
leaders, a file's mappings bracketed as one, the stack's and the heap's
growth as arrows, rsp and rip pinned in their bands. aligned is one
panel: a line as the head of its instructions, line numbers and
addresses in one column since both say where, a rule over every head.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa
Diffstat (limited to 'design/mock')
| -rw-r--r-- | design/mock/30-intro-words-480.png | bin | 0 -> 43111 bytes | |||
| -rw-r--r-- | design/mock/30-intro-words.png | bin | 224784 -> 230085 bytes | |||
| -rw-r--r-- | design/mock/30-intro-words.svg | 287 | ||||
| -rw-r--r-- | design/mock/32-intro-code.png | bin | 104319 -> 108875 bytes | |||
| -rw-r--r-- | design/mock/32-intro-code.svg | 287 | ||||
| -rw-r--r-- | design/mock/33-aligned-480.png | bin | 18796 -> 15933 bytes | |||
| -rw-r--r-- | design/mock/33-aligned.png | bin | 135867 -> 98391 bytes | |||
| -rw-r--r-- | design/mock/33-aligned.svg | 318 | ||||
| -rw-r--r-- | design/mock/34-segments.png | bin | 0 -> 113202 bytes | |||
| -rw-r--r-- | design/mock/34-segments.svg | 213 | ||||
| -rw-r--r-- | design/mock/intro.py | 213 |
11 files changed, 847 insertions, 471 deletions
diff --git a/design/mock/30-intro-words-480.png b/design/mock/30-intro-words-480.png Binary files differnew file mode 100644 index 0000000..4156b0a --- /dev/null +++ b/design/mock/30-intro-words-480.png diff --git a/design/mock/30-intro-words.png b/design/mock/30-intro-words.png Binary files differindex faba6f4..463726e 100644 --- a/design/mock/30-intro-words.png +++ b/design/mock/30-intro-words.png diff --git a/design/mock/30-intro-words.svg b/design/mock/30-intro-words.svg index fd1502b..267a344 100644 --- a/design/mock/30-intro-words.svg +++ b/design/mock/30-intro-words.svg @@ -165,81 +165,218 @@ <text x="420.0" y="379.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">1</text> <rect x="153.0" y="24.0" width="242.0" height="24.0" fill="none" stroke="#6fd6e6" stroke-width="2"/> <rect x="415.0" y="24.0" width="94.0" height="24.0" fill="none" stroke="#6fd6e6" stroke-width="2"/> -<rect x="612.0" y="-24.0" width="560.0" height="24.0" fill="#16245f"/> -<rect x="613.0" y="-23.0" width="558.0" height="390.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> -<rect x="621.0" y="-17.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> -<text x="640.0" y="-6.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">the address space</text> -<text x="1162.0" y="-6.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">the recording's mappings, low on top</text> -<rect x="624.0" y="7.0" width="8.0" height="18.0" fill="#eee6d2"/> -<text x="644.0 656.0 668.0 680.0 692.0 704.0 716.0" y="23.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">1000000</text> -<text x="800.0 812.0 824.0 836.0" y="23.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">list</text> -<text x="932.0" y="23.2" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">headers, read-only</text> -<text x="1100.0 1112.0 1124.0 1136.0 1148.0" y="23.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4 KiB</text> -<rect x="624.0" y="31.0" width="8.0" height="18.0" fill="#ff8f9a"/> -<text x="644.0 656.0 668.0 680.0 692.0 704.0 716.0" y="47.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">1001000</text> -<text x="800.0 812.0 824.0 836.0" y="47.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">list</text> -<text x="932.0" y="47.2" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">code</text> -<text x="1100.0 1112.0 1124.0 1136.0 1148.0" y="47.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4 KiB</text> -<rect x="619.0" y="29.0" width="546.0" height="22.0" fill="none" stroke="#6fd6e6" stroke-width="2"/> -<rect x="624.0" y="55.0" width="8.0" height="18.0" fill="#eee6d2"/> -<text x="644.0 656.0 668.0 680.0 692.0 704.0 716.0" y="71.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">1002000</text> -<text x="800.0 812.0 824.0 836.0" y="71.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">list</text> -<text x="932.0" y="71.2" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">read-only data</text> -<text x="1100.0 1112.0 1124.0 1136.0 1148.0" y="71.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4 KiB</text> -<rect x="624.0" y="79.0" width="8.0" height="18.0" fill="#d59cf5"/> -<text x="644.0 656.0 668.0 680.0 692.0 704.0 716.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">1003000</text> -<text x="800.0 812.0 824.0 836.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">list</text> -<text x="932.0" y="95.2" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">data</text> -<text x="1100.0 1112.0 1124.0 1136.0 1148.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4 KiB</text> -<rect x="624.0" y="103.0" width="8.0" height="18.0" fill="#86b6ff"/> -<text x="644.0 656.0 668.0 680.0 692.0 704.0 716.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">1004000</text> -<text x="800.0 812.0 824.0 836.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">heap</text> -<text x="932.0" y="119.2" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">malloc's</text> -<text x="1076.0 1088.0 1100.0 1112.0 1124.0 1136.0 1148.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">132 KiB</text> -<path d="M626,132 l6,4 l-6,4 l6,4" fill="none" stroke="#6a7ab8" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> -<text x="652.0" y="143.2" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve">nothing mapped · 127 TiB</text> -<rect x="624.0" y="151.0" width="8.0" height="18.0" fill="#eee6d2"/> -<text x="644.0 656.0 668.0 680.0 692.0 704.0 716.0 728.0 740.0 752.0 764.0 776.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7ffff7c00000</text> -<text x="800.0 812.0 824.0 836.0 848.0 860.0 872.0 884.0 896.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">libc.so.6</text> -<text x="932.0" y="167.2" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">read-only</text> -<text x="1076.0 1088.0 1100.0 1112.0 1124.0 1136.0 1148.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">144 KiB</text> -<rect x="624.0" y="175.0" width="8.0" height="18.0" fill="#ff8f9a"/> -<text x="644.0 656.0 668.0 680.0 692.0 704.0 716.0 728.0 740.0 752.0 764.0 776.0" y="191.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">7ffff7c24000</text> -<text x="800.0 812.0 824.0 836.0 848.0 860.0 872.0 884.0 896.0" y="191.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">libc.so.6</text> -<text x="932.0" y="191.2" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">code</text> -<text x="1076.0 1088.0 1100.0 1112.0 1124.0 1136.0 1148.0" y="191.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">1.5 MiB</text> -<rect x="624.0" y="199.0" width="8.0" height="18.0" fill="#eee6d2"/> -<text x="644.0 656.0 668.0 680.0 692.0 704.0 716.0 728.0 740.0 752.0 764.0 776.0" y="215.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7ffff7d9f000</text> -<text x="800.0 812.0 824.0 836.0 848.0 860.0 872.0 884.0 896.0" y="215.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">libc.so.6</text> -<text x="932.0" y="215.2" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">read-only data</text> -<text x="1076.0 1088.0 1100.0 1112.0 1124.0 1136.0 1148.0" y="215.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">472 KiB</text> -<rect x="624.0" y="223.0" width="8.0" height="18.0" fill="#d59cf5"/> -<text x="644.0 656.0 668.0 680.0 692.0 704.0 716.0 728.0 740.0 752.0 764.0 776.0" y="239.2" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">7ffff7e15000</text> -<text x="800.0 812.0 824.0 836.0 848.0 860.0 872.0 884.0 896.0" y="239.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">libc.so.6</text> -<text x="932.0" y="239.2" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">data</text> -<text x="1088.0 1100.0 1112.0 1124.0 1136.0 1148.0" y="239.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">56 KiB</text> -<rect x="624.0" y="247.0" width="8.0" height="18.0" fill="#ff8f9a"/> -<text x="644.0 656.0 668.0 680.0 692.0 704.0 716.0 728.0 740.0 752.0 764.0 776.0" y="263.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">7ffff7fbc000</text> -<text x="800.0 812.0 824.0 836.0 848.0 860.0" y="263.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">[vdso]</text> -<text x="932.0" y="263.2" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">code</text> -<text x="1100.0 1112.0 1124.0 1136.0 1148.0" y="263.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">8 KiB</text> -<rect x="624.0" y="271.0" width="8.0" height="18.0" fill="#ff8f9a"/> -<text x="644.0 656.0 668.0 680.0 692.0 704.0 716.0 728.0 740.0 752.0 764.0 776.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">7ffff7fbf000</text> -<text x="800.0 812.0 824.0 836.0 848.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ld.so</text> -<text x="932.0" y="287.2" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">code</text> -<text x="1076.0 1088.0 1100.0 1112.0 1124.0 1136.0 1148.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">180 KiB</text> -<rect x="624.0" y="295.0" width="8.0" height="18.0" fill="#d59cf5"/> -<text x="644.0 656.0 668.0 680.0 692.0 704.0 716.0 728.0 740.0 752.0 764.0 776.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">7ffff7ffb000</text> -<text x="800.0 812.0 824.0 836.0 848.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ld.so</text> -<text x="932.0" y="311.2" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">data</text> -<text x="1088.0 1100.0 1112.0 1124.0 1136.0 1148.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">16 KiB</text> -<path d="M626,324 l6,4 l-6,4 l6,4" fill="none" stroke="#6a7ab8" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> -<text x="652.0" y="335.2" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve">nothing mapped · 127 MiB</text> -<rect x="624.0" y="343.0" width="8.0" height="18.0" fill="#f2d675"/> -<text x="644.0 656.0 668.0 680.0 692.0 704.0 716.0 728.0 740.0 752.0 764.0 776.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7ffffffde000</text> -<text x="800.0 812.0 824.0 836.0 848.0 860.0 872.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">[stack]</text> -<text x="932.0" y="359.2" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">the stack</text> -<text x="1076.0 1088.0 1100.0 1112.0 1124.0 1136.0 1148.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">132 KiB</text> +</g> +<g transform="translate(0,0)"> +<g transform="translate(1000,110) scale(0.8)"> +<text x="188.0" y="-6.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">ffffffffffffffff</text> +<rect x="200.0" y="0.0" width="140.0" height="24.0" fill="#91566a"/> +<rect x="200.0" y="0.0" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M344,12.0 H372" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0 392.0 404.0" y="19.0" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">--x</text> +<text x="428.0" y="19.0" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">[vsyscall]</text> +<text x="598.0 610.0 622.0 634.0 646.0" y="19.0" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4 KiB</text> +<text x="-4.0 8.0 20.0 32.0 44.0 56.0 68.0 80.0 92.0 104.0 116.0 128.0 140.0 152.0 164.0 176.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">ffffffffff600000</text> +<rect x="200.0" y="24.0" width="140.0" height="40.0" fill="#0a1030"/> +<rect x="201.0" y="24.0" width="138.0" height="40.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<path d="M194,38 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<path d="M194,48 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0" y="50.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve">nothing mapped · 15 EiB</text> +<rect x="200.0" y="64.0" width="140.0" height="44.2" fill="#8a7d56"/> +<rect x="200.0" y="64.0" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M344,86.08878823871692 H372" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0 392.0 404.0" y="93.1" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">rw-</text> +<text x="428.0" y="93.1" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">[stack]</text> +<text x="598.0 610.0 622.0 634.0 646.0 658.0 670.0" y="93.1" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">132 KiB</text> +<text x="44.0 56.0 68.0 80.0 92.0 104.0 116.0 128.0 140.0 152.0 164.0 176.0" y="103.4" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7ffffffde000</text> +<rect x="200.0" y="108.2" width="140.0" height="40.0" fill="#0a1030"/> +<rect x="201.0" y="108.2" width="138.0" height="40.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<path d="M194,122 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<path d="M194,132 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0" y="134.2" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve">nothing mapped · 127 MiB</text> +<rect x="200.0" y="148.2" width="140.0" height="24.0" fill="#7a5d9c"/> +<rect x="200.0" y="148.2" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M344,160.17757647743383 H372" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0 392.0 404.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">rw-</text> +<text x="428.0" y="167.2" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">data (anonymous)</text> +<text x="598.0 610.0 622.0 634.0 646.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4 KiB</text> +<text x="44.0 56.0 68.0 80.0 92.0 104.0 116.0 128.0 140.0 152.0 164.0 176.0" y="167.4" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">7ffff7ffe000</text> +<rect x="200.0" y="172.2" width="140.0" height="24.0" fill="#7a5d9c"/> +<rect x="200.0" y="172.2" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M344,184.17757647743383 H372" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0 392.0 404.0" y="191.2" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">rw-</text> +<text x="428.0" y="191.2" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">data</text> +<text x="598.0 610.0 622.0 634.0 646.0" y="191.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4 KiB</text> +<text x="44.0 56.0 68.0 80.0 92.0 104.0 116.0 128.0 140.0 152.0 164.0 176.0" y="191.4" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">7ffff7ffd000</text> +<rect x="200.0" y="196.2" width="140.0" height="28.0" fill="#878689"/> +<rect x="200.0" y="196.2" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M344,210.17757647743383 H372" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0 392.0 404.0" y="217.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r--</text> +<text x="428.0" y="217.2" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">read-only</text> +<text x="598.0 610.0 622.0 634.0 646.0" y="217.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">8 KiB</text> +<text x="44.0 56.0 68.0 80.0 92.0 104.0 116.0 128.0 140.0 152.0 164.0 176.0" y="219.4" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7ffff7ffb000</text> +<rect x="200.0" y="224.2" width="140.0" height="39.6" fill="#878689"/> +<rect x="200.0" y="224.2" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M344,243.99135766865086 H372" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0 392.0 404.0" y="251.0" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r--</text> +<text x="428.0" y="251.0" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">read-only</text> +<text x="598.0 610.0 622.0 634.0 646.0 658.0" y="251.0" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">60 KiB</text> +<text x="44.0 56.0 68.0 80.0 92.0 104.0 116.0 128.0 140.0 152.0 164.0 176.0" y="259.0" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7ffff7fec000</text> +<rect x="200.0" y="263.8" width="140.0" height="46.0" fill="#91566a"/> +<rect x="200.0" y="263.8" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M344,286.7888450525272 H372" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0 392.0 404.0" y="293.8" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">r-x</text> +<text x="428.0" y="293.8" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">code</text> +<text x="598.0 610.0 622.0 634.0 646.0 658.0 670.0" y="293.8" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">180 KiB</text> +<text x="44.0 56.0 68.0 80.0 92.0 104.0 116.0 128.0 140.0 152.0 164.0 176.0" y="305.0" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">7ffff7fbf000</text> +<rect x="200.0" y="309.8" width="140.0" height="24.0" fill="#878689"/> +<rect x="200.0" y="309.8" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M344,321.7725512451866 H372" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0 392.0 404.0" y="328.8" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r--</text> +<text x="428.0" y="328.8" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">read-only</text> +<text x="598.0 610.0 622.0 634.0 646.0" y="328.8" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4 KiB</text> +<text x="44.0 56.0 68.0 80.0 92.0 104.0 116.0 128.0 140.0 152.0 164.0 176.0" y="329.0" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7ffff7fbe000</text> +<rect x="200.0" y="333.8" width="140.0" height="28.0" fill="#91566a"/> +<rect x="200.0" y="333.8" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M344,347.7725512451866 H372" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0 392.0 404.0" y="354.8" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">r-x</text> +<text x="428.0" y="354.8" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">[vdso]</text> +<text x="598.0 610.0 622.0 634.0 646.0" y="354.8" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">8 KiB</text> +<text x="44.0 56.0 68.0 80.0 92.0 104.0 116.0 128.0 140.0 152.0 164.0 176.0" y="357.0" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">7ffff7fbc000</text> +<rect x="200.0" y="361.8" width="140.0" height="34.3" fill="#878689"/> +<rect x="200.0" y="361.8" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M344,378.9424762466289 H372" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0 392.0 404.0" y="385.9" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r--</text> +<text x="428.0" y="385.9" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">[vvar]</text> +<text x="598.0 610.0 622.0 634.0 646.0 658.0" y="385.9" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">24 KiB</text> +<text x="44.0 56.0 68.0 80.0 92.0 104.0 116.0 128.0 140.0 152.0 164.0 176.0" y="391.3" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7ffff7fb6000</text> +<rect x="200.0" y="396.1" width="140.0" height="48.1" fill="#878689"/> +<rect x="200.0" y="396.1" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M344,420.1571368741282 H372" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0 392.0 404.0" y="427.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r--</text> +<text x="428.0" y="427.2" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">read-only</text> +<text x="598.0 610.0 622.0 634.0 646.0 658.0 670.0" y="427.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">260 KiB</text> +<text x="44.0 56.0 68.0 80.0 92.0 104.0 116.0 128.0 140.0 152.0 164.0 176.0" y="439.4" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7ffff7f75000</text> +<rect x="200.0" y="444.2" width="140.0" height="33.3" fill="#7a5d9c"/> +<rect x="200.0" y="444.2" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M344,460.8457286899598 H372" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0 392.0 404.0" y="467.8" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">rw-</text> +<text x="428.0" y="467.8" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">data (anonymous)</text> +<text x="598.0 610.0 622.0 634.0 646.0 658.0" y="467.8" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">20 KiB</text> +<text x="44.0 56.0 68.0 80.0 92.0 104.0 116.0 128.0 140.0 152.0 164.0 176.0" y="472.7" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">7ffff7f70000</text> +<rect x="200.0" y="477.5" width="140.0" height="40.0" fill="#0a1030"/> +<rect x="201.0" y="477.5" width="138.0" height="40.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<path d="M194,491 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<path d="M194,501 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0" y="503.5" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve">nothing mapped · 1.3 MiB</text> +<rect x="200.0" y="517.5" width="140.0" height="36.0" fill="#7a5d9c"/> +<rect x="200.0" y="517.5" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M344,535.4895848797345 H372" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0 392.0 404.0" y="542.5" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">rw-</text> +<text x="428.0" y="542.5" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">data (anonymous)</text> +<text x="598.0 610.0 622.0 634.0 646.0 658.0" y="542.5" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">32 KiB</text> +<text x="44.0 56.0 68.0 80.0 92.0 104.0 116.0 128.0 140.0 152.0 164.0 176.0" y="548.7" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">7ffff7e1b000</text> +<rect x="200.0" y="553.5" width="140.0" height="28.0" fill="#7a5d9c"/> +<rect x="200.0" y="553.5" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M344,567.4895848797345 H372" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0 392.0 404.0" y="574.5" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">rw-</text> +<text x="428.0" y="574.5" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">data</text> +<text x="598.0 610.0 622.0 634.0 646.0" y="574.5" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">8 KiB</text> +<text x="44.0 56.0 68.0 80.0 92.0 104.0 116.0 128.0 140.0 152.0 164.0 176.0" y="576.7" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">7ffff7e19000</text> +<rect x="200.0" y="581.5" width="140.0" height="32.0" fill="#878689"/> +<rect x="200.0" y="581.5" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M344,597.4895848797345 H372" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0 392.0 404.0" y="604.5" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r--</text> +<text x="428.0" y="604.5" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">read-only</text> +<text x="598.0 610.0 622.0 634.0 646.0 658.0" y="604.5" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">16 KiB</text> +<text x="44.0 56.0 68.0 80.0 92.0 104.0 116.0 128.0 140.0 152.0 164.0 176.0" y="608.7" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7ffff7e15000</text> +<rect x="200.0" y="613.5" width="140.0" height="51.5" fill="#878689"/> +<rect x="200.0" y="613.5" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M344,639.2548709784581 H372" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0 392.0 404.0" y="646.3" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r--</text> +<text x="428.0" y="646.3" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">read-only</text> +<text x="598.0 610.0 622.0 634.0 646.0 658.0 670.0" y="646.3" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">472 KiB</text> +<text x="44.0 56.0 68.0 80.0 92.0 104.0 116.0 128.0 140.0 152.0 164.0 176.0" y="660.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7ffff7d9f000</text> +<rect x="200.0" y="665.0" width="140.0" height="58.3" fill="#91566a"/> +<rect x="200.0" y="665.0" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M344,694.152265153524 H372" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0 392.0 404.0" y="701.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">r-x</text> +<text x="428.0" y="701.2" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">code</text> +<text x="598.0 610.0 622.0 634.0 646.0 658.0 670.0" y="701.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">1.5 MiB</text> +<text x="44.0 56.0 68.0 80.0 92.0 104.0 116.0 128.0 140.0 152.0 164.0 176.0" y="718.5" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">7ffff7c24000</text> +<rect x="200.0" y="723.3" width="140.0" height="44.7" fill="#878689"/> +<rect x="200.0" y="723.3" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M344,745.6242232327509 H372" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0 392.0 404.0" y="752.6" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r--</text> +<text x="428.0" y="752.6" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">read-only</text> +<text x="598.0 610.0 622.0 634.0 646.0 658.0 670.0" y="752.6" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">144 KiB</text> +<text x="44.0 56.0 68.0 80.0 92.0 104.0 116.0 128.0 140.0 152.0 164.0 176.0" y="763.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7ffff7c00000</text> +<rect x="200.0" y="768.0" width="140.0" height="40.0" fill="#0a1030"/> +<rect x="201.0" y="768.0" width="138.0" height="40.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<path d="M194,781 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<path d="M194,791 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0" y="794.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve">nothing mapped · 127 TiB</text> +<rect x="200.0" y="808.0" width="140.0" height="44.2" fill="#4e6ba2"/> +<rect x="200.0" y="808.0" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M344,830.0528614743524 H372" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0 392.0 404.0" y="837.1" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">rw-</text> +<text x="428.0" y="837.1" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">[heap]</text> +<text x="598.0 610.0 622.0 634.0 646.0 658.0 670.0" y="837.1" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">132 KiB</text> +<text x="104.0 116.0 128.0 140.0 152.0 164.0 176.0" y="847.3" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">1004000</text> +<rect x="200.0" y="852.1" width="140.0" height="24.0" fill="#7a5d9c"/> +<rect x="200.0" y="852.1" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M344,864.1416497130693 H372" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0 392.0 404.0" y="871.1" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">rw-</text> +<text x="428.0" y="871.1" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">data</text> +<text x="598.0 610.0 622.0 634.0 646.0" y="871.1" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4 KiB</text> +<text x="104.0 116.0 128.0 140.0 152.0 164.0 176.0" y="871.3" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">1003000</text> +<rect x="200.0" y="876.1" width="140.0" height="24.0" fill="#878689"/> +<rect x="200.0" y="876.1" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M344,888.1416497130693 H372" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0 392.0 404.0" y="895.1" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r--</text> +<text x="428.0" y="895.1" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">read-only</text> +<text x="598.0 610.0 622.0 634.0 646.0" y="895.1" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4 KiB</text> +<text x="104.0 116.0 128.0 140.0 152.0 164.0 176.0" y="895.3" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">1002000</text> +<rect x="200.0" y="900.1" width="140.0" height="24.0" fill="#91566a"/> +<rect x="200.0" y="900.1" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M344,912.1416497130693 H372" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0 392.0 404.0" y="919.1" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">r-x</text> +<text x="428.0" y="919.1" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">code</text> +<text x="598.0 610.0 622.0 634.0 646.0" y="919.1" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4 KiB</text> +<text x="104.0 116.0 128.0 140.0 152.0 164.0 176.0" y="919.3" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">1001000</text> +<rect x="197.5" y="899.6" width="145.0" height="25.0" fill="none" stroke="#6fd6e6" stroke-width="3"/> +<rect x="200.0" y="924.1" width="140.0" height="24.0" fill="#878689"/> +<rect x="200.0" y="924.1" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M344,936.1416497130693 H372" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="380.0 392.0 404.0" y="943.1" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r--</text> +<text x="428.0" y="943.1" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">read-only</text> +<text x="598.0 610.0 622.0 634.0 646.0" y="943.1" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4 KiB</text> +<text x="104.0 116.0 128.0 140.0 152.0 164.0 176.0" y="943.3" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">1000000</text> +<rect x="707.0" y="175.2" width="2.0" height="155.6" fill="#9aa6d9"/> +<rect x="701.0" y="175.2" width="8.0" height="2.0" fill="#9aa6d9"/> +<rect x="701.0" y="328.8" width="8.0" height="2.0" fill="#9aa6d9"/> +<text x="720.0 732.0 744.0 756.0 768.0" y="260.0" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ld.so</text> +<rect x="707.0" y="399.1" width="2.0" height="42.1" fill="#9aa6d9"/> +<rect x="701.0" y="399.1" width="8.0" height="2.0" fill="#9aa6d9"/> +<rect x="701.0" y="439.2" width="8.0" height="2.0" fill="#9aa6d9"/> +<text x="720.0 732.0 744.0 756.0 768.0 780.0 792.0 804.0 816.0 828.0 840.0" y="427.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ld.so.cache</text> +<rect x="707.0" y="556.5" width="2.0" height="208.5" fill="#9aa6d9"/> +<rect x="701.0" y="556.5" width="8.0" height="2.0" fill="#9aa6d9"/> +<rect x="701.0" y="763.0" width="8.0" height="2.0" fill="#9aa6d9"/> +<text x="720.0 732.0 744.0 756.0 768.0 780.0 792.0 804.0 816.0" y="667.7" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">libc.so.6</text> +<rect x="707.0" y="855.1" width="2.0" height="90.0" fill="#9aa6d9"/> +<rect x="701.0" y="855.1" width="8.0" height="2.0" fill="#9aa6d9"/> +<rect x="701.0" y="943.1" width="8.0" height="2.0" fill="#9aa6d9"/> +<text x="720.0 732.0 744.0 756.0" y="907.1" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">list</text> +<text x="188.0" y="966.1" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">0</text> +<path d="M316.0,72.0 L316.0,96.2" fill="none" stroke="#fff8e8" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<path d="M316.0,102.2 L312.0,94.2 L320.0,94.2 Z" fill="#fff8e8"/> +<path d="M316.0,846.1 L316.0,822.0" fill="none" stroke="#fff8e8" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<path d="M316.0,816.0 L320.0,824.0 L312.0,824.0 Z" fill="#fff8e8"/> +<text x="208.0 220.0 232.0" y="71.3" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="bold">rsp</text> +<path d="M248,64.26146766381056 l9,-6 v12 Z" fill="#f2d675"/> +<text x="200.0" y="-34.0" font-family="Go Medium" font-size="20" fill="#eee6d2" xml:space="preserve">the address space</text> +<text x="400.0" y="-34.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve">high addresses on top · not to scale: holes 40, bands by the log of their size</text> +</g> </g> <text x="64.0" y="964.0" font-size="40" xml:space="preserve"><tspan font-family="Go" font-weight="normal" fill="#eee6d2">Eight bytes make a word, stored low byte first: read right to left,</tspan></text> <text x="64.0" y="1018.0" font-size="40" xml:space="preserve"><tspan font-family="Go" font-weight="normal" fill="#eee6d2">this one is </tspan><tspan font-family="JetBrains Mono NL" font-weight="normal" fill="#eee6d2" font-size="35">10018b0</tspan><tspan font-family="Go" font-weight="normal" fill="#eee6d2">, an address in the code, so it takes code's ink.</tspan></text> diff --git a/design/mock/32-intro-code.png b/design/mock/32-intro-code.png Binary files differindex eb22ba7..2d9b70b 100644 --- a/design/mock/32-intro-code.png +++ b/design/mock/32-intro-code.png diff --git a/design/mock/32-intro-code.svg b/design/mock/32-intro-code.svg index 35597b8..a5eafc0 100644 --- a/design/mock/32-intro-code.svg +++ b/design/mock/32-intro-code.svg @@ -1,155 +1,144 @@ <svg xmlns="http://www.w3.org/2000/svg" width="1920" height="1080" viewBox="0 0 1920 1080"> <defs><pattern id="hatch" width="20" height="20" patternUnits="userSpaceOnUse" patternTransform="rotate(45)"><rect width="5" height="20" fill="#3a4a8a"/></pattern><pattern id="hazard" width="24" height="24" patternUnits="userSpaceOnUse" patternTransform="rotate(45)"><rect width="24" height="24" fill="#050a24"/><rect width="12" height="24" fill="#ff6a4a"/></pattern></defs> <rect width="1920" height="1080" fill="#0a1030"/> -<rect x="64.0" y="48.0" width="880.0" height="24.0" fill="#16245f"/> -<rect x="65.0" y="49.0" width="878.0" height="414.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> -<rect x="73.0" y="55.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> -<text x="92.0" y="66.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">list.c</text> -<text x="934.0" y="66.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">each line beside the first of its instructions</text> -<rect x="976.0" y="48.0" width="880.0" height="24.0" fill="#16245f"/> -<rect x="977.0" y="49.0" width="878.0" height="414.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> -<rect x="985.0" y="55.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> -<text x="1004.0" y="66.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">disassembly</text> -<text x="1846.0" y="66.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">reverse</text> -<rect x="931.0" y="79.0" width="2.0" height="186.0" fill="#3a4a8a"/> -<rect x="926.0" y="79.0" width="7.0" height="2.0" fill="#3a4a8a"/> -<rect x="926.0" y="263.0" width="7.0" height="2.0" fill="#3a4a8a"/> -<rect x="931.0" y="271.0" width="2.0" height="18.0" fill="#3a4a8a"/> -<rect x="926.0" y="271.0" width="7.0" height="2.0" fill="#3a4a8a"/> -<rect x="926.0" y="287.0" width="7.0" height="2.0" fill="#3a4a8a"/> -<rect x="931.0" y="295.0" width="2.0" height="18.0" fill="#3a4a8a"/> -<rect x="926.0" y="295.0" width="7.0" height="2.0" fill="#3a4a8a"/> -<rect x="926.0" y="311.0" width="7.0" height="2.0" fill="#3a4a8a"/> -<rect x="931.0" y="319.0" width="2.0" height="66.0" fill="#3a4a8a"/> -<rect x="926.0" y="319.0" width="7.0" height="2.0" fill="#3a4a8a"/> -<rect x="926.0" y="383.0" width="7.0" height="2.0" fill="#3a4a8a"/> -<rect x="931.0" y="391.0" width="2.0" height="66.0" fill="#3a4a8a"/> -<rect x="926.0" y="391.0" width="7.0" height="2.0" fill="#3a4a8a"/> -<rect x="926.0" y="455.0" width="7.0" height="2.0" fill="#3a4a8a"/> -<text x="86.0 98.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">20</text> -<text x="176.0 188.0 200.0 212.0 224.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">while</text> -<text x="248.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> -<text x="260.0 272.0 284.0 296.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">head</text> -<text x="308.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> -<text x="332.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">{</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">10</text> -<text x="1124.0 1136.0 1148.0 1160.0 1172.0 1184.0 1196.0 1208.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">48 85 ff</text> -<text x="1304.0 1316.0 1328.0 1340.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">test</text> -<text x="1388.0 1400.0 1412.0 1424.0 1436.0 1448.0 1460.0 1472.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rdi, rdi</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">13</text> -<text x="1124.0 1136.0 1148.0 1160.0 1172.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">74 20</text> -<text x="1304.0 1316.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">je</text> -<text x="1388.0 1400.0 1412.0 1424.0 1436.0 1448.0 1460.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">1001935</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">15</text> -<text x="1124.0 1136.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">55</text> -<text x="1304.0 1316.0 1328.0 1340.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">push</text> -<text x="1388.0 1400.0 1412.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rbp</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">16</text> -<text x="1124.0 1136.0 1148.0 1160.0 1172.0 1184.0 1196.0 1208.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">48 89 e5</text> -<text x="1304.0 1316.0 1328.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> -<text x="1388.0 1400.0 1412.0 1424.0 1436.0 1448.0 1460.0 1472.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rbp, rsp</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="191.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="191.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">19</text> -<text x="1124.0 1136.0 1148.0 1160.0 1172.0" y="191.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">31 c0</text> -<text x="1304.0 1316.0 1328.0" y="191.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">xor</text> -<text x="1388.0 1400.0 1412.0 1424.0 1436.0 1448.0 1460.0 1472.0" y="191.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">eax, eax</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="215.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="215.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">1b</text> -<text x="1124.0 1136.0 1148.0 1160.0 1172.0 1184.0 1196.0 1208.0 1220.0 1232.0 1244.0 1256.0 1268.0 1280.0" y="215.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">0f 1f 44 00 00</text> -<text x="1304.0 1316.0 1328.0" y="215.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">nop</text> -<text x="1388.0 1400.0 1412.0 1424.0 1436.0 1448.0 1460.0 1472.0 1484.0 1496.0 1508.0" y="215.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">[rax + rax]</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="239.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="239.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">20</text> -<text x="1124.0 1136.0 1148.0 1160.0 1172.0 1184.0 1196.0 1208.0" y="239.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">48 89 c1</text> -<text x="1304.0 1316.0 1328.0" y="239.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> -<text x="1388.0 1400.0 1412.0 1424.0 1436.0 1448.0 1460.0 1472.0" y="239.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rcx, rax</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="263.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="263.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">23</text> -<text x="1124.0 1136.0 1148.0 1160.0 1172.0 1184.0 1196.0 1208.0" y="263.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">48 89 f8</text> -<text x="1304.0 1316.0 1328.0" y="263.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> -<text x="1388.0 1400.0 1412.0 1424.0 1436.0 1448.0 1460.0 1472.0" y="263.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rax, rdi</text> -<rect x="66.0" y="268.0" width="876.0" height="24.0" fill="#222742"/> -<rect x="944.0" y="268.0" width="32.0" height="24.0" fill="#222742"/> -<rect x="978.0" y="268.0" width="876.0" height="24.0" fill="#222742"/> -<rect x="978.0" y="268.0" width="24.0" height="24.0" fill="#e8c46a"/> -<path d="M996,280 l-10,-6 v12 Z" fill="#050a24"/> -<rect x="66.0" y="268.0" width="50.0" height="24.0" fill="#e8c46a"/> -<text x="86.0 98.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#050a24" xml:space="preserve" font-weight="bold">21</text> -<text x="224.0 236.0 248.0 260.0 272.0 284.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">struct</text> -<text x="308.0 320.0 332.0 344.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">node</text> -<text x="368.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">*</text> -<text x="380.0 392.0 404.0 416.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">next</text> -<text x="440.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">=</text> -<text x="464.0 476.0 488.0 500.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">head</text> -<text x="512.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">-</text> -<text x="524.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">></text> -<text x="536.0 548.0 560.0 572.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">next</text> -<text x="584.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">26</text> -<text x="1124.0 1136.0 1148.0 1160.0 1172.0 1184.0 1196.0 1208.0 1220.0 1232.0 1244.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#fff8e8" xml:space="preserve" font-weight="500">48 8b 7f 08</text> -<text x="1304.0 1316.0 1328.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> -<text x="1388.0 1400.0 1412.0 1424.0 1436.0 1448.0 1460.0 1472.0 1484.0 1496.0 1508.0 1520.0 1532.0 1544.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rdi, [rdi + 8]</text> -<text x="1576.0 1588.0 1600.0 1612.0 1624.0 1636.0 1648.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">1004098</text> -<rect x="1666.0" y="279.0" width="11.0" height="2.0" fill="#6a7ab8"/> -<path d="M1684,280 l-8,-5 v10 Z" fill="#6a7ab8"/> -<text x="1690.0 1702.0 1714.0 1726.0 1738.0 1750.0 1762.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">1004070</text> -<path d="M1780,280 l8,-5 v10 Z" fill="#6a7ab8"/> -<rect x="1787.0" y="279.0" width="11.0" height="2.0" fill="#6a7ab8"/> -<text x="1804.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">9</text> -<text x="86.0 98.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">22</text> -<text x="224.0 236.0 248.0 260.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">head</text> -<text x="272.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">-</text> -<text x="284.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">></text> -<text x="296.0 308.0 320.0 332.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">next</text> -<text x="356.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">=</text> -<text x="380.0 392.0 404.0 416.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">prev</text> -<text x="428.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">2a</text> -<text x="1124.0 1136.0 1148.0 1160.0 1172.0 1184.0 1196.0 1208.0 1220.0 1232.0 1244.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">48 89 48 08</text> -<text x="1304.0 1316.0 1328.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> -<text x="1388.0 1400.0 1412.0 1424.0 1436.0 1448.0 1460.0 1472.0 1484.0 1496.0 1508.0 1520.0 1532.0 1544.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">[rax + 8], rcx</text> -<text x="86.0 98.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">20</text> -<text x="128.0 140.0 152.0 164.0 176.0 188.0 200.0 212.0 224.0 236.0 248.0 260.0 272.0 284.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">while (head) {</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">2e</text> -<text x="1124.0 1136.0 1148.0 1160.0 1172.0 1184.0 1196.0 1208.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">48 85 ff</text> -<text x="1304.0 1316.0 1328.0 1340.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">test</text> -<text x="1388.0 1400.0 1412.0 1424.0 1436.0 1448.0 1460.0 1472.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rdi, rdi</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">31</text> -<text x="1124.0 1136.0 1148.0 1160.0 1172.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">75 ed</text> -<text x="1304.0 1316.0 1328.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">jne</text> -<text x="1388.0 1400.0 1412.0 1424.0 1436.0 1448.0 1460.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">1001920</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="383.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="383.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">33</text> -<text x="1124.0 1136.0" y="383.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">5d</text> -<text x="1304.0 1316.0 1328.0" y="383.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">pop</text> -<text x="1388.0 1400.0 1412.0" y="383.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rbp</text> -<text x="86.0 98.0" y="407.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">26</text> -<text x="176.0 188.0 200.0 212.0 224.0 236.0" y="407.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">return</text> -<text x="260.0 272.0 284.0 296.0" y="407.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">prev</text> -<text x="308.0" y="407.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="407.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="407.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">34</text> -<text x="1124.0 1136.0" y="407.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">c3</text> -<text x="1304.0 1316.0 1328.0" y="407.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">ret</text> -<text x="" y="407.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500"></text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="431.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="431.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">35</text> -<text x="1124.0 1136.0 1148.0 1160.0 1172.0" y="431.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">31 c0</text> -<text x="1304.0 1316.0 1328.0" y="431.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">xor</text> -<text x="1388.0 1400.0 1412.0 1424.0 1436.0 1448.0 1460.0 1472.0" y="431.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">eax, eax</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="455.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="455.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">37</text> -<text x="1124.0 1136.0" y="455.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">c3</text> -<text x="1304.0 1316.0 1328.0" y="455.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">ret</text> -<text x="" y="455.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500"></text> +<rect x="64.0" y="48.0" width="1792.0" height="24.0" fill="#16245f"/> +<rect x="65.0" y="49.0" width="1790.0" height="534.0" fill="none" stroke="#9aa6d9" stroke-width="2"/> +<rect x="72.0" y="54.0" width="12.0" height="12.0" fill="#e8c46a"/> +<text x="92.0" y="66.0" font-family="Go Medium" font-size="20" fill="#eee6d2" xml:space="preserve">list.c · reverse</text> +<text x="1846.0" y="66.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">each line, then the instructions it compiled to · lines and addresses in one column</text> +<rect x="66.0" y="76.0" width="1788.0" height="2.0" fill="#3a4a8a"/> +<rect x="66.0" y="78.0" width="1788.0" height="22.0" fill="#16245f"/> +<text x="172.0 184.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">20</text> +<text x="220.0 232.0 244.0 256.0 268.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">while</text> +<text x="292.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="304.0 316.0 328.0 340.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">head</text> +<text x="352.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="376.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">{</text> +<text x="112.0 124.0 136.0 148.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">910</text> +<text x="244.0 256.0 268.0 280.0 292.0 304.0 316.0 328.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">48 85 ff</text> +<text x="424.0 436.0 448.0 460.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">test</text> +<text x="508.0 520.0 532.0 544.0 556.0 568.0 580.0 592.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rdi, rdi</text> +<text x="112.0 124.0 136.0 148.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">913</text> +<text x="244.0 256.0 268.0 280.0 292.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">74 20</text> +<text x="424.0 436.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">je</text> +<text x="508.0 520.0 532.0 544.0 556.0 568.0 580.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">1001935</text> +<text x="112.0 124.0 136.0 148.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">915</text> +<text x="244.0 256.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">55</text> +<text x="424.0 436.0 448.0 460.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">push</text> +<text x="508.0 520.0 532.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rbp</text> +<text x="112.0 124.0 136.0 148.0" y="191.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="191.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">916</text> +<text x="244.0 256.0 268.0 280.0 292.0 304.0 316.0 328.0" y="191.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">48 89 e5</text> +<text x="424.0 436.0 448.0" y="191.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="508.0 520.0 532.0 544.0 556.0 568.0 580.0 592.0" y="191.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rbp, rsp</text> +<text x="112.0 124.0 136.0 148.0" y="215.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="215.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">919</text> +<text x="244.0 256.0 268.0 280.0 292.0" y="215.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">31 c0</text> +<text x="424.0 436.0 448.0" y="215.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">xor</text> +<text x="508.0 520.0 532.0 544.0 556.0 568.0 580.0 592.0" y="215.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">eax, eax</text> +<text x="112.0 124.0 136.0 148.0" y="239.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="239.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">91b</text> +<text x="244.0 256.0 268.0 280.0 292.0 304.0 316.0 328.0 340.0 352.0 364.0 376.0 388.0 400.0" y="239.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">0f 1f 44 00 00</text> +<text x="424.0 436.0 448.0" y="239.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">nop</text> +<text x="508.0 520.0 532.0 544.0 556.0 568.0 580.0 592.0 604.0 616.0 628.0" y="239.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">[rax + rax]</text> +<text x="112.0 124.0 136.0 148.0" y="263.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="263.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">920</text> +<text x="244.0 256.0 268.0 280.0 292.0 304.0 316.0 328.0" y="263.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">48 89 c1</text> +<text x="424.0 436.0 448.0" y="263.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="508.0 520.0 532.0 544.0 556.0 568.0 580.0 592.0" y="263.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rcx, rax</text> +<text x="112.0 124.0 136.0 148.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">923</text> +<text x="244.0 256.0 268.0 280.0 292.0 304.0 316.0 328.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">48 89 f8</text> +<text x="424.0 436.0 448.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="508.0 520.0 532.0 544.0 556.0 568.0 580.0 592.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rax, rdi</text> +<rect x="66.0" y="292.0" width="1788.0" height="2.0" fill="#3a4a8a"/> +<rect x="66.0" y="294.0" width="1788.0" height="22.0" fill="#16245f"/> +<rect x="146.0" y="294.0" width="50.0" height="22.0" fill="#e8c46a"/> +<text x="172.0 184.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#050a24" xml:space="preserve" font-weight="bold">21</text> +<text x="220.0 232.0 244.0 256.0 268.0 280.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">struct</text> +<text x="304.0 316.0 328.0 340.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">node</text> +<text x="364.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">*</text> +<text x="376.0 388.0 400.0 412.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">next</text> +<text x="436.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">=</text> +<text x="460.0 472.0 484.0 496.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">head</text> +<text x="508.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">-</text> +<text x="520.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">></text> +<text x="532.0 544.0 556.0 568.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">next</text> +<text x="580.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<rect x="66.0" y="316.0" width="1788.0" height="24.0" fill="#222742"/> +<rect x="66.0" y="316.0" width="24.0" height="24.0" fill="#e8c46a"/> +<path d="M84,328 l-10,-6 v12 Z" fill="#050a24"/> +<text x="112.0 124.0 136.0 148.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">926</text> +<text x="244.0 256.0 268.0 280.0 292.0 304.0 316.0 328.0 340.0 352.0 364.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#fff8e8" xml:space="preserve" font-weight="500">48 8b 7f 08</text> +<text x="424.0 436.0 448.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="508.0 520.0 532.0 544.0 556.0 568.0 580.0 592.0 604.0 616.0 628.0 640.0 652.0 664.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rdi, [rdi + 8]</text> +<text x="964.0 976.0 988.0 1000.0 1012.0 1024.0 1036.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">1004098</text> +<rect x="1054.0" y="327.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1072,328 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1078.0 1090.0 1102.0 1114.0 1126.0 1138.0 1150.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">1004070</text> +<path d="M1168,328 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1175.0" y="327.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1192.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">9</text> +<rect x="66.0" y="340.0" width="1788.0" height="2.0" fill="#3a4a8a"/> +<rect x="66.0" y="342.0" width="1788.0" height="22.0" fill="#16245f"/> +<text x="172.0 184.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">22</text> +<text x="220.0 232.0 244.0 256.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">head</text> +<text x="268.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">-</text> +<text x="280.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">></text> +<text x="292.0 304.0 316.0 328.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">next</text> +<text x="352.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">=</text> +<text x="376.0 388.0 400.0 412.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">prev</text> +<text x="424.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="112.0 124.0 136.0 148.0" y="383.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="383.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">92a</text> +<text x="244.0 256.0 268.0 280.0 292.0 304.0 316.0 328.0 340.0 352.0 364.0" y="383.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">48 89 48 08</text> +<text x="424.0 436.0 448.0" y="383.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="508.0 520.0 532.0 544.0 556.0 568.0 580.0 592.0 604.0 616.0 628.0 640.0 652.0 664.0" y="383.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">[rax + 8], rcx</text> +<rect x="66.0" y="388.0" width="1788.0" height="2.0" fill="#3a4a8a"/> +<rect x="66.0" y="390.0" width="1788.0" height="22.0" fill="#0a1030"/> +<text x="172.0 184.0" y="407.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">20</text> +<text x="220.0 232.0 244.0 256.0 268.0 280.0 292.0 304.0 316.0 328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0 508.0 520.0 532.0 544.0 556.0 568.0 580.0 592.0 604.0 616.0 628.0 640.0 652.0 664.0" y="407.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">while (head) { again: its second run</text> +<text x="112.0 124.0 136.0 148.0" y="431.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="431.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">92e</text> +<text x="244.0 256.0 268.0 280.0 292.0 304.0 316.0 328.0" y="431.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">48 85 ff</text> +<text x="424.0 436.0 448.0 460.0" y="431.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">test</text> +<text x="508.0 520.0 532.0 544.0 556.0 568.0 580.0 592.0" y="431.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rdi, rdi</text> +<text x="112.0 124.0 136.0 148.0" y="455.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="455.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">931</text> +<text x="244.0 256.0 268.0 280.0 292.0" y="455.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">75 ed</text> +<text x="424.0 436.0 448.0" y="455.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">jne</text> +<text x="508.0 520.0 532.0 544.0 556.0 568.0 580.0" y="455.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">1001920</text> +<text x="112.0 124.0 136.0 148.0" y="479.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="479.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">933</text> +<text x="244.0 256.0" y="479.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">5d</text> +<text x="424.0 436.0 448.0" y="479.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">pop</text> +<text x="508.0 520.0 532.0" y="479.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rbp</text> +<rect x="66.0" y="484.0" width="1788.0" height="2.0" fill="#3a4a8a"/> +<rect x="66.0" y="486.0" width="1788.0" height="22.0" fill="#16245f"/> +<text x="172.0 184.0" y="503.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">26</text> +<text x="220.0 232.0 244.0 256.0 268.0 280.0" y="503.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">return</text> +<text x="304.0 316.0 328.0 340.0" y="503.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">prev</text> +<text x="352.0" y="503.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="112.0 124.0 136.0 148.0" y="527.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="527.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">934</text> +<text x="244.0 256.0" y="527.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">c3</text> +<text x="424.0 436.0 448.0" y="527.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">ret</text> +<text x="" y="527.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500"></text> +<text x="112.0 124.0 136.0 148.0" y="551.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="551.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">935</text> +<text x="244.0 256.0 268.0 280.0 292.0" y="551.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">31 c0</text> +<text x="424.0 436.0 448.0" y="551.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">xor</text> +<text x="508.0 520.0 532.0 544.0 556.0 568.0 580.0 592.0" y="551.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">eax, eax</text> +<text x="112.0 124.0 136.0 148.0" y="575.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="575.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">937</text> +<text x="244.0 256.0" y="575.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">c3</text> +<text x="424.0 436.0 448.0" y="575.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">ret</text> +<text x="" y="575.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500"></text> +<rect x="66.0" y="580.0" width="1788.0" height="2.0" fill="#3a4a8a"/> <text x="64.0" y="964.0" font-size="40" xml:space="preserve"><tspan font-family="JetBrains Mono NL" font-weight="normal" fill="#eee6d2" font-size="35">48 8b 7f 08</tspan><tspan font-family="Go" font-weight="normal" fill="#eee6d2"> is one instruction: </tspan><tspan font-family="JetBrains Mono NL" font-weight="normal" fill="#eee6d2" font-size="35">mov rdi, [rdi + 8]</tspan><tspan font-family="Go" font-weight="normal" fill="#eee6d2">, line 21's</tspan></text> <text x="64.0" y="1018.0" font-size="40" xml:space="preserve"><tspan font-family="JetBrains Mono NL" font-weight="normal" fill="#eee6d2" font-size="35">head->next</tspan><tspan font-family="Go" font-weight="normal" fill="#eee6d2">. The line sits level with its code: they are one row.</tspan></text> </svg> diff --git a/design/mock/33-aligned-480.png b/design/mock/33-aligned-480.png Binary files differindex a54620d..77ecf25 100644 --- a/design/mock/33-aligned-480.png +++ b/design/mock/33-aligned-480.png diff --git a/design/mock/33-aligned.png b/design/mock/33-aligned.png Binary files differindex 5ed74b0..b649754 100644 --- a/design/mock/33-aligned.png +++ b/design/mock/33-aligned.png diff --git a/design/mock/33-aligned.svg b/design/mock/33-aligned.svg index 5c46e27..1762f33 100644 --- a/design/mock/33-aligned.svg +++ b/design/mock/33-aligned.svg @@ -1,198 +1,128 @@ <svg xmlns="http://www.w3.org/2000/svg" width="1920" height="1080" viewBox="0 0 1920 1080"> <defs><pattern id="hatch" width="20" height="20" patternUnits="userSpaceOnUse" patternTransform="rotate(45)"><rect width="5" height="20" fill="#3a4a8a"/></pattern><pattern id="hazard" width="24" height="24" patternUnits="userSpaceOnUse" patternTransform="rotate(45)"><rect width="24" height="24" fill="#050a24"/><rect width="12" height="24" fill="#ff6a4a"/></pattern></defs> <rect width="1920" height="1080" fill="#0a1030"/> -<rect x="64.0" y="48.0" width="880.0" height="24.0" fill="#16245f"/> -<rect x="65.0" y="49.0" width="878.0" height="750.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> -<rect x="73.0" y="55.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> -<text x="92.0" y="66.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">list.c</text> -<text x="934.0" y="66.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">each line beside the first of its instructions</text> -<rect x="976.0" y="48.0" width="880.0" height="24.0" fill="#16245f"/> -<rect x="977.0" y="49.0" width="878.0" height="750.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> -<rect x="985.0" y="55.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> -<text x="1004.0" y="66.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">disassembly</text> -<text x="1846.0" y="66.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">reverse</text> -<rect x="931.0" y="79.0" width="2.0" height="186.0" fill="#3a4a8a"/> -<rect x="926.0" y="79.0" width="7.0" height="2.0" fill="#3a4a8a"/> -<rect x="926.0" y="263.0" width="7.0" height="2.0" fill="#3a4a8a"/> -<rect x="931.0" y="271.0" width="2.0" height="18.0" fill="#3a4a8a"/> -<rect x="926.0" y="271.0" width="7.0" height="2.0" fill="#3a4a8a"/> -<rect x="926.0" y="287.0" width="7.0" height="2.0" fill="#3a4a8a"/> -<rect x="931.0" y="295.0" width="2.0" height="18.0" fill="#3a4a8a"/> -<rect x="926.0" y="295.0" width="7.0" height="2.0" fill="#3a4a8a"/> -<rect x="926.0" y="311.0" width="7.0" height="2.0" fill="#3a4a8a"/> -<rect x="931.0" y="319.0" width="2.0" height="66.0" fill="#3a4a8a"/> -<rect x="926.0" y="319.0" width="7.0" height="2.0" fill="#3a4a8a"/> -<rect x="926.0" y="383.0" width="7.0" height="2.0" fill="#3a4a8a"/> -<rect x="931.0" y="391.0" width="2.0" height="66.0" fill="#3a4a8a"/> -<rect x="926.0" y="391.0" width="7.0" height="2.0" fill="#3a4a8a"/> -<rect x="926.0" y="455.0" width="7.0" height="2.0" fill="#3a4a8a"/> -<text x="86.0 98.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">20</text> -<text x="176.0 188.0 200.0 212.0 224.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">while</text> -<text x="248.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> -<text x="260.0 272.0 284.0 296.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">head</text> -<text x="308.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> -<text x="332.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">{</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">10</text> -<text x="1124.0 1136.0 1148.0 1160.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">test</text> -<text x="1208.0 1220.0 1232.0 1244.0 1256.0 1268.0 1280.0 1292.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rdi, rdi</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">13</text> -<text x="1124.0 1136.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">je</text> -<text x="1208.0 1220.0 1232.0 1244.0 1256.0 1268.0 1280.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">1001935</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">15</text> -<text x="1124.0 1136.0 1148.0 1160.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">push</text> -<text x="1208.0 1220.0 1232.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rbp</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">16</text> -<text x="1124.0 1136.0 1148.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> -<text x="1208.0 1220.0 1232.0 1244.0 1256.0 1268.0 1280.0 1292.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rbp, rsp</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="191.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="191.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">19</text> -<text x="1124.0 1136.0 1148.0" y="191.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">xor</text> -<text x="1208.0 1220.0 1232.0 1244.0 1256.0 1268.0 1280.0 1292.0" y="191.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">eax, eax</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="215.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="215.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">1b</text> -<text x="1124.0 1136.0 1148.0" y="215.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">nop</text> -<text x="1208.0 1220.0 1232.0 1244.0 1256.0 1268.0 1280.0 1292.0 1304.0 1316.0 1328.0" y="215.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">[rax + rax]</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="239.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="239.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">20</text> -<text x="1124.0 1136.0 1148.0" y="239.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> -<text x="1208.0 1220.0 1232.0 1244.0 1256.0 1268.0 1280.0 1292.0" y="239.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rcx, rax</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="263.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="263.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">23</text> -<text x="1124.0 1136.0 1148.0" y="263.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> -<text x="1208.0 1220.0 1232.0 1244.0 1256.0 1268.0 1280.0 1292.0" y="263.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rax, rdi</text> -<rect x="66.0" y="268.0" width="876.0" height="24.0" fill="#222742"/> -<rect x="944.0" y="268.0" width="32.0" height="24.0" fill="#222742"/> -<rect x="978.0" y="268.0" width="876.0" height="24.0" fill="#222742"/> -<rect x="978.0" y="268.0" width="24.0" height="24.0" fill="#e8c46a"/> -<path d="M996,280 l-10,-6 v12 Z" fill="#050a24"/> -<rect x="66.0" y="268.0" width="50.0" height="24.0" fill="#e8c46a"/> -<text x="86.0 98.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#050a24" xml:space="preserve" font-weight="bold">21</text> -<text x="224.0 236.0 248.0 260.0 272.0 284.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">struct</text> -<text x="308.0 320.0 332.0 344.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">node</text> -<text x="368.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">*</text> -<text x="380.0 392.0 404.0 416.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">next</text> -<text x="440.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">=</text> -<text x="464.0 476.0 488.0 500.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">head</text> -<text x="512.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">-</text> -<text x="524.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">></text> -<text x="536.0 548.0 560.0 572.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">next</text> -<text x="584.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">26</text> -<text x="1124.0 1136.0 1148.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> -<text x="1208.0 1220.0 1232.0 1244.0 1256.0 1268.0 1280.0 1292.0 1304.0 1316.0 1328.0 1340.0 1352.0 1364.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rdi, [rdi + 8]</text> -<text x="1576.0 1588.0 1600.0 1612.0 1624.0 1636.0 1648.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">1004098</text> -<rect x="1666.0" y="279.0" width="11.0" height="2.0" fill="#6a7ab8"/> -<path d="M1684,280 l-8,-5 v10 Z" fill="#6a7ab8"/> -<text x="1690.0 1702.0 1714.0 1726.0 1738.0 1750.0 1762.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">1004070</text> -<path d="M1780,280 l8,-5 v10 Z" fill="#6a7ab8"/> -<rect x="1787.0" y="279.0" width="11.0" height="2.0" fill="#6a7ab8"/> -<text x="1804.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">9</text> -<text x="86.0 98.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">22</text> -<text x="224.0 236.0 248.0 260.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">head</text> -<text x="272.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">-</text> -<text x="284.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">></text> -<text x="296.0 308.0 320.0 332.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">next</text> -<text x="356.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">=</text> -<text x="380.0 392.0 404.0 416.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">prev</text> -<text x="428.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">2a</text> -<text x="1124.0 1136.0 1148.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> -<text x="1208.0 1220.0 1232.0 1244.0 1256.0 1268.0 1280.0 1292.0 1304.0 1316.0 1328.0 1340.0 1352.0 1364.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">[rax + 8], rcx</text> -<text x="86.0 98.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">20</text> -<text x="128.0 140.0 152.0 164.0 176.0 188.0 200.0 212.0 224.0 236.0 248.0 260.0 272.0 284.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">while (head) {</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">2e</text> -<text x="1124.0 1136.0 1148.0 1160.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">test</text> -<text x="1208.0 1220.0 1232.0 1244.0 1256.0 1268.0 1280.0 1292.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rdi, rdi</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">31</text> -<text x="1124.0 1136.0 1148.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">jne</text> -<text x="1208.0 1220.0 1232.0 1244.0 1256.0 1268.0 1280.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">1001920</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="383.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="383.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">33</text> -<text x="1124.0 1136.0 1148.0" y="383.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">pop</text> -<text x="1208.0 1220.0 1232.0" y="383.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rbp</text> -<text x="86.0 98.0" y="407.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">26</text> -<text x="176.0 188.0 200.0 212.0 224.0 236.0" y="407.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">return</text> -<text x="260.0 272.0 284.0 296.0" y="407.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">prev</text> -<text x="308.0" y="407.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="407.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="407.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">34</text> -<text x="1124.0 1136.0 1148.0" y="407.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">ret</text> -<text x="" y="407.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500"></text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="431.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="431.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">35</text> -<text x="1124.0 1136.0 1148.0" y="431.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">xor</text> -<text x="1208.0 1220.0 1232.0 1244.0 1256.0 1268.0 1280.0 1292.0" y="431.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">eax, eax</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="455.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="455.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">37</text> -<text x="1124.0 1136.0 1148.0" y="455.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">ret</text> -<text x="" y="455.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500"></text> -<text x="128.0" y="479.2" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve">_init · no line</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="479.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="479.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">38</text> -<text x="1124.0 1136.0 1148.0 1160.0 1172.0 1184.0 1196.0" y="479.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">endbr64</text> -<text x="" y="479.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500"></text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="503.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="503.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">3c</text> -<text x="1124.0 1136.0 1148.0" y="503.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">sub</text> -<text x="1208.0 1220.0 1232.0 1244.0 1256.0 1268.0" y="503.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rsp, 8</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="527.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="527.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">40</text> -<text x="1124.0 1136.0 1148.0" y="527.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> -<text x="1208.0 1220.0 1232.0 1244.0 1256.0 1268.0 1280.0 1292.0 1304.0 1316.0 1328.0 1340.0 1352.0 1364.0 1376.0 1388.0 1400.0 1412.0 1424.0" y="527.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rax, [rip + 0x1231]</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="551.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="551.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">47</text> -<text x="1124.0 1136.0 1148.0 1160.0" y="551.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">test</text> -<text x="1208.0 1220.0 1232.0 1244.0 1256.0 1268.0 1280.0 1292.0" y="551.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rax, rax</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="575.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="575.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">4a</text> -<text x="1124.0 1136.0" y="575.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">je</text> -<text x="1208.0 1220.0 1232.0 1244.0 1256.0 1268.0 1280.0" y="575.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">100194e</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="599.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="599.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">4c</text> -<text x="1124.0 1136.0 1148.0 1160.0" y="599.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">call</text> -<text x="1208.0 1220.0 1232.0" y="599.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rax</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="623.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="623.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">4e</text> -<text x="1124.0 1136.0 1148.0" y="623.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">add</text> -<text x="1208.0 1220.0 1232.0 1244.0 1256.0 1268.0" y="623.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rsp, 8</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="647.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="647.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">52</text> -<text x="1124.0 1136.0 1148.0" y="647.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">ret</text> -<text x="" y="647.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500"></text> -<text x="128.0" y="671.2" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve">_fini · no line</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="671.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="671.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">54</text> -<text x="1124.0 1136.0 1148.0 1160.0 1172.0 1184.0 1196.0" y="671.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">endbr64</text> -<text x="" y="671.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500"></text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="695.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="695.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">58</text> -<text x="1124.0 1136.0 1148.0" y="695.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">sub</text> -<text x="1208.0 1220.0 1232.0 1244.0 1256.0 1268.0" y="695.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rsp, 8</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="719.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="719.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">5c</text> -<text x="1124.0 1136.0 1148.0" y="719.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">add</text> -<text x="1208.0 1220.0 1232.0 1244.0 1256.0 1268.0" y="719.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rsp, 8</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="743.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="743.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">60</text> -<text x="1124.0 1136.0 1148.0" y="743.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">ret</text> -<text x="" y="743.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500"></text> -<text x="128.0" y="767.2" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve">strtol@plt-0x10 · no line</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="767.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="767.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">70</text> -<text x="1124.0 1136.0 1148.0 1160.0" y="767.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">push</text> -<text x="1208.0 1220.0 1232.0 1244.0 1256.0 1268.0 1280.0 1292.0 1304.0 1316.0 1328.0 1340.0 1352.0 1364.0" y="767.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">[rip + 0x1222]</text> -<text x="1016.0 1028.0 1040.0 1052.0 1064.0" y="791.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">10019</text> -<text x="1076.0 1088.0" y="791.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">76</text> -<text x="1124.0 1136.0 1148.0" y="791.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">jmp</text> -<text x="1208.0 1220.0 1232.0 1244.0 1256.0 1268.0 1280.0 1292.0 1304.0 1316.0 1328.0 1340.0 1352.0 1364.0" y="791.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">[rip + 0x1224]</text> -<text x="64.0" y="964.0" font-size="40" xml:space="preserve"><tspan font-family="Go" font-weight="normal" fill="#eee6d2">Line 20, </tspan><tspan font-family="JetBrains Mono NL" font-weight="normal" fill="#eee6d2" font-size="35">while (head)</tspan><tspan font-family="Go" font-weight="normal" fill="#eee6d2">, has two runs: its test before the body</tspan></text> -<text x="64.0" y="1018.0" font-size="40" xml:space="preserve"><tspan font-family="Go" font-weight="normal" fill="#eee6d2">and again after it. Lines 23 to 25 have no code of their own.</tspan></text> +<rect x="64.0" y="48.0" width="1792.0" height="24.0" fill="#16245f"/> +<rect x="65.0" y="49.0" width="1790.0" height="534.0" fill="none" stroke="#9aa6d9" stroke-width="2"/> +<rect x="72.0" y="54.0" width="12.0" height="12.0" fill="#e8c46a"/> +<text x="92.0" y="66.0" font-family="Go Medium" font-size="20" fill="#eee6d2" xml:space="preserve">list.c · reverse</text> +<text x="1846.0" y="66.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">each line, then the instructions it compiled to · lines and addresses in one column</text> +<rect x="66.0" y="76.0" width="1788.0" height="2.0" fill="#3a4a8a"/> +<rect x="66.0" y="78.0" width="1788.0" height="22.0" fill="#16245f"/> +<text x="172.0 184.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">20</text> +<text x="220.0 232.0 244.0 256.0 268.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">while</text> +<text x="292.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="304.0 316.0 328.0 340.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">head</text> +<text x="352.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="376.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">{</text> +<text x="112.0 124.0 136.0 148.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">910</text> +<text x="244.0 256.0 268.0 280.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">test</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rdi, rdi</text> +<text x="112.0 124.0 136.0 148.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">913</text> +<text x="244.0 256.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">je</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">1001935</text> +<text x="112.0 124.0 136.0 148.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">915</text> +<text x="244.0 256.0 268.0 280.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">push</text> +<text x="328.0 340.0 352.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rbp</text> +<text x="112.0 124.0 136.0 148.0" y="191.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="191.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">916</text> +<text x="244.0 256.0 268.0" y="191.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0" y="191.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rbp, rsp</text> +<text x="112.0 124.0 136.0 148.0" y="215.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="215.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">919</text> +<text x="244.0 256.0 268.0" y="215.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">xor</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0" y="215.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">eax, eax</text> +<text x="112.0 124.0 136.0 148.0" y="239.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="239.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">91b</text> +<text x="244.0 256.0 268.0" y="239.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">nop</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0" y="239.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">[rax + rax]</text> +<text x="112.0 124.0 136.0 148.0" y="263.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="263.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">920</text> +<text x="244.0 256.0 268.0" y="263.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0" y="263.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rcx, rax</text> +<text x="112.0 124.0 136.0 148.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">923</text> +<text x="244.0 256.0 268.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rax, rdi</text> +<rect x="66.0" y="292.0" width="1788.0" height="2.0" fill="#3a4a8a"/> +<rect x="66.0" y="294.0" width="1788.0" height="22.0" fill="#16245f"/> +<rect x="146.0" y="294.0" width="50.0" height="22.0" fill="#e8c46a"/> +<text x="172.0 184.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#050a24" xml:space="preserve" font-weight="bold">21</text> +<text x="220.0 232.0 244.0 256.0 268.0 280.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">struct</text> +<text x="304.0 316.0 328.0 340.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">node</text> +<text x="364.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">*</text> +<text x="376.0 388.0 400.0 412.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">next</text> +<text x="436.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">=</text> +<text x="460.0 472.0 484.0 496.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">head</text> +<text x="508.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">-</text> +<text x="520.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">></text> +<text x="532.0 544.0 556.0 568.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">next</text> +<text x="580.0" y="311.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<rect x="66.0" y="316.0" width="1788.0" height="24.0" fill="#222742"/> +<rect x="66.0" y="316.0" width="24.0" height="24.0" fill="#e8c46a"/> +<path d="M84,328 l-10,-6 v12 Z" fill="#050a24"/> +<text x="112.0 124.0 136.0 148.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">926</text> +<text x="244.0 256.0 268.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rdi, [rdi + 8]</text> +<text x="964.0 976.0 988.0 1000.0 1012.0 1024.0 1036.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">1004098</text> +<rect x="1054.0" y="327.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1072,328 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1078.0 1090.0 1102.0 1114.0 1126.0 1138.0 1150.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">1004070</text> +<path d="M1168,328 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1175.0" y="327.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1192.0" y="335.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">9</text> +<rect x="66.0" y="340.0" width="1788.0" height="2.0" fill="#3a4a8a"/> +<rect x="66.0" y="342.0" width="1788.0" height="22.0" fill="#16245f"/> +<text x="172.0 184.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">22</text> +<text x="220.0 232.0 244.0 256.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">head</text> +<text x="268.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">-</text> +<text x="280.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">></text> +<text x="292.0 304.0 316.0 328.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">next</text> +<text x="352.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">=</text> +<text x="376.0 388.0 400.0 412.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">prev</text> +<text x="424.0" y="359.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="112.0 124.0 136.0 148.0" y="383.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="383.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">92a</text> +<text x="244.0 256.0 268.0" y="383.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0" y="383.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">[rax + 8], rcx</text> +<rect x="66.0" y="388.0" width="1788.0" height="2.0" fill="#3a4a8a"/> +<rect x="66.0" y="390.0" width="1788.0" height="22.0" fill="#0a1030"/> +<text x="172.0 184.0" y="407.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">20</text> +<text x="220.0 232.0 244.0 256.0 268.0 280.0 292.0 304.0 316.0 328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0 508.0 520.0 532.0 544.0 556.0 568.0 580.0 592.0 604.0 616.0 628.0 640.0 652.0 664.0" y="407.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">while (head) { again: its second run</text> +<text x="112.0 124.0 136.0 148.0" y="431.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="431.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">92e</text> +<text x="244.0 256.0 268.0 280.0" y="431.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">test</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0" y="431.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rdi, rdi</text> +<text x="112.0 124.0 136.0 148.0" y="455.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="455.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">931</text> +<text x="244.0 256.0 268.0" y="455.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">jne</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0" y="455.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">1001920</text> +<text x="112.0 124.0 136.0 148.0" y="479.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="479.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">933</text> +<text x="244.0 256.0 268.0" y="479.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">pop</text> +<text x="328.0 340.0 352.0" y="479.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rbp</text> +<rect x="66.0" y="484.0" width="1788.0" height="2.0" fill="#3a4a8a"/> +<rect x="66.0" y="486.0" width="1788.0" height="22.0" fill="#16245f"/> +<text x="172.0 184.0" y="503.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">26</text> +<text x="220.0 232.0 244.0 256.0 268.0 280.0" y="503.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">return</text> +<text x="304.0 316.0 328.0 340.0" y="503.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">prev</text> +<text x="352.0" y="503.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="112.0 124.0 136.0 148.0" y="527.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="527.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">934</text> +<text x="244.0 256.0 268.0" y="527.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">ret</text> +<text x="" y="527.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500"></text> +<text x="112.0 124.0 136.0 148.0" y="551.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="551.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">935</text> +<text x="244.0 256.0 268.0" y="551.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">xor</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0" y="551.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">eax, eax</text> +<text x="112.0 124.0 136.0 148.0" y="575.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">1001</text> +<text x="160.0 172.0 184.0" y="575.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">937</text> +<text x="244.0 256.0 268.0" y="575.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">ret</text> +<text x="" y="575.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500"></text> +<rect x="66.0" y="580.0" width="1788.0" height="2.0" fill="#3a4a8a"/> +<text x="64.0" y="964.0" font-size="40" xml:space="preserve"><tspan font-family="Go" font-weight="normal" fill="#eee6d2">Line 20, </tspan><tspan font-family="JetBrains Mono NL" font-weight="normal" fill="#eee6d2" font-size="35">while (head)</tspan><tspan font-family="Go" font-weight="normal" fill="#eee6d2">, comes twice: its test before the body and</tspan></text> +<text x="64.0" y="1018.0" font-size="40" xml:space="preserve"><tspan font-family="Go" font-weight="normal" fill="#eee6d2">again after it. Lines 23 to 25 have no code of their own: no group.</tspan></text> </svg> diff --git a/design/mock/34-segments.png b/design/mock/34-segments.png Binary files differnew file mode 100644 index 0000000..03d26db --- /dev/null +++ b/design/mock/34-segments.png diff --git a/design/mock/34-segments.svg b/design/mock/34-segments.svg new file mode 100644 index 0000000..5c5505b --- /dev/null +++ b/design/mock/34-segments.svg @@ -0,0 +1,213 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="1920" height="1080" viewBox="0 0 1920 1080"> +<defs><pattern id="hatch" width="20" height="20" patternUnits="userSpaceOnUse" patternTransform="rotate(45)"><rect width="5" height="20" fill="#3a4a8a"/></pattern><pattern id="hazard" width="24" height="24" patternUnits="userSpaceOnUse" patternTransform="rotate(45)"><rect width="24" height="24" fill="#050a24"/><rect width="12" height="24" fill="#ff6a4a"/></pattern></defs> +<rect width="1920" height="1080" fill="#0a1030"/> +<text x="548.0" y="104.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">ffffffffffffffff</text> +<rect x="560.0" y="110.0" width="140.0" height="24.0" fill="#91566a"/> +<rect x="560.0" y="110.0" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M704,122.0 H752" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0 772.0 784.0" y="129.0" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">--x</text> +<text x="808.0" y="129.0" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">[vsyscall]</text> +<text x="978.0 990.0 1002.0 1014.0 1026.0" y="129.0" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4 KiB</text> +<text x="356.0 368.0 380.0 392.0 404.0 416.0 428.0 440.0 452.0 464.0 476.0 488.0 500.0 512.0 524.0 536.0" y="129.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">ffffffffff600000</text> +<rect x="560.0" y="134.0" width="140.0" height="40.0" fill="#0a1030"/> +<rect x="561.0" y="134.0" width="138.0" height="40.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<path d="M554,148 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<path d="M554,158 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0" y="160.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve">nothing mapped · 15 EiB</text> +<rect x="560.0" y="174.0" width="140.0" height="44.2" fill="#8a7d56"/> +<rect x="560.0" y="174.0" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M704,196.08878823871692 H752" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0 772.0 784.0" y="203.1" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">rw-</text> +<text x="808.0" y="203.1" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">[stack]</text> +<text x="978.0 990.0 1002.0 1014.0 1026.0 1038.0 1050.0" y="203.1" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">132 KiB</text> +<text x="404.0 416.0 428.0 440.0 452.0 464.0 476.0 488.0 500.0 512.0 524.0 536.0" y="213.4" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7ffffffde000</text> +<rect x="560.0" y="218.2" width="140.0" height="40.0" fill="#0a1030"/> +<rect x="561.0" y="218.2" width="138.0" height="40.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<path d="M554,232 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<path d="M554,242 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0" y="244.2" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve">nothing mapped · 127 MiB</text> +<rect x="560.0" y="258.2" width="140.0" height="24.0" fill="#7a5d9c"/> +<rect x="560.0" y="258.2" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M704,270.17757647743383 H752" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0 772.0 784.0" y="277.2" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">rw-</text> +<text x="808.0" y="277.2" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">data (anonymous)</text> +<text x="978.0 990.0 1002.0 1014.0 1026.0" y="277.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4 KiB</text> +<text x="404.0 416.0 428.0 440.0 452.0 464.0 476.0 488.0 500.0 512.0 524.0 536.0" y="277.4" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">7ffff7ffe000</text> +<rect x="560.0" y="282.2" width="140.0" height="24.0" fill="#7a5d9c"/> +<rect x="560.0" y="282.2" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M704,294.17757647743383 H752" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0 772.0 784.0" y="301.2" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">rw-</text> +<text x="808.0" y="301.2" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">data</text> +<text x="978.0 990.0 1002.0 1014.0 1026.0" y="301.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4 KiB</text> +<text x="404.0 416.0 428.0 440.0 452.0 464.0 476.0 488.0 500.0 512.0 524.0 536.0" y="301.4" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">7ffff7ffd000</text> +<rect x="560.0" y="306.2" width="140.0" height="28.0" fill="#878689"/> +<rect x="560.0" y="306.2" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M704,320.17757647743383 H752" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0 772.0 784.0" y="327.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r--</text> +<text x="808.0" y="327.2" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">read-only</text> +<text x="978.0 990.0 1002.0 1014.0 1026.0" y="327.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">8 KiB</text> +<text x="404.0 416.0 428.0 440.0 452.0 464.0 476.0 488.0 500.0 512.0 524.0 536.0" y="329.4" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7ffff7ffb000</text> +<rect x="560.0" y="334.2" width="140.0" height="39.6" fill="#878689"/> +<rect x="560.0" y="334.2" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M704,353.9913576686509 H752" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0 772.0 784.0" y="361.0" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r--</text> +<text x="808.0" y="361.0" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">read-only</text> +<text x="978.0 990.0 1002.0 1014.0 1026.0 1038.0" y="361.0" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">60 KiB</text> +<text x="404.0 416.0 428.0 440.0 452.0 464.0 476.0 488.0 500.0 512.0 524.0 536.0" y="369.0" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7ffff7fec000</text> +<rect x="560.0" y="373.8" width="140.0" height="46.0" fill="#91566a"/> +<rect x="560.0" y="373.8" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M704,396.7888450525272 H752" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0 772.0 784.0" y="403.8" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">r-x</text> +<text x="808.0" y="403.8" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">code</text> +<text x="978.0 990.0 1002.0 1014.0 1026.0 1038.0 1050.0" y="403.8" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">180 KiB</text> +<text x="404.0 416.0 428.0 440.0 452.0 464.0 476.0 488.0 500.0 512.0 524.0 536.0" y="415.0" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">7ffff7fbf000</text> +<rect x="560.0" y="419.8" width="140.0" height="24.0" fill="#878689"/> +<rect x="560.0" y="419.8" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M704,431.7725512451866 H752" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0 772.0 784.0" y="438.8" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r--</text> +<text x="808.0" y="438.8" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">read-only</text> +<text x="978.0 990.0 1002.0 1014.0 1026.0" y="438.8" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4 KiB</text> +<text x="404.0 416.0 428.0 440.0 452.0 464.0 476.0 488.0 500.0 512.0 524.0 536.0" y="439.0" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7ffff7fbe000</text> +<rect x="560.0" y="443.8" width="140.0" height="28.0" fill="#91566a"/> +<rect x="560.0" y="443.8" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M704,457.7725512451866 H752" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0 772.0 784.0" y="464.8" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">r-x</text> +<text x="808.0" y="464.8" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">[vdso]</text> +<text x="978.0 990.0 1002.0 1014.0 1026.0" y="464.8" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">8 KiB</text> +<text x="404.0 416.0 428.0 440.0 452.0 464.0 476.0 488.0 500.0 512.0 524.0 536.0" y="467.0" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">7ffff7fbc000</text> +<rect x="560.0" y="471.8" width="140.0" height="34.3" fill="#878689"/> +<rect x="560.0" y="471.8" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M704,488.9424762466289 H752" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0 772.0 784.0" y="495.9" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r--</text> +<text x="808.0" y="495.9" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">[vvar]</text> +<text x="978.0 990.0 1002.0 1014.0 1026.0 1038.0" y="495.9" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">24 KiB</text> +<text x="404.0 416.0 428.0 440.0 452.0 464.0 476.0 488.0 500.0 512.0 524.0 536.0" y="501.3" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7ffff7fb6000</text> +<rect x="560.0" y="506.1" width="140.0" height="48.1" fill="#878689"/> +<rect x="560.0" y="506.1" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M704,530.1571368741281 H752" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0 772.0 784.0" y="537.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r--</text> +<text x="808.0" y="537.2" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">read-only</text> +<text x="978.0 990.0 1002.0 1014.0 1026.0 1038.0 1050.0" y="537.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">260 KiB</text> +<text x="404.0 416.0 428.0 440.0 452.0 464.0 476.0 488.0 500.0 512.0 524.0 536.0" y="549.4" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7ffff7f75000</text> +<rect x="560.0" y="554.2" width="140.0" height="33.3" fill="#7a5d9c"/> +<rect x="560.0" y="554.2" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M704,570.8457286899599 H752" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0 772.0 784.0" y="577.8" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">rw-</text> +<text x="808.0" y="577.8" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">data (anonymous)</text> +<text x="978.0 990.0 1002.0 1014.0 1026.0 1038.0" y="577.8" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">20 KiB</text> +<text x="404.0 416.0 428.0 440.0 452.0 464.0 476.0 488.0 500.0 512.0 524.0 536.0" y="582.7" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">7ffff7f70000</text> +<rect x="560.0" y="587.5" width="140.0" height="40.0" fill="#0a1030"/> +<rect x="561.0" y="587.5" width="138.0" height="40.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<path d="M554,601 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<path d="M554,611 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0" y="613.5" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve">nothing mapped · 1.3 MiB</text> +<rect x="560.0" y="627.5" width="140.0" height="36.0" fill="#7a5d9c"/> +<rect x="560.0" y="627.5" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M704,645.4895848797346 H752" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0 772.0 784.0" y="652.5" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">rw-</text> +<text x="808.0" y="652.5" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">data (anonymous)</text> +<text x="978.0 990.0 1002.0 1014.0 1026.0 1038.0" y="652.5" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">32 KiB</text> +<text x="404.0 416.0 428.0 440.0 452.0 464.0 476.0 488.0 500.0 512.0 524.0 536.0" y="658.7" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">7ffff7e1b000</text> +<rect x="560.0" y="663.5" width="140.0" height="28.0" fill="#7a5d9c"/> +<rect x="560.0" y="663.5" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M704,677.4895848797346 H752" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0 772.0 784.0" y="684.5" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">rw-</text> +<text x="808.0" y="684.5" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">data</text> +<text x="978.0 990.0 1002.0 1014.0 1026.0" y="684.5" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">8 KiB</text> +<text x="404.0 416.0 428.0 440.0 452.0 464.0 476.0 488.0 500.0 512.0 524.0 536.0" y="686.7" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">7ffff7e19000</text> +<rect x="560.0" y="691.5" width="140.0" height="32.0" fill="#878689"/> +<rect x="560.0" y="691.5" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M704,707.4895848797346 H752" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0 772.0 784.0" y="714.5" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r--</text> +<text x="808.0" y="714.5" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">read-only</text> +<text x="978.0 990.0 1002.0 1014.0 1026.0 1038.0" y="714.5" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">16 KiB</text> +<text x="404.0 416.0 428.0 440.0 452.0 464.0 476.0 488.0 500.0 512.0 524.0 536.0" y="718.7" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7ffff7e15000</text> +<rect x="560.0" y="723.5" width="140.0" height="51.5" fill="#878689"/> +<rect x="560.0" y="723.5" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M704,749.2548709784583 H752" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0 772.0 784.0" y="756.3" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r--</text> +<text x="808.0" y="756.3" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">read-only</text> +<text x="978.0 990.0 1002.0 1014.0 1026.0 1038.0 1050.0" y="756.3" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">472 KiB</text> +<text x="404.0 416.0 428.0 440.0 452.0 464.0 476.0 488.0 500.0 512.0 524.0 536.0" y="770.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7ffff7d9f000</text> +<rect x="560.0" y="775.0" width="140.0" height="58.3" fill="#91566a"/> +<rect x="560.0" y="775.0" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M704,804.1522651535241 H752" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0 772.0 784.0" y="811.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">r-x</text> +<text x="808.0" y="811.2" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">code</text> +<text x="978.0 990.0 1002.0 1014.0 1026.0 1038.0 1050.0" y="811.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">1.5 MiB</text> +<text x="404.0 416.0 428.0 440.0 452.0 464.0 476.0 488.0 500.0 512.0 524.0 536.0" y="828.5" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">7ffff7c24000</text> +<rect x="560.0" y="833.3" width="140.0" height="44.7" fill="#878689"/> +<rect x="560.0" y="833.3" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M704,855.624223232751 H752" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0 772.0 784.0" y="862.6" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r--</text> +<text x="808.0" y="862.6" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">read-only</text> +<text x="978.0 990.0 1002.0 1014.0 1026.0 1038.0 1050.0" y="862.6" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">144 KiB</text> +<text x="404.0 416.0 428.0 440.0 452.0 464.0 476.0 488.0 500.0 512.0 524.0 536.0" y="873.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7ffff7c00000</text> +<rect x="560.0" y="878.0" width="140.0" height="40.0" fill="#0a1030"/> +<rect x="561.0" y="878.0" width="138.0" height="40.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<path d="M554,891 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<path d="M554,901 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6 l10,-6 l10,6" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0" y="904.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve">nothing mapped · 127 TiB</text> +<rect x="560.0" y="918.0" width="140.0" height="44.2" fill="#4e6ba2"/> +<rect x="560.0" y="918.0" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M704,940.0528614743525 H752" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0 772.0 784.0" y="947.1" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">rw-</text> +<text x="808.0" y="947.1" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">[heap]</text> +<text x="978.0 990.0 1002.0 1014.0 1026.0 1038.0 1050.0" y="947.1" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">132 KiB</text> +<text x="464.0 476.0 488.0 500.0 512.0 524.0 536.0" y="957.3" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">1004000</text> +<rect x="560.0" y="962.1" width="140.0" height="24.0" fill="#7a5d9c"/> +<rect x="560.0" y="962.1" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M704,974.1416497130695 H752" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0 772.0 784.0" y="981.1" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">rw-</text> +<text x="808.0" y="981.1" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">data</text> +<text x="978.0 990.0 1002.0 1014.0 1026.0" y="981.1" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4 KiB</text> +<text x="464.0 476.0 488.0 500.0 512.0 524.0 536.0" y="981.3" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">1003000</text> +<rect x="560.0" y="986.1" width="140.0" height="24.0" fill="#878689"/> +<rect x="560.0" y="986.1" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M704,998.1416497130695 H752" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0 772.0 784.0" y="1005.1" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r--</text> +<text x="808.0" y="1005.1" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">read-only</text> +<text x="978.0 990.0 1002.0 1014.0 1026.0" y="1005.1" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4 KiB</text> +<text x="464.0 476.0 488.0 500.0 512.0 524.0 536.0" y="1005.3" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">1002000</text> +<rect x="560.0" y="1010.1" width="140.0" height="24.0" fill="#91566a"/> +<rect x="560.0" y="1010.1" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M704,1022.1416497130695 H752" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0 772.0 784.0" y="1029.1" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">r-x</text> +<text x="808.0" y="1029.1" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">code</text> +<text x="978.0 990.0 1002.0 1014.0 1026.0" y="1029.1" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4 KiB</text> +<text x="464.0 476.0 488.0 500.0 512.0 524.0 536.0" y="1029.3" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">1001000</text> +<rect x="560.0" y="1034.1" width="140.0" height="24.0" fill="#878689"/> +<rect x="560.0" y="1034.1" width="140.0" height="2.0" fill="#0a1030"/> +<path d="M704,1046.1416497130695 H752" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="760.0 772.0 784.0" y="1053.1" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r--</text> +<text x="808.0" y="1053.1" font-family="Go" font-size="18" fill="#9aa6d9" xml:space="preserve">read-only</text> +<text x="978.0 990.0 1002.0 1014.0 1026.0" y="1053.1" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4 KiB</text> +<text x="464.0 476.0 488.0 500.0 512.0 524.0 536.0" y="1053.3" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">1000000</text> +<rect x="1087.0" y="285.2" width="2.0" height="155.6" fill="#9aa6d9"/> +<rect x="1081.0" y="285.2" width="8.0" height="2.0" fill="#9aa6d9"/> +<rect x="1081.0" y="438.8" width="8.0" height="2.0" fill="#9aa6d9"/> +<text x="1100.0 1112.0 1124.0 1136.0 1148.0" y="370.0" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ld.so</text> +<rect x="1087.0" y="509.1" width="2.0" height="42.1" fill="#9aa6d9"/> +<rect x="1081.0" y="509.1" width="8.0" height="2.0" fill="#9aa6d9"/> +<rect x="1081.0" y="549.2" width="8.0" height="2.0" fill="#9aa6d9"/> +<text x="1100.0 1112.0 1124.0 1136.0 1148.0 1160.0 1172.0 1184.0 1196.0 1208.0 1220.0" y="537.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ld.so.cache</text> +<rect x="1087.0" y="666.5" width="2.0" height="208.5" fill="#9aa6d9"/> +<rect x="1081.0" y="666.5" width="8.0" height="2.0" fill="#9aa6d9"/> +<rect x="1081.0" y="873.0" width="8.0" height="2.0" fill="#9aa6d9"/> +<text x="1100.0 1112.0 1124.0 1136.0 1148.0 1160.0 1172.0 1184.0 1196.0" y="777.7" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">libc.so.6</text> +<rect x="1087.0" y="965.1" width="2.0" height="90.0" fill="#9aa6d9"/> +<rect x="1081.0" y="965.1" width="8.0" height="2.0" fill="#9aa6d9"/> +<rect x="1081.0" y="1053.1" width="8.0" height="2.0" fill="#9aa6d9"/> +<text x="1100.0 1112.0 1124.0 1136.0" y="1017.1" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">list</text> +<text x="548.0" y="1076.1" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">0</text> +<path d="M676.0,182.0 L676.0,206.2" fill="none" stroke="#fff8e8" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<path d="M676.0,212.2 L672.0,204.2 L680.0,204.2 Z" fill="#fff8e8"/> +<path d="M676.0,956.1 L676.0,932.0" fill="none" stroke="#fff8e8" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<path d="M676.0,926.0 L680.0,934.0 L672.0,934.0 Z" fill="#fff8e8"/> +<text x="568.0 580.0 592.0" y="181.3" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="bold">rsp</text> +<path d="M608,174.26146766381058 l9,-6 v12 Z" fill="#f2d675"/> +<text x="568.0 580.0 592.0" y="1029.1" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="bold">rip</text> +<path d="M608,1022.1416497130695 l9,-6 v12 Z" fill="#ff8f9a"/> +<text x="560.0" y="76.0" font-family="Go Medium" font-size="20" fill="#eee6d2" xml:space="preserve">the address space</text> +<text x="760.0" y="76.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve">high addresses on top · not to scale: holes 40, bands by the log of their size</text> +</svg> diff --git a/design/mock/intro.py b/design/mock/intro.py index b9c7d7d..098455c 100644 --- a/design/mock/intro.py +++ b/design/mock/intro.py @@ -26,14 +26,14 @@ CODE_BYTES = [(0x1001920, "48 89 c1"), (0x1001923, "48 89 f8"), (0x1001926, "48 def size(n): - for unit, k in (("TiB", 1 << 40), ("GiB", 1 << 30), ("MiB", 1 << 20), ("KiB", 1 << 10)): + for unit, k in (("EiB", 1 << 60), ("PiB", 1 << 50), ("TiB", 1 << 40), ("GiB", 1 << 30), ("MiB", 1 << 20), ("KiB", 1 << 10)): if n >= k: v = n / k return ("%d %s" if v == int(v) or v >= 10 else "%.1f %s") % (v, unit) return "%d B" % n -def segments(g, x, y, w, hot=()): +def segment_rows(g, x, y, w, hot=()): """`segments`: the process's address space as its mappings, low addresses on top, a row each: a bar in the region's ink, the first address, what it is, its size; a hole between them one row, how big it is. Rows, not a scale: the stack and the code are 127 TiB apart. hot: the mappings framed as read (a word just inked).""" @@ -60,6 +60,104 @@ def segments(g, x, y, w, hot=()): return y0 +# the mappings at the stop, as `ztrace show` prints them (range, permissions, file offset, file); high on top +MAPPINGS = [(0xffffffffff600000, 0xffffffffff601000, "--x", "[vsyscall]"), + (0x7ffffffde000, 0x7ffffffff000, "rw-", "[stack]"), + (0x7ffff7ffe000, 0x7ffff7fff000, "rw-", ""), (0x7ffff7ffd000, 0x7ffff7ffe000, "rw-", "ld.so"), + (0x7ffff7ffb000, 0x7ffff7ffd000, "r--", "ld.so"), (0x7ffff7fec000, 0x7ffff7ffb000, "r--", "ld.so"), + (0x7ffff7fbf000, 0x7ffff7fec000, "r-x", "ld.so"), (0x7ffff7fbe000, 0x7ffff7fbf000, "r--", "ld.so"), + (0x7ffff7fbc000, 0x7ffff7fbe000, "r-x", "[vdso]"), (0x7ffff7fb6000, 0x7ffff7fbc000, "r--", "[vvar]"), + (0x7ffff7f75000, 0x7ffff7fb6000, "r--", "ld.so.cache"), (0x7ffff7f70000, 0x7ffff7f75000, "rw-", ""), + (0x7ffff7e1b000, 0x7ffff7e23000, "rw-", ""), (0x7ffff7e19000, 0x7ffff7e1b000, "rw-", "libc.so.6"), + (0x7ffff7e15000, 0x7ffff7e19000, "r--", "libc.so.6"), (0x7ffff7d9f000, 0x7ffff7e15000, "r--", "libc.so.6"), + (0x7ffff7c24000, 0x7ffff7d9f000, "r-x", "libc.so.6"), (0x7ffff7c00000, 0x7ffff7c24000, "r--", "libc.so.6"), + (0x1004000, 0x1025000, "rw-", "[heap]"), (0x1003000, 0x1004000, "rw-", "list"), + (0x1002000, 0x1003000, "r--", "list"), (0x1001000, 0x1002000, "r-x", "list"), (0x1000000, 0x1001000, "r--", "list")] +INK = {"r-x": CODE, "--x": CODE, "r--": VELLUM, "rw-": DATA} +WHAT = {"r-x": "code", "--x": "code", "r--": "read-only", "rw-": "data"} + + +def band_h(n): + """A band's height: 24 at least (a label's row), and 4 a doubling past 4 KiB: schematic, not to scale.""" + import math + return 24 + 4 * max(math.log2(n / 4096), 0) + + +def segments(g, x, y, hot=(), rsp=None, rip=None, label_x=None): + """`segments`: the address space as one tall rectangle, high addresses on top, as the textbook draws it. + Bands in their mapping's ink (55% toward the page), a file's mappings touching, its parts split by a page + line; a hole a fixed 40 with a break and its size. Labels beside with leaders: the left the band's first + address, the right its permissions, what it is, its size; a file's parts bracketed with the file's name. + Live: rsp's and rip's pins at their place; a band framed when a word is inked into it; growth arrows.""" + W = 140 + lx = label_x or x + W + 40 + yy, last_lo, groups, pos = y, None, [], {} + g.t(x - 12, yy - 6, "ffffffffffffffff", 18, FAINT, "sans", "end") + for lo, hi, perm, name in MAPPINGS: + if last_lo is not None and hi < last_lo: # a hole: compressed to 40, a break and its size + gap = last_lo - hi + g.rect(x, yy, W, 40, PAGE) + g.frame(x, yy - 1, W, 42, RULE, 2) + for dy in (14, 24): + g.path(" ".join(["M%d,%d" % (x - 6, yy + dy)] + ["l%d,%d" % (10, -6 if k % 2 == 0 else 6) + for k in range(16)]), RULE, 2) + for kk, (unit, k) in enumerate((("TiB", 1 << 40), ("GiB", 1 << 30), ("MiB", 1 << 20), ("KiB", 1 << 10))): + if gap >= k: + g.t(lx, yy + 26, "nothing mapped · %s" % size(gap), 18, FAINT, "sans") + break + yy += 40 + h = band_h(hi - lo) + ink = INK[perm] if name not in ("[stack]", "[heap]") else (STACK if name == "[stack]" else HEAP) + g.rect(x, yy, W, h, mix(ink, PAGE, 0.55)) + g.rect(x, yy, W, 2, PAGE) # a mapping's edge + mid = yy + h / 2 + g.path(f"M{x + W + 4},{mid} H{lx - 8}", RULE, 2) # the leader + g.t(lx, mid + 7, perm, S, ink if perm != "r--" else VELLUM, MONO) + g.t(lx + 4 * A, mid + 7, (name if name.startswith("[") else WHAT[perm]) + ("" if name else " (anonymous)"), + 18, DIM, "sans") + g.t(lx + 4 * A + 170, mid + 7, size(hi - lo), S, FAINT, MONO) + C.addr(g, x - 12 - len("%x" % lo) * A, yy + h - ROW, lo, ink) + if lo in hot: + g.frame(x - 4, yy - 2, W + 8, h + 4, READ, 3) + pos[name, lo] = (yy, h) + if name and not name.startswith("[") and (not groups or groups[-1][0] != name): + groups.append([name, yy, yy + h]) + elif name and groups and groups[-1][0] == name: + groups[-1][2] = yy + h + yy += h + last_lo = lo + for name, a, z in groups: # a file's mappings: one thing, with parts + C.bracket(g, lx + 4 * A + 280, a + 3, z - 3, DIM, 2, 6, side=-1) + g.t(lx + 4 * A + 292, (a + z) / 2 + 7, name, S, VELLUM, MONO) + g.t(x - 12, yy + 18, "0", 18, FAINT, "sans", "end") + # growth: the stack down from its top, the heap up from its base + sy, sh = pos["[stack]", 0x7ffffffde000] + gen.arrow(g, [(x + W - 24, sy + 8), (x + W - 24, sy + sh - 6)], BRIGHT, 2, hl=8, hw=8) + hy, hh = pos["[heap]", 0x1004000] + gen.arrow(g, [(x + W - 24, hy + hh - 6), (x + W - 24, hy + 8)], BRIGHT, 2, hl=8, hw=8) + if rsp: # a register's pin at its place in its band + f = (0x7ffffffff000 - rsp) / (0x7ffffffff000 - 0x7ffffffde000) + py = sy + f * sh + g.t(x + 8, py + 7, "rsp", S, VELLUM, BOLD) + g.path(f"M{x + 48},{py} l9,-6 v12 Z", fill=STACK) + if rip: + cy, ch = pos["list", 0x1001000] + g.t(x + 8, cy + ch / 2 + 7, "rip", S, VELLUM, BOLD) + g.path(f"M{x + 48},{cy + ch / 2} l9,-6 v12 Z", fill=CODE) + g.t(x, y - 34, "the address space", 20, VELLUM, "sansm") + g.t(x + 200, y - 34, "high addresses on top · not to scale: holes 40, bands by the log of their size", 18, + FAINT, "sans") + return yy + + +def frame_space(name): + """Mock 34: the rectangle alone, every label reading.""" + gen.W, gen.H = 1920, 1080 + g = Svg() + segments(g, 560, 110, rsp=RSP, rip=0x1001926, label_x=760) + g.save(name) + + def camera(g, k, cx, cy): """The camera at scale k on the point (cx, cy) of the frame: all drawing after this is through it.""" g.o.append(f'<g transform="translate({960 - cx * k},{468 - cy * k}) scale({k})">') @@ -108,7 +206,11 @@ def frame_words(name): k = 1 # 7fffffffece8: the return address, main+80 g.frame(12 * A + 12 - 4, ys[k] - 1, 8 * 30 + 4, ROW + 2, READ, 2) g.frame(12 * A + 12 + 8 * 30 + 24 - 6, ys[k] - 1, 7 * A + 12, ROW + 2, READ, 2) - segments(g, 12 * A + 12 + 8 * 30 + 24 + 13 * A + 36, -24, 560, hot={0x1001000}) + g.o.append("</g>") + g.o.append('<g transform="translate(0,0)">') + g.o.append('<g transform="translate(1000,110) scale(0.8)">') # the stage holds it whole above the caption + segments(g, 200, 0, hot={0x1001000}, rsp=RSP, label_x=380) + g.o.append("</g>") g.o.append("</g>") gen.caption(g, [[("Eight bytes make a word, stored low byte first: read right to left,",)], [("this one is ",), ("10018b0", "mono"), (", an address in the code, so it takes code's ink.",)]]) @@ -136,56 +238,60 @@ BYTES = {0x1001910: "48 85 ff", 0x1001913: "74 20", 0x1001915: "55", 0x1001916: def aligned(g, y, first, n, cur, cur_line, bytes_=False, title="reverse"): - """`aligned`: the source and the disassembly side by side, a table in address order: each source line level - with the first row of its run of instructions, a line that comes again (a second run) repeated faint at that - run, a line with no code of its own not drawn (its number missing says so), a row of no line (padding) with - nothing beside it. The pc's row and its line are one band across both columns: the alignment is the thread.""" + """`aligned`, one panel: the listing interleaved as objdump -S prints it. Each run of a line's instructions + is a group: a head row (the line on raised paper, its number in the place column) and under it its rows, + their addresses in the same column, indented under the line's text. A 2-unit rule over every head: where a + line starts and ends. A line's second run: its head again, faint; rows of no line: a faint head saying so.""" rows = [r for r in D.disasm_rows() if r[0] >= first][:n] - h = ph(n) - C.tag(g, 64, y, 880, h, "list.c", note="each line beside the first of its instructions") - C.tag(g, 976, y, 880, h, "disassembly", note=title) - y0 = y + TAG + PAD - seen, last_line = set(), None - lead = C.shared([r[0] for r in rows]) - i0 = 0 # each run's extent: a quiet bracket by the gutter, line to its last row - for i in range(1, n + 1): - if i == n or rows[i][2] != rows[i0][2]: - if rows[i0][2] is not None: - C.bracket(g, 932, y + TAG + PAD + i0 * ROW + 3, y + TAG + PAD + i * ROW - 3, RULE, 2, 5, side=-1) - i0 = i - for i, (a, func, line, mn, ops) in enumerate(rows): - yy = y0 + i * ROW - on = a == cur - if on: # one band through the gutter: the line and its instruction are one - g.rect(64 + 2, yy, 880 - 4, ROW, C.WASH) - g.rect(944, yy, 32, ROW, C.WASH) - g.rect(976 + 2, yy, 880 - 4, ROW, C.WASH) - g.rect(976 + 2, yy, 24, ROW, GOLD) - g.path(f"M{976 + 20},{yy + 12} l-10,-6 v12 Z", fill=gen.INK) - if line is not None and line != last_line: - again = line in seen - if line == cur_line and on: - g.rect(64 + 2, yy, 50, ROW, GOLD) - g.t(64 + 46, b(yy), str(line), S, gen.INK, BOLD, "end") + groups, cur_g = [], None + for r in rows: + key = (r[2], r[1]) if r[2] is not None else (None, r[1]) + if cur_g is None or cur_g[0] != key: + cur_g = [key, []] + groups.append(cur_g) + cur_g[1].append(r) + total = len(rows) + len(groups) + C.tag(g, 64, y, 1792, ph(total), "list.c · %s" % title, focus=True, + note="each line, then the instructions it compiled to · lines and addresses in one column") + yy, seen = y + TAG + PAD, set() + PLACE, TEXT = 100 + 7 * A, 220 # the place column ends at 196; the text 24 after it + for (line, func), grp in groups: + g.rect(64 + 2, yy, 1792 - 4, 2, RULE) # where a line's group starts (and the last one ends) + again = line in seen + on_line = line == cur_line and any(r[0] == cur for r in grp) + g.rect(64 + 2, yy + 2, 1792 - 4, ROW - 2, RAISED if not again else PAGE) + if line is None: + g.t(TEXT, b(yy), "%s · no line" % func, 18, FAINT, "sans") + else: + if on_line: + g.rect(PLACE - 50 + 12, yy + 2, 50, ROW - 2, GOLD) + g.t(PLACE + 12, b(yy), str(line), S, gen.INK if on_line else (FAINT if again else DIM), BOLD if on_line else MONO, + "end") + text = D.SRC[line - 1].strip() + if again: + g.t(TEXT, b(yy), text + " again: its second run", S, FAINT, MONO) else: - g.t(64 + 46, b(yy), str(line), S, FAINT, MONO, "end") - text = D.SRC[line - 1] - C.c_line(g, 64 + 64, yy, text, 66) if not again else g.t(64 + 64, b(yy), text.strip(), S, FAINT, MONO) + C.c_line(g, TEXT, yy, text, 80) seen.add(line) - elif line is None and (i == 0 or rows[i - 1][1] != func): - g.t(64 + 64, b(yy), "%s · no line" % func, 18, FAINT, "sans") - last_line = line - C.addr(g, 976 + 40, yy, a, CODE, lead=lead) - x = 976 + 40 + 8 * A + 12 - if bytes_: - g.t(x, b(yy), BYTES.get(a, ""), S, BRIGHT if on else DIM, MONO) - x += 15 * A - g.t(x, b(yy), mn, S, FAINT if mn == "nop" else KW, MONO if mn == "nop" else BOLD) - C.operands(g, x + 7 * A, yy, mn, ops, VELLUM) - if on: - C.chain(g, 976 + 600, yy, [(0x1004098, HEAP), (0x1004070, HEAP)], ("int", 9), {0: "read"} if False else None, - room=976 + 868) - return y0 + yy += ROW + for a, f_, ln, mn, ops in grp: + on = a == cur + if on: + g.rect(64 + 2, yy, 1792 - 4, ROW, C.WASH) + g.rect(64 + 2, yy, 24, ROW, GOLD) + g.path(f"M{64 + 20},{yy + 12} l-10,-6 v12 Z", fill=gen.INK) + C.addr(g, PLACE + 12 - len("%x" % a) * A, yy, a, CODE, lead=4) + x = TEXT + 2 * A # indented under the line it came from + if bytes_: + g.t(x, b(yy), BYTES.get(a, ""), S, BRIGHT if on else DIM, MONO) + x += 15 * A + g.t(x, b(yy), mn, S, FAINT if mn == "nop" else KW, MONO if mn == "nop" else BOLD) + C.operands(g, x + 7 * A, yy, mn, ops, VELLUM) + if on: + C.chain(g, 64 + 900, yy, [(0x1004098, HEAP), (0x1004070, HEAP)], ("int", 9), None, room=64 + 1780) + yy += ROW + g.rect(64 + 2, yy, 1792 - 4, 2, RULE) + return yy def frame_code(name): @@ -203,9 +309,9 @@ def frame_aligned(name): """Mock 33: the `aligned` split, reverse and list_done, the pc at the load.""" gen.W, gen.H = 1920, 1080 g = Svg() - aligned(g, 48, 0x1001910, 30, 0x1001926, 21) - gen.caption(g, [[("Line 20, ",), ("while (head)", "mono"), (", has two runs: its test before the body",)], - [("and again after it. Lines 23 to 25 have no code of their own.",)]]) + aligned(g, 48, 0x1001910, 16, 0x1001926, 21) + gen.caption(g, [[("Line 20, ",), ("while (head)", "mono"), (", comes twice: its test before the body and",)], + [("again after it. Lines 23 to 25 have no code of their own: no group.",)]]) g.save(name) @@ -215,3 +321,4 @@ if __name__ == "__main__": frame_stack("31-intro-stack") frame_code("32-intro-code") frame_aligned("33-aligned") + frame_space("34-segments") |
