diff options
Diffstat (limited to 'design/mock')
| -rw-r--r-- | design/mock/29-intro-bytes.png | bin | 0 -> 83086 bytes | |||
| -rw-r--r-- | design/mock/29-intro-bytes.svg | 145 | ||||
| -rw-r--r-- | design/mock/30-intro-words.png | bin | 0 -> 224784 bytes | |||
| -rw-r--r-- | design/mock/30-intro-words.svg | 246 | ||||
| -rw-r--r-- | design/mock/31-intro-stack.png | bin | 0 -> 144165 bytes | |||
| -rw-r--r-- | design/mock/31-intro-stack.svg | 207 | ||||
| -rw-r--r-- | design/mock/32-intro-code.png | bin | 0 -> 104319 bytes | |||
| -rw-r--r-- | design/mock/32-intro-code.svg | 155 | ||||
| -rw-r--r-- | design/mock/33-aligned-480.png | bin | 0 -> 18796 bytes | |||
| -rw-r--r-- | design/mock/33-aligned.png | bin | 0 -> 135867 bytes | |||
| -rw-r--r-- | design/mock/33-aligned.svg | 198 | ||||
| -rw-r--r-- | design/mock/intro.py | 217 |
12 files changed, 1168 insertions, 0 deletions
diff --git a/design/mock/29-intro-bytes.png b/design/mock/29-intro-bytes.png Binary files differnew file mode 100644 index 0000000..e382abe --- /dev/null +++ b/design/mock/29-intro-bytes.png diff --git a/design/mock/29-intro-bytes.svg b/design/mock/29-intro-bytes.svg new file mode 100644 index 0000000..fcd07cc --- /dev/null +++ b/design/mock/29-intro-bytes.svg @@ -0,0 +1,145 @@ +<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"/> +<g transform="translate(300,170) scale(2)"> +<text x="0.0" y="-10.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve">128 bytes, from where rsp points</text> +<text x="0.0 12.0 24.0 36.0 48.0 60.0 72.0 84.0 96.0 108.0 120.0 132.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">7fffffffece0</text> +<text x="156.0 168.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="186.0 198.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ed</text> +<text x="216.0 228.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ff</text> +<text x="246.0 258.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ff</text> +<text x="276.0 288.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ff</text> +<text x="306.0 318.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7f</text> +<text x="336.0 348.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="366.0 378.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="408.0 420.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">b0</text> +<text x="438.0 450.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">18</text> +<text x="468.0 480.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="498.0 510.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">01</text> +<text x="528.0 540.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="558.0 570.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="588.0 600.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="618.0 630.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="0.0 12.0 24.0 36.0 48.0 60.0 72.0 84.0 96.0 108.0 120.0 132.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">7fffffffecf0</text> +<text x="156.0 168.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">e8</text> +<text x="186.0 198.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0d</text> +<text x="216.0 228.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">e2</text> +<text x="246.0 258.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">f7</text> +<text x="276.0 288.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ff</text> +<text x="306.0 318.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7f</text> +<text x="336.0 348.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="366.0 378.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="408.0 420.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="438.0 450.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="468.0 480.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="498.0 510.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="528.0 540.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="558.0 570.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="588.0 600.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="618.0 630.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="0.0 12.0 24.0 36.0 48.0 60.0 72.0 84.0 96.0 108.0 120.0 132.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">7fffffffed00</text> +<text x="156.0 168.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">b0</text> +<text x="186.0 198.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ed</text> +<text x="216.0 228.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ff</text> +<text x="246.0 258.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ff</text> +<text x="276.0 288.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ff</text> +<text x="306.0 318.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7f</text> +<text x="336.0 348.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="366.0 378.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="408.0 420.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">81</text> +<text x="438.0 450.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">77</text> +<text x="468.0 480.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">c2</text> +<text x="498.0 510.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">f7</text> +<text x="528.0 540.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ff</text> +<text x="558.0 570.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7f</text> +<text x="588.0 600.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="618.0 630.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="0.0 12.0 24.0 36.0 48.0 60.0 72.0 84.0 96.0 108.0 120.0 132.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">7fffffffed10</text> +<text x="156.0 168.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">60</text> +<text x="186.0 198.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0c</text> +<text x="216.0 228.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">fe</text> +<text x="246.0 258.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">f7</text> +<text x="276.0 288.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ff</text> +<text x="306.0 318.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7f</text> +<text x="336.0 348.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="366.0 378.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="408.0 420.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">38</text> +<text x="438.0 450.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ee</text> +<text x="468.0 480.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ff</text> +<text x="498.0 510.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ff</text> +<text x="528.0 540.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ff</text> +<text x="558.0 570.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7f</text> +<text x="588.0 600.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="618.0 630.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="0.0 12.0 24.0 36.0 48.0 60.0 72.0 84.0 96.0 108.0 120.0 132.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">7fffffffed20</text> +<text x="156.0 168.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="186.0 198.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">e0</text> +<text x="216.0 228.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">fb</text> +<text x="246.0 258.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">f7</text> +<text x="276.0 288.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">01</text> +<text x="306.0 318.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="336.0 348.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="366.0 378.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="408.0 420.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">60</text> +<text x="438.0 450.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">18</text> +<text x="468.0 480.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="498.0 510.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">01</text> +<text x="528.0 540.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="558.0 570.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="588.0 600.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="618.0 630.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="0.0 12.0 24.0 36.0 48.0 60.0 72.0 84.0 96.0 108.0 120.0 132.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">7fffffffed30</text> +<text x="156.0 168.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">70</text> +<text x="186.0 198.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ed</text> +<text x="216.0 228.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ff</text> +<text x="246.0 258.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ff</text> +<text x="276.0 288.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ff</text> +<text x="306.0 318.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7f</text> +<text x="336.0 348.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="366.0 378.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="408.0 420.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">60</text> +<text x="438.0 450.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">f2</text> +<text x="468.0 480.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">fd</text> +<text x="498.0 510.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">f7</text> +<text x="528.0 540.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ff</text> +<text x="558.0 570.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7f</text> +<text x="588.0 600.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="618.0 630.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="0.0 12.0 24.0 36.0 48.0 60.0 72.0 84.0 96.0 108.0 120.0 132.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">7fffffffed40</text> +<text x="156.0 168.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="186.0 198.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="216.0 228.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="246.0 258.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="276.0 288.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="306.0 318.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="336.0 348.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="366.0 378.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="408.0 420.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">1c</text> +<text x="438.0 450.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">78</text> +<text x="468.0 480.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">a5</text> +<text x="498.0 510.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">95</text> +<text x="528.0 540.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">fc</text> +<text x="558.0 570.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">35</text> +<text x="588.0 600.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">e3</text> +<text x="618.0 630.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">1f</text> +<text x="0.0 12.0 24.0 36.0 48.0 60.0 72.0 84.0 96.0 108.0 120.0 132.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">7fffffffed50</text> +<text x="156.0 168.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">38</text> +<text x="186.0 198.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ee</text> +<text x="216.0 228.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ff</text> +<text x="246.0 258.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ff</text> +<text x="276.0 288.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ff</text> +<text x="306.0 318.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7f</text> +<text x="336.0 348.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="366.0 378.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="408.0 420.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">01</text> +<text x="438.0 450.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="468.0 480.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="498.0 510.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="528.0 540.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="558.0 570.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="588.0 600.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="618.0 630.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +</g> +<text x="64.0" y="964.0" font-size="40" xml:space="preserve"><tspan font-family="Go" font-weight="normal" fill="#eee6d2">A running program is bytes in memory.</tspan></text> +<text x="64.0" y="1018.0" font-size="40" xml:space="preserve"><tspan font-family="Go" font-weight="normal" fill="#eee6d2">These are 128 of them, sixteen to a row.</tspan></text> +</svg> diff --git a/design/mock/30-intro-words.png b/design/mock/30-intro-words.png Binary files differnew file mode 100644 index 0000000..faba6f4 --- /dev/null +++ b/design/mock/30-intro-words.png diff --git a/design/mock/30-intro-words.svg b/design/mock/30-intro-words.svg new file mode 100644 index 0000000..fd1502b --- /dev/null +++ b/design/mock/30-intro-words.svg @@ -0,0 +1,246 @@ +<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"/> +<g transform="translate(64,96) scale(1.35)"> +<text x="0.0" y="-10.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve">eight bytes a row, read right to left, a word</text> +<text x="0.0 12.0 24.0 36.0 48.0 60.0 72.0 84.0 96.0 108.0 120.0 132.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffece0</text> +<text x="156.0 168.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="186.0 198.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">ed</text> +<text x="216.0 228.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">ff</text> +<text x="246.0 258.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">ff</text> +<text x="276.0 288.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">ff</text> +<text x="306.0 318.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">7f</text> +<text x="336.0 348.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="366.0 378.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="420.0 432.0 444.0 456.0 468.0 480.0 492.0 504.0 516.0 528.0 540.0 552.0" y="19.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffed00</text> +<text x="0.0 12.0 24.0 36.0 48.0 60.0 72.0 84.0 96.0 108.0 120.0 132.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffece8</text> +<text x="156.0 168.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">b0</text> +<text x="186.0 198.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">18</text> +<text x="216.0 228.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="246.0 258.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">01</text> +<text x="276.0 288.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="306.0 318.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="336.0 348.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="366.0 378.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="420.0 432.0 444.0 456.0 468.0 480.0 492.0" y="43.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">10018b0</text> +<text x="0.0 12.0 24.0 36.0 48.0 60.0 72.0 84.0 96.0 108.0 120.0 132.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffecf0</text> +<text x="156.0 168.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">e8</text> +<text x="186.0 198.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">0d</text> +<text x="216.0 228.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">e2</text> +<text x="246.0 258.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">f7</text> +<text x="276.0 288.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">ff</text> +<text x="306.0 318.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">7f</text> +<text x="336.0 348.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="366.0 378.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="420.0 432.0 444.0 456.0 468.0 480.0 492.0 504.0 516.0 528.0 540.0 552.0" y="67.2" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">7ffff7e20de8</text> +<text x="0.0 12.0 24.0 36.0 48.0 60.0 72.0 84.0 96.0 108.0 120.0 132.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffecf8</text> +<text x="156.0 168.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="186.0 198.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="216.0 228.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="246.0 258.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="276.0 288.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="306.0 318.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="336.0 348.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="366.0 378.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="420.0" y="91.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<text x="0.0 12.0 24.0 36.0 48.0 60.0 72.0 84.0 96.0 108.0 120.0 132.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffed00</text> +<text x="156.0 168.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">b0</text> +<text x="186.0 198.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">ed</text> +<text x="216.0 228.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">ff</text> +<text x="246.0 258.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">ff</text> +<text x="276.0 288.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">ff</text> +<text x="306.0 318.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">7f</text> +<text x="336.0 348.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="366.0 378.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="420.0 432.0 444.0 456.0 468.0 480.0 492.0 504.0 516.0 528.0 540.0 552.0" y="115.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffedb0</text> +<text x="0.0 12.0 24.0 36.0 48.0 60.0 72.0 84.0 96.0 108.0 120.0 132.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffed08</text> +<text x="156.0 168.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">81</text> +<text x="186.0 198.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">77</text> +<text x="216.0 228.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">c2</text> +<text x="246.0 258.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">f7</text> +<text x="276.0 288.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">ff</text> +<text x="306.0 318.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">7f</text> +<text x="336.0 348.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="366.0 378.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="420.0 432.0 444.0 456.0 468.0 480.0 492.0 504.0 516.0 528.0 540.0 552.0" y="139.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">7ffff7c27781</text> +<text x="0.0 12.0 24.0 36.0 48.0 60.0 72.0 84.0 96.0 108.0 120.0 132.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffed10</text> +<text x="156.0 168.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">60</text> +<text x="186.0 198.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">0c</text> +<text x="216.0 228.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">fe</text> +<text x="246.0 258.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">f7</text> +<text x="276.0 288.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">ff</text> +<text x="306.0 318.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">7f</text> +<text x="336.0 348.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="366.0 378.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="420.0 432.0 444.0 456.0 468.0 480.0 492.0 504.0 516.0 528.0 540.0 552.0" y="163.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">7ffff7fe0c60</text> +<text x="0.0 12.0 24.0 36.0 48.0 60.0 72.0 84.0 96.0 108.0 120.0 132.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffed18</text> +<text x="156.0 168.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">38</text> +<text x="186.0 198.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">ee</text> +<text x="216.0 228.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">ff</text> +<text x="246.0 258.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">ff</text> +<text x="276.0 288.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">ff</text> +<text x="306.0 318.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">7f</text> +<text x="336.0 348.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="366.0 378.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="420.0 432.0 444.0 456.0 468.0 480.0 492.0 504.0 516.0 528.0 540.0 552.0" y="187.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffee38</text> +<text x="0.0 12.0 24.0 36.0 48.0 60.0 72.0 84.0 96.0 108.0 120.0 132.0" y="211.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffed20</text> +<text x="156.0 168.0" y="211.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="186.0 198.0" y="211.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">e0</text> +<text x="216.0 228.0" y="211.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">fb</text> +<text x="246.0 258.0" y="211.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">f7</text> +<text x="276.0 288.0" y="211.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">01</text> +<text x="306.0 318.0" y="211.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="336.0 348.0" y="211.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="366.0 378.0" y="211.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="420.0 432.0 444.0 456.0 468.0 480.0 492.0 504.0 516.0" y="211.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">1f7fbe000</text> +<text x="0.0 12.0 24.0 36.0 48.0 60.0 72.0 84.0 96.0 108.0 120.0 132.0" y="235.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffed28</text> +<text x="156.0 168.0" y="235.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">60</text> +<text x="186.0 198.0" y="235.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">18</text> +<text x="216.0 228.0" y="235.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="246.0 258.0" y="235.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">01</text> +<text x="276.0 288.0" y="235.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="306.0 318.0" y="235.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="336.0 348.0" y="235.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="366.0 378.0" y="235.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="420.0 432.0 444.0 456.0 468.0 480.0 492.0" y="235.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">1001860</text> +<text x="0.0 12.0 24.0 36.0 48.0 60.0 72.0 84.0 96.0 108.0 120.0 132.0" y="259.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffed30</text> +<text x="156.0 168.0" y="259.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">70</text> +<text x="186.0 198.0" y="259.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">ed</text> +<text x="216.0 228.0" y="259.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">ff</text> +<text x="246.0 258.0" y="259.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">ff</text> +<text x="276.0 288.0" y="259.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">ff</text> +<text x="306.0 318.0" y="259.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">7f</text> +<text x="336.0 348.0" y="259.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="366.0 378.0" y="259.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="420.0 432.0 444.0 456.0 468.0 480.0 492.0 504.0 516.0 528.0 540.0 552.0" y="259.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffed70</text> +<text x="0.0 12.0 24.0 36.0 48.0 60.0 72.0 84.0 96.0 108.0 120.0 132.0" y="283.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffed38</text> +<text x="156.0 168.0" y="283.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">60</text> +<text x="186.0 198.0" y="283.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">f2</text> +<text x="216.0 228.0" y="283.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">fd</text> +<text x="246.0 258.0" y="283.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">f7</text> +<text x="276.0 288.0" y="283.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">ff</text> +<text x="306.0 318.0" y="283.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">7f</text> +<text x="336.0 348.0" y="283.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="366.0 378.0" y="283.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="420.0 432.0 444.0 456.0 468.0 480.0 492.0 504.0 516.0 528.0 540.0 552.0" y="283.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">7ffff7fdf260</text> +<text x="0.0 12.0 24.0 36.0 48.0 60.0 72.0 84.0 96.0 108.0 120.0 132.0" y="307.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffed40</text> +<text x="156.0 168.0" y="307.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="186.0 198.0" y="307.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="216.0 228.0" y="307.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="246.0 258.0" y="307.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="276.0 288.0" y="307.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="306.0 318.0" y="307.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="336.0 348.0" y="307.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="366.0 378.0" y="307.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="420.0" y="307.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<text x="0.0 12.0 24.0 36.0 48.0 60.0 72.0 84.0 96.0 108.0 120.0 132.0" y="331.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffed48</text> +<text x="156.0 168.0" y="331.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">1c</text> +<text x="186.0 198.0" y="331.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">78</text> +<text x="216.0 228.0" y="331.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">a5</text> +<text x="246.0 258.0" y="331.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">95</text> +<text x="276.0 288.0" y="331.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">fc</text> +<text x="306.0 318.0" y="331.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">35</text> +<text x="336.0 348.0" y="331.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">e3</text> +<text x="366.0 378.0" y="331.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">1f</text> +<text x="420.0 432.0 444.0 456.0 468.0 480.0 492.0 504.0 516.0 528.0 540.0 552.0 564.0 576.0 588.0 600.0" y="331.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">1fe335fc95a5781c</text> +<text x="0.0 12.0 24.0 36.0 48.0 60.0 72.0 84.0 96.0 108.0 120.0 132.0" y="355.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffed50</text> +<text x="156.0 168.0" y="355.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">38</text> +<text x="186.0 198.0" y="355.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">ee</text> +<text x="216.0 228.0" y="355.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">ff</text> +<text x="246.0 258.0" y="355.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">ff</text> +<text x="276.0 288.0" y="355.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">ff</text> +<text x="306.0 318.0" y="355.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">7f</text> +<text x="336.0 348.0" y="355.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="366.0 378.0" y="355.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="420.0 432.0 444.0 456.0 468.0 480.0 492.0 504.0 516.0 528.0 540.0 552.0" y="355.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffee38</text> +<text x="0.0 12.0 24.0 36.0 48.0 60.0 72.0 84.0 96.0 108.0 120.0 132.0" y="379.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffed58</text> +<text x="156.0 168.0" y="379.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">01</text> +<text x="186.0 198.0" y="379.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="216.0 228.0" y="379.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="246.0 258.0" y="379.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="276.0 288.0" y="379.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="306.0 318.0" y="379.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="336.0 348.0" y="379.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<text x="366.0 378.0" y="379.2" font-family="JetBrains Mono NL" font-size="20" fill="#7c7b81" xml:space="preserve" font-weight="500">00</text> +<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> +<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> +</svg> diff --git a/design/mock/31-intro-stack.png b/design/mock/31-intro-stack.png Binary files differnew file mode 100644 index 0000000..a85abd2 --- /dev/null +++ b/design/mock/31-intro-stack.png diff --git a/design/mock/31-intro-stack.svg b/design/mock/31-intro-stack.svg new file mode 100644 index 0000000..e3eadcd --- /dev/null +++ b/design/mock/31-intro-stack.svg @@ -0,0 +1,207 @@ +<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"/> +<g transform="translate(-810.0,-209.5) scale(1.25)"> +<rect x="976.0" y="212.0" width="880.0" height="24.0" fill="#16245f"/> +<rect x="977.0" y="213.0" width="878.0" height="438.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="985.0" y="219.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> +<text x="1004.0" y="230.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">registers</text> +<text x="1501.7" y="230.0" font-family="Go Medium" font-size="18" fill="#f2d675" xml:space="preserve">stack</text> +<text x="1559.8" y="230.0" font-family="Go Medium" font-size="18" fill="#86b6ff" xml:space="preserve">heap</text> +<text x="1614.8" y="230.0" font-family="Go Medium" font-size="18" fill="#ff8f9a" xml:space="preserve">code</text> +<text x="1669.3" y="230.0" font-family="Go Medium" font-size="18" fill="#d59cf5" xml:space="preserve">data</text> +<text x="1719.4" y="230.0" font-family="Go Medium" font-size="18" fill="#d59cf5" xml:space="preserve">rwx</text> +<rect x="1719.4" y="233.0" width="29.5" height="2.0" fill="#d59cf5"/> +<text x="1762.9" y="230.0" font-family="Go Medium" font-size="18" fill="#eee6d2" xml:space="preserve">read-only</text> +<text x="988.0 1000.0 1012.0" y="259.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rax</text> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0 1120.0" y="259.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">1004090</text> +<path d="M1138,252 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1145.0" y="251.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1162.0" y="259.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">4</text> +<text x="988.0 1000.0 1012.0" y="283.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rbx</text> +<text x="1048.0" y="283.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<text x="988.0 1000.0 1012.0" y="307.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rcx</text> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0 1120.0" y="307.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">10040b0</text> +<path d="M1138,300 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1145.0" y="299.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1162.0" y="307.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">1</text> +<text x="988.0 1000.0 1012.0" y="331.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rdx</text> +<text x="1048.0" y="331.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<text x="988.0 1000.0 1012.0" y="355.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rsi</text> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0 1120.0" y="355.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">10040c0</text> +<path d="M1138,348 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1145.0" y="347.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1162.0" y="355.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<text x="988.0 1000.0 1012.0" y="379.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rdi</text> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0 1120.0" y="379.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">1004090</text> +<path d="M1138,372 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1145.0" y="371.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1162.0" y="379.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">4</text> +<text x="988.0 1000.0 1012.0" y="403.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rbp</text> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0 1120.0 1132.0 1144.0 1156.0 1168.0 1180.0" y="403.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffece0</text> +<rect x="1198.0" y="395.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1216,396 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1222.0 1234.0 1246.0 1258.0 1270.0 1282.0 1294.0 1306.0 1318.0 1330.0 1342.0 1354.0" y="403.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffed00</text> +<rect x="1372.0" y="395.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1390,396 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1396.0 1408.0 1420.0 1432.0 1444.0 1456.0 1468.0 1480.0 1492.0 1504.0 1516.0 1528.0" y="403.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffedb0</text> +<rect x="1546.0" y="395.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1564,396 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1570.0 1582.0 1594.0 1606.0 1618.0 1630.0 1642.0 1654.0 1666.0 1678.0 1690.0 1702.0" y="403.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffee10</text> +<path d="M1720,396 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1727.0" y="395.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1744.0" y="403.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<text x="988.0 1000.0 1012.0" y="427.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rsp</text> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0 1120.0 1132.0 1144.0 1156.0 1168.0 1180.0" y="427.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffece0</text> +<rect x="1198.0" y="419.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1216,420 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1222.0 1234.0 1246.0 1258.0 1270.0 1282.0 1294.0 1306.0 1318.0 1330.0 1342.0 1354.0" y="427.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffed00</text> +<rect x="1372.0" y="419.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1390,420 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1396.0 1408.0 1420.0 1432.0 1444.0 1456.0 1468.0 1480.0 1492.0 1504.0 1516.0 1528.0" y="427.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffedb0</text> +<rect x="1546.0" y="419.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1564,420 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1570.0 1582.0 1594.0 1606.0 1618.0 1630.0 1642.0 1654.0 1666.0 1678.0 1690.0 1702.0" y="427.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffee10</text> +<path d="M1720,420 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1727.0" y="419.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1744.0" y="427.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<text x="988.0 1000.0" y="451.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r8</text> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0 1120.0 1132.0 1144.0 1156.0 1168.0 1180.0" y="451.2" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">7ffff7e19ac0</text> +<text x="988.0 1000.0" y="475.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r9</text> +<text x="1048.0 1060.0 1072.0 1084.0" y="475.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0x20</text> +<text x="1104.0 1116.0" y="475.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">32</text> +<text x="988.0 1000.0 1012.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r10</text> +<text x="1048.0 1060.0 1072.0 1084.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0x10</text> +<text x="1104.0 1116.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">16</text> +<text x="988.0 1000.0 1012.0" y="523.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r11</text> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0 1120.0 1132.0 1144.0 1156.0 1168.0 1180.0" y="523.2" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">7ffff7e19ac8</text> +<text x="988.0 1000.0 1012.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r12</text> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0 1120.0 1132.0 1144.0 1156.0 1168.0 1180.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffee38</text> +<rect x="1198.0" y="539.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1216,540 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1222.0 1234.0 1246.0 1258.0 1270.0 1282.0 1294.0 1306.0 1318.0 1330.0 1342.0 1354.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffefea</text> +<path d="M1372,540 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1379.0" y="539.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1396.0 1408.0 1420.0 1432.0 1444.0 1456.0 1468.0 1480.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">"./list"</text> +<text x="988.0 1000.0 1012.0" y="571.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r13</text> +<text x="1048.0" y="571.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">1</text> +<text x="988.0 1000.0 1012.0" y="595.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r14</text> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0 1120.0 1132.0 1144.0 1156.0 1168.0 1180.0" y="595.2" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">7ffff7ffd000</text> +<rect x="1198.0" y="587.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1216,588 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1222.0 1234.0 1246.0 1258.0 1270.0 1282.0 1294.0 1306.0 1318.0 1330.0 1342.0 1354.0" y="595.2" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">7ffff7ffe3c0</text> +<path d="M1372,588 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1379.0" y="587.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1396.0" y="595.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<text x="988.0 1000.0 1012.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r15</text> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0 1120.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">10029c0</text> +<path d="M1138,612 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1145.0" y="611.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1162.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">1</text> +<rect x="978.0" y="624.0" width="876.0" height="24.0" fill="#222742"/> +<rect x="978.0" y="624.0" width="54.0" height="24.0" fill="#e8c46a"/> +<text x="988.0 1000.0 1012.0" y="643.2" font-family="JetBrains Mono NL" font-size="20" fill="#050a24" xml:space="preserve" font-weight="bold">rip</text> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0 1120.0" y="643.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">1001926</text> +<text x="1142.0 1154.0 1166.0 1178.0 1190.0 1202.0 1214.0 1226.0 1238.0 1250.0" y="643.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">reverse+22</text> +<text x="1522.0 1534.0" y="643.2" font-family="JetBrains Mono NL" font-size="20" fill="#828dbb" xml:space="preserve" font-weight="500">cf</text> +<rect x="1560.0" y="626.0" width="32.0" height="20.0" fill="#16245f"/> +<text x="1564.0 1576.0" y="643.2" font-family="JetBrains Mono NL" font-size="20" fill="#fff8e8" xml:space="preserve" font-weight="bold">PF</text> +<text x="1606.0 1618.0" y="643.2" font-family="JetBrains Mono NL" font-size="20" fill="#828dbb" xml:space="preserve" font-weight="500">af</text> +<text x="1648.0 1660.0" y="643.2" font-family="JetBrains Mono NL" font-size="20" fill="#828dbb" xml:space="preserve" font-weight="500">zf</text> +<text x="1690.0 1702.0" y="643.2" font-family="JetBrains Mono NL" font-size="20" fill="#828dbb" xml:space="preserve" font-weight="500">sf</text> +<rect x="1728.0" y="626.0" width="32.0" height="20.0" fill="#16245f"/> +<text x="1732.0 1744.0" y="643.2" font-family="JetBrains Mono NL" font-size="20" fill="#fff8e8" xml:space="preserve" font-weight="bold">IF</text> +<text x="1774.0 1786.0" y="643.2" font-family="JetBrains Mono NL" font-size="20" fill="#828dbb" xml:space="preserve" font-weight="500">df</text> +<text x="1816.0 1828.0" y="643.2" font-family="JetBrains Mono NL" font-size="20" fill="#828dbb" xml:space="preserve" font-weight="500">of</text> +<rect x="976.0" y="664.0" width="880.0" height="24.0" fill="#16245f"/> +<rect x="977.0" y="665.0" width="878.0" height="222.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="985.0" y="671.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> +<text x="1004.0" y="682.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">stack</text> +<text x="1846.0" y="682.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">eight words from rsp · the frames they belong to</text> +<text x="992.0 1004.0 1016.0 1028.0 1040.0 1052.0 1064.0" y="711.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="bold">rbp rsp</text> +<path d="M1090,704 l-9,-6 v12 Z" fill="#f2d675"/> +<text x="1124.0 1136.0" y="711.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">+0</text> +<text x="1612.0 1624.0 1636.0 1648.0 1660.0 1672.0 1684.0 1696.0 1708.0" y="711.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">saved rbp</text> +<text x="1160.0 1172.0 1184.0 1196.0 1208.0 1220.0 1232.0 1244.0 1256.0" y="711.2" font-family="JetBrains Mono NL" font-size="20" fill="#958759" xml:space="preserve" font-weight="500">7fffffffe</text> +<text x="1268.0 1280.0 1292.0" y="711.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">ce0</text> +<rect x="1310.0" y="703.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1328,704 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1334.0 1346.0 1358.0 1370.0 1382.0 1394.0 1406.0 1418.0 1430.0 1442.0 1454.0 1466.0" y="711.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffed00</text> +<rect x="1484.0" y="703.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1502,704 l-8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1510.0" y="706.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<rect x="1518.0" y="706.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<rect x="1526.0" y="706.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<text x="1124.0 1136.0" y="735.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">+8</text> +<text x="1160.0 1172.0 1184.0 1196.0 1208.0 1220.0 1232.0 1244.0 1256.0" y="735.2" font-family="JetBrains Mono NL" font-size="20" fill="#958759" xml:space="preserve" font-weight="500">7fffffffe</text> +<text x="1268.0 1280.0 1292.0" y="735.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">ce8</text> +<rect x="1310.0" y="727.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1328,728 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1334.0 1346.0 1358.0 1370.0 1382.0 1394.0 1406.0" y="735.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">10018b0</text> +<text x="1428.0 1440.0 1452.0 1464.0 1476.0 1488.0 1500.0" y="735.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">main+80</text> +<text x="1112.0 1124.0 1136.0" y="759.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">+10</text> +<text x="1160.0 1172.0 1184.0 1196.0 1208.0 1220.0 1232.0 1244.0 1256.0" y="759.2" font-family="JetBrains Mono NL" font-size="20" fill="#958759" xml:space="preserve" font-weight="500">7fffffffe</text> +<text x="1268.0 1280.0 1292.0" y="759.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">cf0</text> +<rect x="1310.0" y="751.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1328,752 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1334.0 1346.0 1358.0 1370.0 1382.0 1394.0 1406.0 1418.0 1430.0 1442.0 1454.0 1466.0" y="759.2" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">7ffff7e20de8</text> +<text x="1112.0 1124.0 1136.0" y="783.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">+18</text> +<text x="1612.0 1624.0 1636.0 1648.0 1660.0 1672.0 1684.0 1696.0 1708.0" y="783.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">saved rbx</text> +<text x="1160.0 1172.0 1184.0 1196.0 1208.0 1220.0 1232.0 1244.0 1256.0" y="783.2" font-family="JetBrains Mono NL" font-size="20" fill="#958759" xml:space="preserve" font-weight="500">7fffffffe</text> +<text x="1268.0 1280.0 1292.0" y="783.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">cf8</text> +<path d="M1310,776 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1317.0" y="775.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1334.0" y="783.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<text x="1112.0 1124.0 1136.0" y="807.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">+20</text> +<text x="1612.0 1624.0 1636.0 1648.0 1660.0 1672.0 1684.0 1696.0 1708.0" y="807.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">saved rbp</text> +<text x="1160.0 1172.0 1184.0 1196.0 1208.0 1220.0 1232.0 1244.0 1256.0" y="807.2" font-family="JetBrains Mono NL" font-size="20" fill="#958759" xml:space="preserve" font-weight="500">7fffffffe</text> +<text x="1268.0 1280.0 1292.0" y="807.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">d00</text> +<rect x="1310.0" y="799.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1328,800 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1334.0 1346.0 1358.0 1370.0 1382.0 1394.0 1406.0 1418.0 1430.0 1442.0 1454.0 1466.0" y="807.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffedb0</text> +<rect x="1484.0" y="799.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1502,800 l-8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1510.0" y="802.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<rect x="1518.0" y="802.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<rect x="1526.0" y="802.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<text x="1112.0 1124.0 1136.0" y="831.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">+28</text> +<text x="1160.0 1172.0 1184.0 1196.0 1208.0 1220.0 1232.0 1244.0 1256.0" y="831.2" font-family="JetBrains Mono NL" font-size="20" fill="#958759" xml:space="preserve" font-weight="500">7fffffffe</text> +<text x="1268.0 1280.0 1292.0" y="831.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">d08</text> +<rect x="1310.0" y="823.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1328,824 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1334.0 1346.0 1358.0 1370.0 1382.0 1394.0 1406.0 1418.0 1430.0 1442.0 1454.0 1466.0" y="831.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">7ffff7c27781</text> +<text x="1488.0 1500.0 1512.0 1524.0 1536.0 1548.0 1560.0 1572.0 1584.0 1596.0" y="831.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">libc+27781</text> +<text x="1112.0 1124.0 1136.0" y="855.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">+30</text> +<text x="1160.0 1172.0 1184.0 1196.0 1208.0 1220.0 1232.0 1244.0 1256.0" y="855.2" font-family="JetBrains Mono NL" font-size="20" fill="#958759" xml:space="preserve" font-weight="500">7fffffffe</text> +<text x="1268.0 1280.0 1292.0" y="855.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">d10</text> +<rect x="1310.0" y="847.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1328,848 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1334.0 1346.0 1358.0 1370.0 1382.0 1394.0 1406.0 1418.0 1430.0 1442.0 1454.0 1466.0" y="855.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">7ffff7fe0c60</text> +<text x="1488.0 1500.0 1512.0 1524.0 1536.0 1548.0 1560.0 1572.0 1584.0 1596.0 1608.0" y="855.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ld.so+22c60</text> +<text x="1112.0 1124.0 1136.0" y="879.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">+38</text> +<text x="1160.0 1172.0 1184.0 1196.0 1208.0 1220.0 1232.0 1244.0 1256.0" y="879.2" font-family="JetBrains Mono NL" font-size="20" fill="#958759" xml:space="preserve" font-weight="500">7fffffffe</text> +<text x="1268.0 1280.0 1292.0" y="879.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">d18</text> +<rect x="1310.0" y="871.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1328,872 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1334.0 1346.0 1358.0 1370.0 1382.0 1394.0 1406.0 1418.0 1430.0 1442.0 1454.0 1466.0" y="879.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffee38</text> +<rect x="1484.0" y="871.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1502,872 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1508.0 1520.0 1532.0 1544.0 1556.0 1568.0 1580.0 1592.0 1604.0 1616.0 1628.0 1640.0" y="879.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffefea</text> +<path d="M1658,872 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1665.0" y="871.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1682.0 1694.0 1706.0" y="879.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">".…</text> +<rect x="1841.0" y="695.0" width="2.0" height="42.0" fill="#e8c46a"/> +<rect x="1835.0" y="695.0" width="8.0" height="2.0" fill="#e8c46a"/> +<rect x="1835.0" y="735.0" width="8.0" height="2.0" fill="#e8c46a"/> +<text x="1828.0" y="722.0" font-family="Go Medium" font-size="18" fill="#fff8e8" xml:space="preserve" text-anchor="end">reverse</text> +<rect x="1841.0" y="743.0" width="2.0" height="90.0" fill="#3a4a8a"/> +<rect x="1835.0" y="743.0" width="8.0" height="2.0" fill="#3a4a8a"/> +<rect x="1835.0" y="831.0" width="8.0" height="2.0" fill="#3a4a8a"/> +<text x="1828.0" y="794.0" font-family="Go Medium" font-size="18" fill="#9aa6d9" xml:space="preserve" text-anchor="end">main</text> +<rect x="1841.0" y="839.0" width="2.0" height="45.0" fill="#3a4a8a"/> +<rect x="1835.0" y="839.0" width="8.0" height="2.0" fill="#3a4a8a"/> +<text x="1828.0" y="867.5" font-family="Go Medium" font-size="18" fill="#9aa6d9" xml:space="preserve" text-anchor="end">libc+27781</text> +</g> +<text x="64.0" y="964.0" font-size="40" xml:space="preserve"><tspan font-family="Go" font-weight="normal" fill="#eee6d2">The same words as the stack: rsp points at its top, each word</tspan></text> +<text x="64.0" y="1018.0" font-size="40" xml:space="preserve"><tspan font-family="Go" font-weight="normal" fill="#eee6d2">has its offset, a frame is a span, and the registers sit over it.</tspan></text> +</svg> diff --git a/design/mock/32-intro-code.png b/design/mock/32-intro-code.png Binary files differnew file mode 100644 index 0000000..eb22ba7 --- /dev/null +++ b/design/mock/32-intro-code.png diff --git a/design/mock/32-intro-code.svg b/design/mock/32-intro-code.svg new file mode 100644 index 0000000..35597b8 --- /dev/null +++ b/design/mock/32-intro-code.svg @@ -0,0 +1,155 @@ +<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> +<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 differnew file mode 100644 index 0000000..a54620d --- /dev/null +++ b/design/mock/33-aligned-480.png diff --git a/design/mock/33-aligned.png b/design/mock/33-aligned.png Binary files differnew file mode 100644 index 0000000..5ed74b0 --- /dev/null +++ b/design/mock/33-aligned.png diff --git a/design/mock/33-aligned.svg b/design/mock/33-aligned.svg new file mode 100644 index 0000000..5c46e27 --- /dev/null +++ b/design/mock/33-aligned.svg @@ -0,0 +1,198 @@ +<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> +</svg> diff --git a/design/mock/intro.py b/design/mock/intro.py new file mode 100644 index 0000000..b9c7d7d --- /dev/null +++ b/design/mock/intro.py @@ -0,0 +1,217 @@ +#!/usr/bin/env python3 +"""The introduction: the frame built from its bytes up, on the recording of targets/list that mocks 9 to 21 use +(list-dbg.txt: the stack from rsp, the heap, the registers; the code's bytes from objdump of the binary). Four +instants of the build, each as the camera frames it. + + python3 -B intro.py # 29-intro-bytes, 30-intro-words, 31-intro-stack, 32-intro-code (.svg) +""" +import gen +import dense as D +import context as C +from context import (PAGE, RAISED, RULE, VELLUM, BRIGHT, DIM, FAINT, GOLD, KW, CODE, STACK, DATA, HEAP, READ, + A, S, ROW, TAG, PAD, MONO, BOLD, b, ph, mix, Svg) + +RSP = D.RSP +MAPS = [(0x1000000, 0x1001000, "list", "headers, read-only", VELLUM), (0x1001000, 0x1002000, "list", "code", CODE), + (0x1002000, 0x1003000, "list", "read-only data", VELLUM), (0x1003000, 0x1004000, "list", "data", DATA), + (0x1004000, 0x1025000, "heap", "malloc's", HEAP), None, + (0x7ffff7c00000, 0x7ffff7c24000, "libc.so.6", "read-only", VELLUM), + (0x7ffff7c24000, 0x7ffff7d9f000, "libc.so.6", "code", CODE), + (0x7ffff7d9f000, 0x7ffff7e15000, "libc.so.6", "read-only data", VELLUM), + (0x7ffff7e15000, 0x7ffff7e23000, "libc.so.6", "data", DATA), (0x7ffff7fbc000, 0x7ffff7fbe000, "[vdso]", "code", CODE), + (0x7ffff7fbf000, 0x7ffff7fec000, "ld.so", "code", CODE), (0x7ffff7ffb000, 0x7ffff7fff000, "ld.so", "data", DATA), + None, (0x7ffffffde000, 0x7ffffffff000, "[stack]", "the stack", STACK)] +CODE_BYTES = [(0x1001920, "48 89 c1"), (0x1001923, "48 89 f8"), (0x1001926, "48 8b 7f 08"), (0x100192a, "48 89 48 08"), + (0x100192e, "48 85 ff"), (0x1001931, "75 ed")] + + +def size(n): + for unit, k in (("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=()): + """`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).""" + rows = len(MAPS) + y0 = C.panel(g, x, y, w, rows, "the address space", note="the recording's mappings, low on top") + last = None + for i, m in enumerate(MAPS): + yy = y0 + i * ROW + if m is None: # a hole: what is not mapped + nxt = next(mm for mm in MAPS[i + 1:] if mm) + hole = nxt[0] - last + g.path(f"M{x + 14},{yy + 8} l6,4 l-6,4 l6,4", FAINT, 2) + g.t(x + 40, b(yy), "nothing mapped · %s" % size(hole), 18, FAINT, "sans") + continue + lo, hi, name, what, ink = m + g.rect(x + 12, yy + 3, 8, ROW - 6, ink) + C.addr(g, x + 32, yy, lo, ink) + g.t(x + 32 + 13 * A, b(yy), name, S, VELLUM, MONO) + g.t(x + 32 + 13 * A + 11 * A, b(yy), what, 18, DIM, "sans") + g.t(x + w - 12, b(yy), size(hi - lo), S, FAINT, MONO, "end") + if lo in hot: + g.frame(x + 6, yy, w - 12, ROW, READ, 2) + last = hi + return y0 + + +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})">') + + +def raw_dump(g, x, y, rows, per=16, words=False, inked=False): + """The stack's bytes from rsp, `per` to a row; with words, each row's eight bytes read right to left as the + word they make, beside them, in the ink of what it points into when inked. Returns the rows' y.""" + ys = [] + for r in range(rows): + a0, yy = RSP + per * r, y + r * ROW + ys.append(yy) + C.addr(g, x, yy, a0, STACK if inked else FAINT) + bx = x + 12 * A + 12 + vals = [D.MEM.get(a0 + k, 0) for k in range(per)] + for k, v in enumerate(vals): + g.t(bx + k * 30 + (12 if k >= 8 else 0), b(yy), "%02x" % v, S, + mix(VELLUM, PAGE, 0.5) if words else VELLUM, MONO) + if words: + w_ = D.word(a0) + ink = (D.region(w_) or VELLUM) if inked else VELLUM + g.t(bx + per * 30 + 24, b(yy), "%x" % w_ if w_ else "0", S, ink, MONO) + return ys + + +def frame_bytes(name): + """The first picture: bytes, nothing else; the camera at x2 on them, where the stack panel will be built.""" + gen.W, gen.H = 1920, 1080 + g = Svg() + g.o.append('<g transform="translate(300,170) scale(2)">') + g.t(0, -10, "128 bytes, from where rsp points", 18, FAINT, "sans") + raw_dump(g, 0, 0, 8) + g.o.append("</g>") + gen.caption(g, [[("A running program is bytes in memory.",)], + [("These are 128 of them, sixteen to a row.",)]]) + g.save(name) + + +def frame_words(name): + """Eight bytes a row now, each row's word beside it, inked by where it points; the address space beside.""" + gen.W, gen.H = 1920, 1080 + g = Svg() + g.o.append('<g transform="translate(64,96) scale(1.35)">') + g.t(0, -10, "eight bytes a row, read right to left, a word", 18, FAINT, "sans") + ys = raw_dump(g, 0, 0, 16, per=8, words=True, inked=True) + 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>") + 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.",)]]) + g.save(name) + + +def frame_stack(name): + gen.W, gen.H = 1920, 1080 + g = Svg() + camera(g, 1.25, 976 + 440, 212 + 330) + C.RX = 976 + C.registers(g, 212, D.regs(False), D.FLAGS, {}) + rows = [r for r in __import__("map").slot_rows(16, 8)] + C.stack(g, 664, rows, __import__("map").frames_from(16, 8), rsp=RSP, roles=__import__("map").roles_from(16, 8)) + g.o.append("</g>") + gen.caption(g, [[("The same words as the stack: rsp points at its top, each word",)], + [("has its offset, a frame is a span, and the registers sit over it.",)]]) + g.save(name) + + +BYTES = {0x1001910: "48 85 ff", 0x1001913: "74 20", 0x1001915: "55", 0x1001916: "48 89 e5", 0x1001919: "31 c0", + 0x100191b: "0f 1f 44 00 00", 0x1001920: "48 89 c1", 0x1001923: "48 89 f8", 0x1001926: "48 8b 7f 08", + 0x100192a: "48 89 48 08", 0x100192e: "48 85 ff", 0x1001931: "75 ed", 0x1001933: "5d", 0x1001934: "c3", + 0x1001935: "31 c0", 0x1001937: "c3"} + + +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.""" + 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") + 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) + 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 + + +def frame_code(name): + """The code chapter: the source and its instructions side by side, each line level with its code, and the + instruction's bytes between the address and the mnemonic: an instruction is bytes too.""" + gen.W, gen.H = 1920, 1080 + g = Svg() + aligned(g, 48, 0x1001910, 16, 0x1001926, 21, bytes_=True) + gen.caption(g, [[("48 8b 7f 08", "mono"), (" is one instruction: ",), ("mov rdi, [rdi + 8]", "mono"), (", line 21's",)], + [("head->next", "mono"), (". The line sits level with its code: they are one row.",)]]) + g.save(name) + + +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.",)]]) + g.save(name) + + +if __name__ == "__main__": + frame_bytes("29-intro-bytes") + frame_words("30-intro-words") + frame_stack("31-intro-stack") + frame_code("32-intro-code") + frame_aligned("33-aligned") |
