From 4862e778af7779bbdb047b9c71adfb62add319b2 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 11 Nov 2026 14:17:43 -0300 Subject: design: the disassembly stays under the source; the graph as a track From the user, on the sort render. Registers a scene never changes fold three to a row, so the stack is twelve to fifteen slots and the disassembly keeps its place under the source with eleven to seventeen rows; a blocks lens has no view. The graph leaves the layered picture of the reverse-engineering tools: blocks are pills on one line in the order they run, a loop an arch over its blocks with the turn count at its centre, every bend a quarter circle; sort's eleven blocks and both loops are seen whole across the band. Sheets 42 and 43 set the layouts and the graph's forms side by side. Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa --- design/mock/23-graph-open.svg | 450 +++++++++++++++++++++--------------------- 1 file changed, 225 insertions(+), 225 deletions(-) (limited to 'design/mock/23-graph-open.svg') diff --git a/design/mock/23-graph-open.svg b/design/mock/23-graph-open.svg index f6154e7..0d7e9aa 100644 --- a/design/mock/23-graph-open.svg +++ b/design/mock/23-graph-open.svg @@ -1,229 +1,229 @@ - + - -the map: libc's open as its graph · 19 blocks, the run reached 8 so far; the 11 it never reached are folded into five boxes - - + +the map: libc's open as its track · 19 blocks, the run reached 8; the 11 never reached folded + + disassembly · open · libc.so.6 -no source · 19 blocks · folded: 11 never reached - - - - -1 - - - - -1 - - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -7ffff7d10ec0 -×1 -+0 -endbr64 - -+4 -push -rbp -+5 -mov -rbp, rsp -+8 -sub -rsp, 0x70 -+c -mov -[rbp - 0x30], rdx -+10 -mov -rax, fs:0x28 -+19 -mov -[rbp - 0x48], rax -+1d -xor -eax, eax -+1f -test -sil, 0x40 -+23 -jne -7ffff7d10f90 - - - -7ffff7d10ee9 -×1 -+29 -mov -eax, esi -+2b -xor -r10d, r10d -+2e -not -eax -+30 -test -eax, 0x410000 -+35 -je -7ffff7d10f90 - - - -7ffff7d10efb -×1 -+3b -mov -r11, fs:0x10 -+44 -movsxd -rdx, esi -+47 -mov -eax, [r11 + 0x308] -+4e -cmp -[rip + 0x11018b] - -, 0 -+55 -jne -7ffff7d10fb0 - - - -7ffff7d10fb0 -×1 -+f0 -mov -rsi, rdi -+f3 -xor -r9d, r9d - -+f6 -xor -r8d, r8d - -+f9 -mov -rdi, 0xffffffffffffff9c - -+100 -mov -eax, 0x101 - - - -+105 -syscall - -openat - nr 257 -+107 -mov -rdx, rax - - - -7ffff7d10fca -+10a -cmp -rax, 0xfffffffffffff000 -+110 -ja -7ffff7d10fe8 - - - -7ffff7d10fd2 -+112 -mov -eax, edx - - - -7ffff7d10fd4 -+114 -mov -rdx, [rbp - 0x48] -+118 -sub -rdx, fs:0x28 -+121 -jne -7ffff7d10fec - - - -7ffff7d10fe3 -+123 -leave - -+124 -ret - - - - - -+d0 to +eb -never reached -the O_CREAT path: the mode from the varargs - - -+5b to +b3 -4 blocks never reached -multi-threaded: a cancellable call - - -+128 to +cd -3 blocks never reached -an error: errno set, -1 returned - - -+136 to +149 -2 blocks never reached -cancelled - - -+12c to +130 -2 blocks never reached -the canary broken +no source · 19 blocks · folded: 11 never reached + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +7ffff7d10ec0 +×1 ++0 +endbr64 + ++4 +push +rbp ++5 +mov +rbp, rsp ++8 +sub +rsp, 0x70 ++c +mov +[rbp - 0x30], rdx ++10 +mov +rax, fs:0x28 ++19 +mov +[rbp - 0x48], rax ++1d +xor +eax, eax ++1f +test +sil, 0x40 ++23 +jne +7ffff7d10f90 +taken 0 · not 1 + + + +7ffff7d10ee9 +×1 ++29 +mov +eax, esi ++2b +xor +r10d, r10d ++2e +not +eax ++30 +test +eax, 0x410000 ++35 +je +7ffff7d10f90 +taken 0 · not 1 + + ++d0 to +eb +never reached +the O_CREAT path: the mode from the varargs + + + +7ffff7d10efb +×1 ++3b +mov +r11, fs:0x10 ++44 +movsxd +rdx, esi ++47 +mov +eax, [r11 + 0x308] ++4e +cmp +[rip + 0x11018b] + +, 0 ++55 +jne +7ffff7d10fb0 +taken 1 · not 0 + + ++5b to +b3 +4 blocks never reached +multi-threaded: a cancellable call + + + +7ffff7d10fb0 +×1 ++f0 +mov +rsi, rdi ++f3 +xor +r9d, r9d + ++f6 +xor +r8d, r8d + ++f9 +mov +rdi, 0xffffffffffffff9c + ++100 +mov +eax, 0x101 + + + ++105 +syscall + +openat + nr 257 ++107 +mov +rdx, rax + + ++136 to +149 +2 blocks never reached +cancelled + + + +7ffff7d10fca ++10a +cmp +rax, 0xfffffffffffff000 ++110 +ja +7ffff7d10fe8 + + + +7ffff7d10fd2 ++112 +mov +eax, edx + + ++128 to +cd +3 blocks never reached +an error: errno set, -1 returned + + + +7ffff7d10fd4 ++114 +mov +rdx, [rbp - 0x48] ++118 +sub +rdx, fs:0x28 ++121 +jne +7ffff7d10fec + + ++12c to +130 +2 blocks never reached +the canary broken + + + +7ffff7d10fe3 ++123 +leave + ++124 +ret + + + -- cgit v1.3