From 2a97030c9743d4680d698414c28e8d8739614215 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 10 Nov 2026 23:25:40 -0300 Subject: 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 Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa --- design/mock/19-map.svg | 66 +++++++++++++++++++++++++------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) (limited to 'design/mock/19-map.svg') diff --git a/design/mock/19-map.svg b/design/mock/19-map.svg index cd2def6..8dc8779 100644 --- a/design/mock/19-map.svg +++ b/design/mock/19-map.svg @@ -358,21 +358,21 @@ backtrace -newest on top - - -#0 -reverse+22 -list.c:21 -#1 -main+80 -list.c:40 +newest at the bottom + + +#0 +reverse+22 +list.c:21 +#1 +main+80 +list.c:40 #2 libc+27781 -#3 -__libc_start_main+137 -#4 -_start+37 +#3 +__libc_start_main+137 +#4 +_start+37 @@ -454,8 +454,8 @@ ret 1001 8d2 -nop -word ptr cs:[rax + rax] +nop +cs:[rax + rax] 1001 8e0 @@ -497,12 +497,12 @@ 8f7 13 mov -qword ptr [rax], rbx +[rax], rbx 1001 8fa 14 mov -qword ptr [rax + 8], r14 +[rax + 8], r14 1001 8fe 15 @@ -521,8 +521,8 @@ ret 1001 903 -nop -word ptr cs:[rax + rax] +nop +cs:[rax + rax] 1001 910 20 @@ -546,8 +546,8 @@ eax, eax 1001 91b -nop -dword ptr [rax + rax] +nop +[rax + rax] 1001 920 mov @@ -563,7 +563,7 @@ 926 21 mov -rdi, qword ptr [rdi + 8] +rdi, [rdi + 8] 1004098 @@ -576,7 +576,7 @@ 92a 22 mov -qword ptr [rax + 8], rcx +[rax + 8], rcx 1001 92e 20 @@ -604,7 +604,7 @@ 1001 938 -endbr64 +endbr64 _init 1001 93c @@ -613,7 +613,7 @@ 1001 940 mov -rax, qword ptr [rip + 0x1231] +rax, [rip + 0x1231] 1001 947 test @@ -636,7 +636,7 @@ 1001 954 -endbr64 +endbr64 _fini 1001 958 @@ -653,21 +653,21 @@ 1001 970 push -qword ptr [rip + 0x1222] +[rip + 0x1222] strtol@plt-0x10 1001 976 jmp -qword ptr [rip + 0x1224] +[rip + 0x1224] 1001 97c -nop -dword ptr [rax] +nop +[rax] 1001 980 jmp -qword ptr [rip + 0x1222] +[rip + 0x1222] strtol@plt 1001 986 @@ -681,7 +681,7 @@ 1001 990 jmp -qword ptr [rip + 0x121a] +[rip + 0x121a] printf@plt 1001 996 @@ -695,7 +695,7 @@ 1001 9a0 jmp -qword ptr [rip + 0x1212] +[rip + 0x1212] malloc@plt 1001 9a6 -- cgit v1.3