diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-10 23:25:40 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-10 23:34:16 -0300 |
| commit | 2a97030c9743d4680d698414c28e8d8739614215 (patch) | |
| tree | 8415bb3aeeb5d5d909a2d311c2a30ab07f91c9fa /design/mock/16-descent.svg | |
| parent | 58643dab07a803dbb579d84f68419911f5a2a16d (diff) | |
| download | computeranim-2a97030c9743d4680d698414c28e8d8739614215.tar.gz computeranim-2a97030c9743d4680d698414c28e8d8739614215.zip | |
design: down is deeper; a call followed down; operands without size words; the heap as a scene
From the user. Direction and nearness are rules: the idea, the source,
its instructions, the callee and the kernel go down the frame, a call
goes down and a return comes up, and every tie runs one of those ways.
The disassembly can descend: a window a call depth, the caller keeping
three rows with its call waiting, a PLT stub its jump, the kernel at the
bottom on vellum, with verbs descend, cross and ascend. The kernel leaves
the band, which keeps the calls so far as strace writes them; the
backtrace has its newest frame at the bottom. Size words are dropped
from operands and a width is shown as byte cells where nothing else says
it; a compare shows its values and flags, a jump the flags it reads, an
indirect call its target and the slot it was read from. libc's heap is a
scene of blocks that exist (a dump by fields with a size and a protected
pointer read, arcs as the free list, a loupe into the tcache, the list
drawn over malloc's own), storyboarded on glibc 2.44. Mocks 16 to 18.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa
Diffstat (limited to 'design/mock/16-descent.svg')
| -rw-r--r-- | design/mock/16-descent.svg | 733 |
1 files changed, 733 insertions, 0 deletions
diff --git a/design/mock/16-descent.svg b/design/mock/16-descent.svg new file mode 100644 index 0000000..c0af532 --- /dev/null +++ b/design/mock/16-descent.svg @@ -0,0 +1,733 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="3840" height="1000" viewBox="0 0 3840 1000"> +<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="3840" height="1000" fill="#0a1030"/> +<g transform="translate(0,0)"> +<text x="64.0" y="40.0" font-family="Go" font-size="28" fill="#e8c46a" xml:space="preserve" font-weight="bold">1</text> +<text x="92.0" y="40.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">at the call</text> +<text x="944.0" y="40.0" font-family="Go" font-size="20" fill="#6a7ab8" xml:space="preserve" text-anchor="end">moment 1</text> +<rect x="64.0" y="64.0" width="880.0" height="24.0" fill="#16245f"/> +<rect x="65.0" y="65.0" width="878.0" height="222.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="73.0" y="71.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> +<text x="92.0" y="82.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">hello.c</text> +<text x="934.0" y="82.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">lines 3 to 10 of 11</text> +<text x="98.0" y="111.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">3</text> +<text x="98.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4</text> +<text x="128.0 140.0 152.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">int</text> +<text x="176.0 188.0 200.0 212.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">main</text> +<text x="224.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="236.0 248.0 260.0 272.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">void</text> +<text x="284.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="308.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">{</text> +<text x="98.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">5</text> +<text x="176.0 188.0 200.0 212.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">char</text> +<text x="236.0 248.0 260.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">buf</text> +<text x="272.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">[</text> +<text x="284.0 296.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">32</text> +<text x="308.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">]</text> +<text x="320.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<rect x="66.0" y="164.0" width="876.0" height="24.0" fill="#222742"/> +<rect x="66.0" y="164.0" width="50.0" height="24.0" fill="#e8c46a"/> +<text x="98.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#050a24" xml:space="preserve" font-weight="bold">6</text> +<text x="176.0 188.0 200.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">int</text> +<text x="224.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">f</text> +<text x="248.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">=</text> +<text x="272.0 284.0 296.0 308.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">open</text> +<text x="320.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="332.0 344.0 356.0 368.0 380.0 392.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">"note"</text> +<text x="404.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="428.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">0</text> +<text x="440.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="452.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="98.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">7</text> +<text x="176.0 188.0 200.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">int</text> +<text x="224.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">n</text> +<text x="248.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">=</text> +<text x="272.0 284.0 296.0 308.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">read</text> +<text x="320.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="332.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">f</text> +<text x="344.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="368.0 380.0 392.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">buf</text> +<text x="404.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="428.0 440.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">32</text> +<text x="452.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="464.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="98.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">8</text> +<text x="176.0 188.0 200.0 212.0 224.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">close</text> +<text x="236.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="248.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">f</text> +<text x="260.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="272.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="98.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">9</text> +<text x="176.0 188.0 200.0 212.0 224.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">write</text> +<text x="236.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="248.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">1</text> +<text x="260.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="284.0 296.0 308.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">buf</text> +<text x="320.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="344.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">n</text> +<text x="356.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="368.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="86.0 98.0" y="279.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">10</text> +<text x="176.0 188.0 200.0 212.0 224.0 236.0" y="279.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">return</text> +<text x="260.0" y="279.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">0</text> +<text x="272.0" y="279.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<rect x="64.0" y="300.0" width="880.0" height="24.0" fill="#16245f"/> +<rect x="65.0" y="301.0" width="878.0" height="438.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="73.0" y="307.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> +<text x="92.0" y="318.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">disassembly</text> +<text x="934.0" y="318.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">main</text> +<text x="104.0 116.0 128.0 140.0" y="347.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="347.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">7a</text> +<text x="222.0" y="347.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4</text> +<text x="244.0 256.0 268.0" y="347.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">sub</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0" y="347.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rsp, 0x40</text> +<text x="104.0 116.0 128.0 140.0" y="371.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="371.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">7e</text> +<text x="244.0 256.0 268.0" y="371.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0" y="371.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rax, fs:[0x28]</text> +<text x="628.0 640.0 652.0 664.0 676.0 688.0 700.0 712.0 724.0 736.0 748.0 760.0 772.0 784.0 796.0 808.0 820.0 832.0" y="371.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">the stack's canary</text> +<text x="104.0 116.0 128.0 140.0" y="395.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="395.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">87</text> +<text x="244.0 256.0 268.0" y="395.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0" y="395.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">[rbp - 8], rax</text> +<text x="104.0 116.0 128.0 140.0" y="419.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="419.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">8b</text> +<text x="244.0 256.0 268.0" y="419.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">xor</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0" y="419.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">eax, eax</text> +<text x="104.0 116.0 128.0 140.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">8d</text> +<text x="222.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">6</text> +<text x="244.0 256.0 268.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">lea</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0 508.0 520.0 532.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rax, [rip + 0xe70]</text> +<text x="628.0 640.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">= </text> +<text x="652.0 664.0 676.0 688.0 700.0 712.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">402004</text> +<text x="724.0 736.0 748.0 760.0 772.0 784.0 796.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500"> "note"</text> +<rect x="66.0" y="449.0" width="4.0" height="22.0" fill="#463b20"/> +<text x="104.0 116.0 128.0 140.0" y="467.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="467.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">94</text> +<text x="244.0 256.0 268.0" y="467.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0" y="467.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">esi, 0</text> +<text x="628.0 640.0 652.0" y="467.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rsi</text> +<text x="676.0" y="467.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<rect x="66.0" y="473.0" width="4.0" height="22.0" fill="#746235"/> +<text x="104.0 116.0 128.0 140.0" y="491.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="491.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">99</text> +<text x="244.0 256.0 268.0" y="491.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0" y="491.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rdi, rax</text> +<text x="628.0 640.0 652.0" y="491.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rdi</text> +<text x="676.0 688.0 700.0 712.0 724.0 736.0" y="491.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">402004</text> +<path d="M754,484 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="761.0" y="483.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="778.0 790.0 802.0 814.0 826.0 838.0" y="491.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">"note"</text> +<rect x="66.0" y="497.0" width="4.0" height="22.0" fill="#ae9350"/> +<text x="104.0 116.0 128.0 140.0" y="515.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="515.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">9c</text> +<text x="244.0 256.0 268.0" y="515.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0" y="515.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">eax, 0</text> +<text x="628.0 640.0 652.0" y="515.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rax</text> +<text x="676.0" y="515.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<rect x="66.0" y="520.0" width="876.0" height="24.0" fill="#222742"/> +<rect x="66.0" y="520.0" width="24.0" height="24.0" fill="#e8c46a"/> +<path d="M84,532 l-10,-6 v12 Z" fill="#050a24"/> +<text x="104.0 116.0 128.0 140.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">a1</text> +<text x="244.0 256.0 268.0 280.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">call</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">401070</text> +<text x="412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">open@plt</text> +<text x="628.0 640.0 652.0 664.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#fff8e8" xml:space="preserve" font-weight="500">open</text> +<text x="676.0 688.0 700.0 712.0 724.0 736.0 748.0 760.0 772.0 784.0 796.0 808.0 820.0 832.0 844.0 856.0 868.0 880.0 892.0 904.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500"> in libc, by the PLT</text> +<text x="104.0 116.0 128.0 140.0" y="563.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="563.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">a6</text> +<text x="244.0 256.0 268.0" y="563.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0 508.0 520.0" y="563.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">[rbp - 0x38], eax</text> +<text x="628.0 640.0 652.0" y="563.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rdi</text> +<text x="676.0 688.0 700.0 712.0 724.0 736.0" y="563.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">402004</text> +<path d="M754,556 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="761.0" y="555.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="778.0 790.0 802.0 814.0 826.0 838.0" y="563.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">"note"</text> +<text x="104.0 116.0 128.0 140.0" y="587.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="587.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">a9</text> +<text x="222.0" y="587.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">7</text> +<text x="244.0 256.0 268.0" y="587.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">lea</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0 508.0 520.0" y="587.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rcx, [rbp - 0x30]</text> +<text x="628.0 640.0 652.0 664.0" y="587.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rsi </text> +<text x="676.0 688.0 700.0 712.0 724.0 736.0 748.0 760.0" y="587.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">O_RDONLY</text> +<text x="104.0 116.0 128.0 140.0" y="611.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="611.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">ad</text> +<text x="244.0 256.0 268.0" y="611.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0 508.0 520.0" y="611.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">eax, [rbp - 0x38]</text> +<text x="104.0 116.0 128.0 140.0" y="635.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="635.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">b0</text> +<text x="244.0 256.0 268.0" y="635.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0" y="635.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">edx, 0x20</text> +<text x="104.0 116.0 128.0 140.0" y="659.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="659.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">b5</text> +<text x="244.0 256.0 268.0" y="659.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0" y="659.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rsi, rcx</text> +<text x="104.0 116.0 128.0 140.0" y="683.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="683.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">b8</text> +<text x="244.0 256.0 268.0" y="683.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0" y="683.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">edi, eax</text> +<text x="104.0 116.0 128.0 140.0" y="707.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="707.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">ba</text> +<text x="244.0 256.0 268.0 280.0" y="707.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">call</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0" y="707.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">401060</text> +<text x="412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0" y="707.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">read@plt</text> +<text x="628.0 640.0 652.0 664.0" y="707.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">read</text> +<text x="104.0 116.0 128.0 140.0" y="731.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="731.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">bf</text> +<text x="244.0 256.0 268.0" y="731.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0 508.0 520.0" y="731.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">[rbp - 0x34], eax</text> +<rect x="52.5" y="166.0" width="3.0" height="20.0" fill="#e8c46a"/> +<rect x="52.5" y="166.0" width="10.0" height="3.0" fill="#e8c46a"/> +<rect x="52.5" y="183.0" width="10.0" height="3.0" fill="#e8c46a"/> +<rect x="52.5" y="426.0" width="3.0" height="140.0" fill="#e8c46a"/> +<rect x="52.5" y="426.0" width="10.0" height="3.0" fill="#e8c46a"/> +<rect x="52.5" y="563.0" width="10.0" height="3.0" fill="#e8c46a"/> +<rect x="52.5" y="166.0" width="3.0" height="400.0" fill="#e8c46a"/> +<text x="64.0" y="800.0" font-family="Go" font-size="28" fill="#eee6d2" xml:space="preserve">main calls open by its stub in the PLT. The arguments</text> +<text x="64.0" y="840.0" font-family="Go" font-size="28" fill="#eee6d2" xml:space="preserve">are in rdi and rsi: "note" and O_RDONLY.</text> +</g> +<g transform="translate(928,0)"> +<text x="64.0" y="40.0" font-family="Go" font-size="28" fill="#e8c46a" xml:space="preserve" font-weight="bold">2</text> +<text x="92.0" y="40.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">in the stub</text> +<text x="944.0" y="40.0" font-family="Go" font-size="20" fill="#6a7ab8" xml:space="preserve" text-anchor="end">moment 2</text> +<rect x="64.0" y="64.0" width="880.0" height="24.0" fill="#16245f"/> +<rect x="65.0" y="65.0" width="878.0" height="222.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="73.0" y="71.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> +<text x="92.0" y="82.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">hello.c</text> +<text x="934.0" y="82.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">main waits at line 6 · the pc is in the PLT</text> +<text x="98.0" y="111.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">3</text> +<text x="98.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4</text> +<text x="128.0 140.0 152.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">int</text> +<text x="176.0 188.0 200.0 212.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">main</text> +<text x="224.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="236.0 248.0 260.0 272.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">void</text> +<text x="284.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="308.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">{</text> +<text x="98.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">5</text> +<text x="176.0 188.0 200.0 212.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">char</text> +<text x="236.0 248.0 260.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">buf</text> +<text x="272.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">[</text> +<text x="284.0 296.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">32</text> +<text x="308.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">]</text> +<text x="320.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<rect x="67.0" y="165.0" width="48.0" height="22.0" fill="none" stroke="#eee6d2" stroke-width="2"/> +<text x="98.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="bold">6</text> +<text x="176.0 188.0 200.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">int</text> +<text x="224.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">f</text> +<text x="248.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">=</text> +<text x="272.0 284.0 296.0 308.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">open</text> +<text x="320.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="332.0 344.0 356.0 368.0 380.0 392.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">"note"</text> +<text x="404.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="428.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">0</text> +<text x="440.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="452.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="98.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">7</text> +<text x="176.0 188.0 200.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">int</text> +<text x="224.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">n</text> +<text x="248.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">=</text> +<text x="272.0 284.0 296.0 308.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">read</text> +<text x="320.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="332.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">f</text> +<text x="344.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="368.0 380.0 392.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">buf</text> +<text x="404.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="428.0 440.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">32</text> +<text x="452.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="464.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="98.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">8</text> +<text x="176.0 188.0 200.0 212.0 224.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">close</text> +<text x="236.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="248.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">f</text> +<text x="260.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="272.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="98.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">9</text> +<text x="176.0 188.0 200.0 212.0 224.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">write</text> +<text x="236.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="248.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">1</text> +<text x="260.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="284.0 296.0 308.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">buf</text> +<text x="320.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="344.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">n</text> +<text x="356.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="368.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="86.0 98.0" y="279.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">10</text> +<text x="176.0 188.0 200.0 212.0 224.0 236.0" y="279.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">return</text> +<text x="260.0" y="279.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">0</text> +<text x="272.0" y="279.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<rect x="64.0" y="300.0" width="880.0" height="24.0" fill="#16245f"/> +<rect x="65.0" y="301.0" width="878.0" height="438.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="73.0" y="307.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> +<text x="92.0" y="318.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">disassembly</text> +<text x="934.0" y="318.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">open@plt · the PLT</text> +<text x="104.0 116.0 128.0 140.0" y="347.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="347.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">87</text> +<text x="222.0" y="347.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4</text> +<text x="244.0 256.0 268.0" y="347.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0" y="347.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">[rbp - 8], rax</text> +<text x="104.0 116.0 128.0 140.0" y="371.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="371.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">8b</text> +<text x="244.0 256.0 268.0" y="371.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">xor</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0" y="371.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">eax, eax</text> +<text x="104.0 116.0 128.0 140.0" y="395.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="395.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">8d</text> +<text x="222.0" y="395.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">6</text> +<text x="244.0 256.0 268.0" y="395.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">lea</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0 508.0 520.0 532.0" y="395.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rax, [rip + 0xe70]</text> +<text x="628.0 640.0" y="395.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">= </text> +<text x="652.0 664.0 676.0 688.0 700.0 712.0" y="395.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">402004</text> +<text x="724.0 736.0 748.0 760.0 772.0 784.0 796.0" y="395.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500"> "note"</text> +<text x="104.0 116.0 128.0 140.0" y="419.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="419.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">94</text> +<text x="244.0 256.0 268.0" y="419.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0" y="419.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">esi, 0</text> +<rect x="66.0" y="425.0" width="4.0" height="22.0" fill="#463b20"/> +<text x="104.0 116.0 128.0 140.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">99</text> +<text x="244.0 256.0 268.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rdi, rax</text> +<rect x="66.0" y="449.0" width="4.0" height="22.0" fill="#746235"/> +<text x="104.0 116.0 128.0 140.0" y="467.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="467.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">9c</text> +<text x="244.0 256.0 268.0" y="467.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0" y="467.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">eax, 0</text> +<rect x="67.0" y="473.0" width="22.0" height="22.0" fill="none" stroke="#eee6d2" stroke-width="2"/> +<path d="M83,484 l-8,-5 v10 Z" fill="#eee6d2"/> +<text x="104.0 116.0 128.0 140.0" y="491.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="491.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">a1</text> +<text x="244.0 256.0 268.0 280.0" y="491.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">call</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0" y="491.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">401070</text> +<text x="412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0" y="491.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">open@plt</text> +<text x="628.0 640.0 652.0 664.0" y="491.2" font-family="JetBrains Mono NL" font-size="20" fill="#fff8e8" xml:space="preserve" font-weight="500">open</text> +<text x="676.0 688.0 700.0 712.0 724.0 736.0 748.0 760.0 772.0 784.0 796.0 808.0 820.0 832.0 844.0 856.0 868.0 880.0" y="491.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">("note", O_RDONLY)</text> +<text x="104.0 116.0 128.0 140.0" y="515.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="515.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">a6</text> +<text x="244.0 256.0 268.0" y="515.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0 508.0 520.0" y="515.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">[rbp - 0x38], eax</text> +<text x="104.0 116.0 128.0 140.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">a9</text> +<text x="222.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">7</text> +<text x="244.0 256.0 268.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">lea</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0 508.0 520.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rcx, [rbp - 0x30]</text> +<text x="104.0 116.0 128.0 140.0" y="563.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="563.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">ad</text> +<text x="244.0 256.0 268.0" y="563.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0 508.0 520.0" y="563.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">eax, [rbp - 0x38]</text> +<text x="104.0 116.0 128.0 140.0" y="587.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="587.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">b0</text> +<text x="244.0 256.0 268.0" y="587.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0" y="587.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">edx, 0x20</text> +<text x="104.0 116.0 128.0 140.0" y="611.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="611.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">b5</text> +<text x="244.0 256.0 268.0" y="611.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0" y="611.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rsi, rcx</text> +<text x="104.0 116.0 128.0 140.0" y="635.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="635.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">b8</text> +<text x="244.0 256.0 268.0" y="635.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0" y="635.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">edi, eax</text> +<rect x="66.0" y="640.0" width="876.0" height="2.0" fill="#3a4a8a"/> +<text x="104.0" y="659.2" font-family="Go Medium" font-size="18" fill="#eee6d2" xml:space="preserve">open@plt</text> +<text x="932.0" y="659.2" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">the PLT · its jmp reads open@got, 403fd8</text> +<path d="M78.0,496.0 L78.0,648.0 Q78.0,652.0 82.0,652.0 L93.0,652.0" fill="none" stroke="#eee6d2" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<path d="M98.0,652.0 L91.0,656.0 L91.0,648.0 Z" fill="#eee6d2"/> +<rect x="66.0" y="664.0" width="876.0" height="24.0" fill="#222742"/> +<rect x="66.0" y="664.0" width="24.0" height="24.0" fill="#e8c46a"/> +<path d="M84,676 l-10,-6 v12 Z" fill="#050a24"/> +<text x="104.0 116.0 128.0 140.0" y="683.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4010</text> +<text x="152.0 164.0" y="683.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">70</text> +<text x="244.0 256.0 268.0" y="683.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">jmp</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0" y="683.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">[rip + 0x2f62]</text> +<rect x="634.0" y="675.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M652,676 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="658.0 670.0 682.0 694.0 706.0 718.0 730.0 742.0 754.0 766.0 778.0 790.0" y="683.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">7ffff7d10ec0</text> +<text x="802.0 814.0 826.0 838.0 850.0" y="683.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500"> open</text> +<text x="104.0 116.0 128.0 140.0" y="707.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4010</text> +<text x="152.0 164.0" y="707.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">76</text> +<text x="244.0 256.0 268.0 280.0" y="707.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">push</text> +<text x="328.0" y="707.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">4</text> +<text x="628.0 640.0 652.0 664.0 676.0 688.0 700.0 712.0 724.0 736.0 748.0 760.0 772.0 784.0 796.0 808.0 820.0 832.0 844.0 856.0" y="707.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">lazy binding: unused</text> +<text x="104.0 116.0 128.0 140.0" y="731.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4010</text> +<text x="152.0 164.0" y="731.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">7b</text> +<text x="244.0 256.0 268.0" y="731.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">jmp</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0" y="731.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">401020</text> +<rect x="53.0" y="166.0" width="2.0" height="20.0" fill="#eee6d2"/> +<rect x="53.0" y="166.0" width="9.0" height="2.0" fill="#eee6d2"/> +<rect x="53.0" y="184.0" width="9.0" height="2.0" fill="#eee6d2"/> +<rect x="53.0" y="378.0" width="2.0" height="140.0" fill="#eee6d2"/> +<rect x="53.0" y="378.0" width="9.0" height="2.0" fill="#eee6d2"/> +<rect x="53.0" y="516.0" width="9.0" height="2.0" fill="#eee6d2"/> +<rect x="53.0" y="166.0" width="2.0" height="352.0" fill="#eee6d2"/> +<text x="64.0" y="800.0" font-family="Go" font-size="28" fill="#eee6d2" xml:space="preserve">The call pushed main+48 and went down: main's window keeps</text> +<text x="64.0" y="840.0" font-family="Go" font-size="28" fill="#eee6d2" xml:space="preserve">its call, ringed; the stub's opens under it, and its jmp reads the GOT.</text> +</g> +<g transform="translate(1856,0)"> +<text x="64.0" y="40.0" font-family="Go" font-size="28" fill="#e8c46a" xml:space="preserve" font-weight="bold">3</text> +<text x="92.0" y="40.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">the crossing</text> +<text x="944.0" y="40.0" font-family="Go" font-size="20" fill="#6a7ab8" xml:space="preserve" text-anchor="end">moments 4 and 5</text> +<rect x="64.0" y="64.0" width="880.0" height="24.0" fill="#16245f"/> +<rect x="65.0" y="65.0" width="878.0" height="222.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="73.0" y="71.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> +<text x="92.0" y="82.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">hello.c</text> +<text x="934.0" y="82.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">main waits at line 6 · the pc is in libc's open</text> +<text x="98.0" y="111.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">3</text> +<text x="98.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4</text> +<text x="128.0 140.0 152.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">int</text> +<text x="176.0 188.0 200.0 212.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">main</text> +<text x="224.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="236.0 248.0 260.0 272.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">void</text> +<text x="284.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="308.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">{</text> +<text x="98.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">5</text> +<text x="176.0 188.0 200.0 212.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">char</text> +<text x="236.0 248.0 260.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">buf</text> +<text x="272.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">[</text> +<text x="284.0 296.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">32</text> +<text x="308.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">]</text> +<text x="320.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<rect x="67.0" y="165.0" width="48.0" height="22.0" fill="none" stroke="#eee6d2" stroke-width="2"/> +<text x="98.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="bold">6</text> +<text x="176.0 188.0 200.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">int</text> +<text x="224.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">f</text> +<text x="248.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">=</text> +<text x="272.0 284.0 296.0 308.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">open</text> +<text x="320.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="332.0 344.0 356.0 368.0 380.0 392.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">"note"</text> +<text x="404.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="428.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">0</text> +<text x="440.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="452.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="98.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">7</text> +<text x="176.0 188.0 200.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">int</text> +<text x="224.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">n</text> +<text x="248.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">=</text> +<text x="272.0 284.0 296.0 308.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">read</text> +<text x="320.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="332.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">f</text> +<text x="344.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="368.0 380.0 392.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">buf</text> +<text x="404.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="428.0 440.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">32</text> +<text x="452.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="464.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="98.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">8</text> +<text x="176.0 188.0 200.0 212.0 224.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">close</text> +<text x="236.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="248.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">f</text> +<text x="260.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="272.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="98.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">9</text> +<text x="176.0 188.0 200.0 212.0 224.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">write</text> +<text x="236.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="248.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">1</text> +<text x="260.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="284.0 296.0 308.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">buf</text> +<text x="320.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="344.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">n</text> +<text x="356.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="368.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="86.0 98.0" y="279.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">10</text> +<text x="176.0 188.0 200.0 212.0 224.0 236.0" y="279.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">return</text> +<text x="260.0" y="279.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">0</text> +<text x="272.0" y="279.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<rect x="64.0" y="300.0" width="880.0" height="24.0" fill="#16245f"/> +<rect x="65.0" y="301.0" width="878.0" height="438.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="73.0" y="307.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> +<text x="92.0" y="318.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">disassembly</text> +<text x="934.0" y="318.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">open · libc.so.6</text> +<rect x="66.0" y="329.0" width="4.0" height="22.0" fill="#463b20"/> +<text x="104.0 116.0 128.0 140.0" y="347.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="347.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">9c</text> +<text x="222.0" y="347.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">6</text> +<text x="244.0 256.0 268.0" y="347.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0" y="347.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">eax, 0</text> +<rect x="67.0" y="353.0" width="22.0" height="22.0" fill="none" stroke="#eee6d2" stroke-width="2"/> +<path d="M83,364 l-8,-5 v10 Z" fill="#eee6d2"/> +<text x="104.0 116.0 128.0 140.0" y="371.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="371.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">a1</text> +<text x="244.0 256.0 268.0 280.0" y="371.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">call</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0" y="371.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">401070</text> +<text x="412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0" y="371.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">open@plt</text> +<text x="628.0 640.0 652.0 664.0" y="371.2" font-family="JetBrains Mono NL" font-size="20" fill="#fff8e8" xml:space="preserve" font-weight="500">open</text> +<text x="676.0 688.0 700.0 712.0 724.0 736.0 748.0 760.0 772.0 784.0 796.0 808.0 820.0 832.0 844.0 856.0 868.0 880.0" y="371.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">("note", O_RDONLY)</text> +<text x="104.0 116.0 128.0 140.0" y="395.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="395.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">a6</text> +<text x="244.0 256.0 268.0" y="395.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0 508.0 520.0" y="395.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">[rbp - 0x38], eax</text> +<rect x="66.0" y="400.0" width="876.0" height="2.0" fill="#3a4a8a"/> +<text x="104.0" y="419.2" font-family="Go Medium" font-size="18" fill="#eee6d2" xml:space="preserve">open@plt</text> +<text x="932.0" y="419.2" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">the PLT, jumped through</text> +<path d="M78.0,376.0 L78.0,408.0 Q78.0,412.0 82.0,412.0 L93.0,412.0" fill="none" stroke="#eee6d2" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<path d="M98.0,412.0 L91.0,416.0 L91.0,408.0 Z" fill="#eee6d2"/> +<rect x="66.0" y="425.0" width="4.0" height="22.0" fill="#746235"/> +<text x="104.0 116.0 128.0 140.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4010</text> +<text x="152.0 164.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">70</text> +<text x="244.0 256.0 268.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">jmp</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">[rip + 0x2f62]</text> +<rect x="634.0" y="435.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M652,436 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="658.0 670.0 682.0 694.0 706.0 718.0 730.0 742.0 754.0 766.0 778.0 790.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">7ffff7d10ec0</text> +<text x="802.0 814.0 826.0 838.0 850.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500"> open</text> +<rect x="66.0" y="448.0" width="876.0" height="2.0" fill="#3a4a8a"/> +<text x="104.0" y="467.2" font-family="Go Medium" font-size="18" fill="#eee6d2" xml:space="preserve">open</text> +<text x="932.0" y="467.2" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">libc.so.6 · no source</text> +<path d="M78.0,442.0 L78.0,456.0 Q78.0,460.0 82.0,460.0 L93.0,460.0" fill="none" stroke="#eee6d2" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<path d="M98.0,460.0 L91.0,464.0 L91.0,456.0 Z" fill="#eee6d2"/> +<rect x="66.0" y="473.0" width="4.0" height="22.0" fill="#463b20"/> +<text x="104.0 116.0 128.0 140.0 152.0 164.0 176.0 188.0 200.0 212.0" y="491.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">7ffff7d10f</text> +<text x="224.0 236.0" y="491.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">b6</text> +<text x="304.0 316.0 328.0" y="491.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">xor</text> +<text x="388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0" y="491.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r8d, r8d</text> +<text x="688.0 700.0" y="491.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r8</text> +<text x="724.0" y="491.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<rect x="66.0" y="497.0" width="4.0" height="22.0" fill="#746235"/> +<text x="104.0 116.0 128.0 140.0 152.0 164.0 176.0 188.0 200.0 212.0" y="515.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">7ffff7d10f</text> +<text x="224.0 236.0" y="515.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">b9</text> +<text x="304.0 316.0 328.0" y="515.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0 508.0 520.0 532.0 544.0 556.0 568.0 580.0 592.0 604.0 616.0 628.0 640.0 652.0" y="515.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rdi, 0xffffffffffffff9c</text> +<text x="688.0 700.0 712.0 724.0" y="515.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rdi </text> +<text x="736.0 748.0 760.0 772.0" y="515.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">-100</text> +<text x="784.0 796.0 808.0 820.0 832.0 844.0 856.0 868.0 880.0" y="515.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500"> AT_FDCWD</text> +<rect x="66.0" y="521.0" width="4.0" height="22.0" fill="#ae9350"/> +<text x="104.0 116.0 128.0 140.0 152.0 164.0 176.0 188.0 200.0 212.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">7ffff7d10f</text> +<text x="224.0 236.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">c0</text> +<text x="304.0 316.0 328.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">eax, 0x101</text> +<text x="688.0 700.0 712.0 724.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rax </text> +<text x="736.0 748.0 760.0 772.0 784.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0x101</text> +<text x="796.0 808.0 820.0 832.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500"> 257</text> +<rect x="66.0" y="544.0" width="876.0" height="24.0" fill="#222742"/> +<rect x="66.0" y="544.0" width="24.0" height="24.0" fill="#e8c46a"/> +<path d="M84,556 l-10,-6 v12 Z" fill="#050a24"/> +<text x="104.0 116.0 128.0 140.0 152.0 164.0 176.0 188.0 200.0 212.0" y="563.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">7ffff7d10f</text> +<text x="224.0 236.0" y="563.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">c5</text> +<text x="304.0 316.0 328.0 340.0 352.0 364.0 376.0" y="563.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">syscall</text> +<text x="688.0 700.0 712.0 724.0 736.0 748.0" y="563.2" font-family="JetBrains Mono NL" font-size="20" fill="#fff8e8" xml:space="preserve" font-weight="500">openat</text> +<text x="760.0 772.0 784.0 796.0 808.0 820.0 832.0" y="563.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500"> nr 257</text> +<text x="104.0 116.0 128.0 140.0 152.0 164.0 176.0 188.0 200.0 212.0" y="587.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">7ffff7d10f</text> +<text x="224.0 236.0" y="587.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">c7</text> +<text x="304.0 316.0 328.0" y="587.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0" y="587.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rdx, rax</text> +<text x="688.0 700.0 712.0" y="587.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rdi</text> +<text x="736.0 748.0 760.0 772.0" y="587.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">-100</text> +<text x="104.0 116.0 128.0 140.0 152.0 164.0 176.0 188.0 200.0 212.0" y="611.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">7ffff7d10f</text> +<text x="224.0 236.0" y="611.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">ca</text> +<text x="304.0 316.0 328.0" y="611.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">cmp</text> +<text x="388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0 508.0 520.0" y="611.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rax, -0x1000</text> +<text x="688.0 700.0 712.0" y="611.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rsi</text> +<text x="736.0 748.0 760.0 772.0 784.0 796.0" y="611.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">402004</text> +<path d="M814,604 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="821.0" y="603.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="838.0 850.0 862.0 874.0 886.0 898.0" y="611.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">"note"</text> +<text x="104.0 116.0 128.0 140.0 152.0 164.0 176.0 188.0 200.0 212.0" y="635.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">7ffff7d10f</text> +<text x="224.0 236.0" y="635.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">d0</text> +<text x="304.0 316.0" y="635.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">ja</text> +<text x="388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0 508.0 520.0" y="635.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">7ffff7d10fe8</text> +<text x="688.0 700.0 712.0 724.0" y="635.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rdx </text> +<text x="736.0 748.0 760.0 772.0 784.0 796.0 808.0 820.0" y="635.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">O_RDONLY</text> +<text x="104.0 116.0 128.0 140.0 152.0 164.0 176.0 188.0 200.0 212.0" y="659.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">7ffff7d10f</text> +<text x="224.0 236.0" y="659.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">d2</text> +<text x="304.0 316.0 328.0" y="659.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0" y="659.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">eax, edx</text> +<text x="688.0 700.0 712.0 724.0" y="659.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r10 </text> +<text x="736.0" y="659.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<rect x="66.0" y="664.0" width="876.0" height="72.0" fill="#eee6d2"/> +<rect x="66.0" y="664.0" width="876.0" height="2.0" fill="#b9ad8e"/> +<text x="104.0" y="683.2" font-family="Go Medium" font-size="18" fill="#0a1030" xml:space="preserve">the kernel</text> +<text x="932.0" y="683.2" font-family="Go" font-size="18" fill="#4a5488" xml:space="preserve" text-anchor="end">openat, system call 257</text> +<rect x="76.5" y="562.0" width="3.0" height="102.0" fill="#eee6d2"/> +<path d="M78,678 l-6,-10 h12 Z" fill="#0a1030"/> +<text x="104.0 116.0 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 296.0 308.0 320.0 332.0 344.0 356.0 368.0 380.0 392.0 404.0 416.0 428.0 440.0 452.0 464.0 476.0 488.0 500.0 512.0 524.0 536.0" y="707.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">openat(AT_FDCWD, "note", O_RDONLY, 0)</text> +<text x="104.0 116.0 128.0 140.0 152.0 164.0 176.0 188.0" y="731.2" font-family="JetBrains Mono NL" font-size="20" fill="#4a5488" xml:space="preserve" font-weight="500">returns </text> +<rect x="195.0" y="713.0" width="22.0" height="22.0" fill="#b64f42"/> +<text x="200.0" y="731.2" font-family="JetBrains Mono NL" font-size="20" fill="#fff8e8" xml:space="preserve" font-weight="bold">3</text> +<text x="212.0 224.0 236.0 248.0 260.0 272.0 284.0" y="731.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500"> "note"</text> +<text x="296.0 308.0 320.0 332.0 344.0 356.0 368.0 380.0 392.0 404.0 416.0 428.0 440.0 452.0 464.0 476.0 488.0 500.0 512.0 524.0 536.0 548.0" y="731.2" font-family="JetBrains Mono NL" font-size="20" fill="#4a5488" xml:space="preserve" font-weight="500"> rcx, r11: clobbered</text> +<rect x="53.0" y="166.0" width="2.0" height="20.0" fill="#eee6d2"/> +<rect x="53.0" y="166.0" width="9.0" height="2.0" fill="#eee6d2"/> +<rect x="53.0" y="184.0" width="9.0" height="2.0" fill="#eee6d2"/> +<rect x="53.0" y="330.0" width="2.0" height="68.0" fill="#eee6d2"/> +<rect x="53.0" y="330.0" width="9.0" height="2.0" fill="#eee6d2"/> +<rect x="53.0" y="396.0" width="9.0" height="2.0" fill="#eee6d2"/> +<rect x="53.0" y="166.0" width="2.0" height="232.0" fill="#eee6d2"/> +<text x="64.0" y="800.0" font-family="Go" font-size="28" fill="#eee6d2" xml:space="preserve">libc's open is a wrapper: it puts openat's number in rax</text> +<text x="64.0" y="840.0" font-family="Go" font-size="28" fill="#eee6d2" xml:space="preserve">and its arguments in rdi, rsi, rdx, r10; syscall crosses down.</text> +</g> +<g transform="translate(2784,0)"> +<text x="64.0" y="40.0" font-family="Go" font-size="28" fill="#e8c46a" xml:space="preserve" font-weight="bold">4</text> +<text x="92.0" y="40.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">back up</text> +<text x="944.0" y="40.0" font-family="Go" font-size="20" fill="#6a7ab8" xml:space="preserve" text-anchor="end">moment 6</text> +<rect x="64.0" y="64.0" width="880.0" height="24.0" fill="#16245f"/> +<rect x="65.0" y="65.0" width="878.0" height="222.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="73.0" y="71.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> +<text x="92.0" y="82.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">hello.c</text> +<text x="934.0" y="82.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">lines 3 to 10 of 11</text> +<text x="98.0" y="111.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">3</text> +<text x="98.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4</text> +<text x="128.0 140.0 152.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">int</text> +<text x="176.0 188.0 200.0 212.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">main</text> +<text x="224.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="236.0 248.0 260.0 272.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">void</text> +<text x="284.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="308.0" y="135.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">{</text> +<text x="98.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">5</text> +<text x="176.0 188.0 200.0 212.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">char</text> +<text x="236.0 248.0 260.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">buf</text> +<text x="272.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">[</text> +<text x="284.0 296.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">32</text> +<text x="308.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">]</text> +<text x="320.0" y="159.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<rect x="66.0" y="164.0" width="876.0" height="24.0" fill="#222742"/> +<rect x="66.0" y="164.0" width="50.0" height="24.0" fill="#e8c46a"/> +<text x="98.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#050a24" xml:space="preserve" font-weight="bold">6</text> +<text x="176.0 188.0 200.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">int</text> +<text x="224.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">f</text> +<text x="248.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">=</text> +<text x="272.0 284.0 296.0 308.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">open</text> +<text x="320.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="332.0 344.0 356.0 368.0 380.0 392.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">"note"</text> +<text x="404.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="428.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">0</text> +<text x="440.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="452.0" y="183.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="98.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">7</text> +<text x="176.0 188.0 200.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">int</text> +<text x="224.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">n</text> +<text x="248.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">=</text> +<text x="272.0 284.0 296.0 308.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">read</text> +<text x="320.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="332.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">f</text> +<text x="344.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="368.0 380.0 392.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">buf</text> +<text x="404.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="428.0 440.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">32</text> +<text x="452.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="464.0" y="207.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="98.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">8</text> +<text x="176.0 188.0 200.0 212.0 224.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">close</text> +<text x="236.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="248.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">f</text> +<text x="260.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="272.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="98.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">9</text> +<text x="176.0 188.0 200.0 212.0 224.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">write</text> +<text x="236.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="248.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">1</text> +<text x="260.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="284.0 296.0 308.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">buf</text> +<text x="320.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="344.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">n</text> +<text x="356.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="368.0" y="255.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="86.0 98.0" y="279.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">10</text> +<text x="176.0 188.0 200.0 212.0 224.0 236.0" y="279.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">return</text> +<text x="260.0" y="279.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">0</text> +<text x="272.0" y="279.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<rect x="64.0" y="300.0" width="880.0" height="24.0" fill="#16245f"/> +<rect x="65.0" y="301.0" width="878.0" height="438.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="73.0" y="307.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> +<text x="92.0" y="318.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">disassembly</text> +<text x="934.0" y="318.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">main</text> +<text x="104.0 116.0 128.0 140.0" y="347.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="347.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">7a</text> +<text x="222.0" y="347.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4</text> +<text x="244.0 256.0 268.0" y="347.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">sub</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0" y="347.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rsp, 0x40</text> +<text x="104.0 116.0 128.0 140.0" y="371.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="371.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">7e</text> +<text x="244.0 256.0 268.0" y="371.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0" y="371.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rax, fs:[0x28]</text> +<text x="628.0 640.0 652.0 664.0 676.0 688.0 700.0 712.0 724.0 736.0 748.0 760.0 772.0 784.0 796.0 808.0 820.0 832.0" y="371.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">the stack's canary</text> +<text x="104.0 116.0 128.0 140.0" y="395.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="395.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">87</text> +<text x="244.0 256.0 268.0" y="395.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0" y="395.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">[rbp - 8], rax</text> +<text x="104.0 116.0 128.0 140.0" y="419.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="419.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">8b</text> +<text x="244.0 256.0 268.0" y="419.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">xor</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0" y="419.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">eax, eax</text> +<text x="104.0 116.0 128.0 140.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">8d</text> +<text x="222.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">6</text> +<text x="244.0 256.0 268.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">lea</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0 508.0 520.0 532.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rax, [rip + 0xe70]</text> +<text x="628.0 640.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">= </text> +<text x="652.0 664.0 676.0 688.0 700.0 712.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">402004</text> +<text x="724.0 736.0 748.0 760.0 772.0 784.0 796.0" y="443.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500"> "note"</text> +<text x="104.0 116.0 128.0 140.0" y="467.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="467.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">94</text> +<text x="244.0 256.0 268.0" y="467.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0" y="467.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">esi, 0</text> +<rect x="66.0" y="473.0" width="4.0" height="22.0" fill="#463b20"/> +<text x="104.0 116.0 128.0 140.0" y="491.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="491.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">99</text> +<text x="244.0 256.0 268.0" y="491.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0" y="491.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rdi, rax</text> +<rect x="66.0" y="497.0" width="4.0" height="22.0" fill="#746235"/> +<text x="104.0 116.0 128.0 140.0" y="515.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="515.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">9c</text> +<text x="244.0 256.0 268.0" y="515.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0" y="515.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">eax, 0</text> +<rect x="66.0" y="521.0" width="4.0" height="22.0" fill="#ae9350"/> +<text x="104.0 116.0 128.0 140.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">a1</text> +<text x="244.0 256.0 268.0 280.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">call</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">401070</text> +<text x="412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">open@plt</text> +<text x="628.0 640.0 652.0 664.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">open</text> +<text x="676.0 688.0 700.0 712.0 724.0 736.0 748.0 760.0 772.0 784.0 796.0 808.0 820.0 832.0 844.0 856.0 868.0 880.0 892.0 904.0 916.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">("note", O_RDONLY) = </text> +<text x="928.0" y="539.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">3</text> +<rect x="66.0" y="544.0" width="876.0" height="24.0" fill="#222742"/> +<rect x="66.0" y="544.0" width="24.0" height="24.0" fill="#e8c46a"/> +<path d="M84,556 l-10,-6 v12 Z" fill="#050a24"/> +<text x="104.0 116.0 128.0 140.0" y="563.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="563.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">a6</text> +<text x="244.0 256.0 268.0" y="563.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0 508.0 520.0" y="563.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">[rbp - 0x38], eax</text> +<text x="628.0 640.0 652.0 664.0 676.0 688.0 700.0 712.0 724.0 736.0 748.0 760.0" y="563.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffecc8</text> +<path d="M778,556 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="785.0" y="555.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="802.0" y="563.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<text x="104.0 116.0 128.0 140.0" y="587.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="587.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">a9</text> +<text x="222.0" y="587.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">7</text> +<text x="244.0 256.0 268.0" y="587.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">lea</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0 508.0 520.0" y="587.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rcx, [rbp - 0x30]</text> +<text x="104.0 116.0 128.0 140.0" y="611.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="611.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">ad</text> +<text x="244.0 256.0 268.0" y="611.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0 508.0 520.0" y="611.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">eax, [rbp - 0x38]</text> +<text x="104.0 116.0 128.0 140.0" y="635.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="635.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">b0</text> +<text x="244.0 256.0 268.0" y="635.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0" y="635.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">edx, 0x20</text> +<text x="104.0 116.0 128.0 140.0" y="659.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="659.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">b5</text> +<text x="244.0 256.0 268.0" y="659.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0" y="659.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rsi, rcx</text> +<text x="104.0 116.0 128.0 140.0" y="683.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="683.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">b8</text> +<text x="244.0 256.0 268.0" y="683.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0" y="683.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">edi, eax</text> +<text x="104.0 116.0 128.0 140.0" y="707.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="707.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">ba</text> +<text x="244.0 256.0 268.0 280.0" y="707.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">call</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0" y="707.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">401060</text> +<text x="412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0" y="707.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">read@plt</text> +<text x="628.0 640.0 652.0 664.0" y="707.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">read</text> +<text x="104.0 116.0 128.0 140.0" y="731.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4011</text> +<text x="152.0 164.0" y="731.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">bf</text> +<text x="244.0 256.0 268.0" y="731.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="328.0 340.0 352.0 364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0 508.0 520.0" y="731.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">[rbp - 0x34], eax</text> +<rect x="52.5" y="166.0" width="3.0" height="20.0" fill="#e8c46a"/> +<rect x="52.5" y="166.0" width="10.0" height="3.0" fill="#e8c46a"/> +<rect x="52.5" y="183.0" width="10.0" height="3.0" fill="#e8c46a"/> +<rect x="52.5" y="426.0" width="3.0" height="140.0" fill="#e8c46a"/> +<rect x="52.5" y="426.0" width="10.0" height="3.0" fill="#e8c46a"/> +<rect x="52.5" y="563.0" width="10.0" height="3.0" fill="#e8c46a"/> +<rect x="52.5" y="166.0" width="3.0" height="400.0" fill="#e8c46a"/> +<text x="64.0" y="800.0" font-family="Go" font-size="28" fill="#eee6d2" xml:space="preserve">open's ret came straight back to main+48: the stub was a jump,</text> +<text x="64.0" y="840.0" font-family="Go" font-size="28" fill="#eee6d2" xml:space="preserve">not a call. The windows close up, and eax holds 3, the descriptor.</text> +</g> +</svg> |
