diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-11 11:27:09 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-11 11:51:02 -0300 |
| commit | beb2616a243e01826c3103209d5525381a5da73d (patch) | |
| tree | 195c30132791de8ed1bed0461ce2825bdfbfe819 /design/mock/31-intro-stack.svg | |
| parent | dcbe8941df205fa8c8805b022f025e1012dede19 (diff) | |
| download | computeranim-beb2616a243e01826c3103209d5525381a5da73d.tar.gz computeranim-beb2616a243e01826c3103209d5525381a5da73d.zip | |
design: an introduction that builds the views; segments; source and disassembly aligned
From the user. Three short chapters teach the frame by assembling it:
bytes become words, words that are addresses take the ink of the mapping
they point into, the stack's conventions are shown on those same rows by
a real push and call, an instruction's bytes decode into its row beside
its source line, and the working frame stands at the end. segments is the
process's mappings as rows, the legend's long form. aligned is a split a
scene chooses: each source line level with the first row of its
instructions. Verbs for building a view: regroup, ink, column, frame up,
decode, align.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa
Diffstat (limited to 'design/mock/31-intro-stack.svg')
| -rw-r--r-- | design/mock/31-intro-stack.svg | 207 |
1 files changed, 207 insertions, 0 deletions
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> |
