summaryrefslogtreecommitdiff
path: root/design/mock/reverse-O0.dis
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-11 10:38:37 -0300
committerGabriel Schneider <[email protected]>2026-11-11 10:40:03 -0300
commit6142fa676731e158622ca7956c150c58bc57f1f2 (patch)
tree7413e5740a83c07caa769ee35c57cb770875e0dc /design/mock/reverse-O0.dis
parent6a7a87b8ecb7902de5640cad00028997825024d2 (diff)
downloadcomputeranim-6142fa676731e158622ca7956c150c58bc57f1f2.tar.gz
computeranim-6142fa676731e158622ca7956c150c58bc57f1f2.zip
design: the graph of a function's blocks; two runs as a pair
From the user. The disassembly's alternate form at a larger scale is the graph of its basic blocks: a block a box of rows with its offset, lines and visit count; execution flows down and a back edge is the one thing that climbs, in its loop's lane with the turn count; what the run never reached folds away. On the map it takes the disassembly's place; in the working frame a blocks lens draws its shape and the rows are its view. Verbs leave and turn carry the mark along an edge. Two runs of one program share a frame as a pair: the seam is the gutter, the source shared above, rows only one run has and values that differ marked at the seam. The scene it is made for sets a plain build against an ASan one in a stack overflow: the frame beside its shadow bytes, the store beside its check, and the step where they part. Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa
Diffstat (limited to 'design/mock/reverse-O0.dis')
-rw-r--r--design/mock/reverse-O0.dis37
1 files changed, 37 insertions, 0 deletions
diff --git a/design/mock/reverse-O0.dis b/design/mock/reverse-O0.dis
new file mode 100644
index 0000000..80487a3
--- /dev/null
+++ b/design/mock/reverse-O0.dis
@@ -0,0 +1,37 @@
+0000000000401188 <reverse>:
+reverse():
+/home/goblin/00-projects/0x4200.cafe/01-computeranim/anim/tools/list.c:17
+ 401188: push rbp
+ 401189: mov rbp,rsp
+/home/goblin/00-projects/0x4200.cafe/01-computeranim/anim/tools/list.c:18
+ 40118c: mov QWORD PTR [rbp-0x18],0x0
+/home/goblin/00-projects/0x4200.cafe/01-computeranim/anim/tools/list.c:19
+ 401194: mov rax,QWORD PTR [rip+0x2e7d] # 404018 <head>
+ 40119b: mov QWORD PTR [rbp-0x10],rax
+/home/goblin/00-projects/0x4200.cafe/01-computeranim/anim/tools/list.c:20
+ 40119f: jmp 4011c9 <reverse+0x41>
+/home/goblin/00-projects/0x4200.cafe/01-computeranim/anim/tools/list.c:21
+ 4011a1: mov rax,QWORD PTR [rbp-0x10]
+ 4011a5: mov rax,QWORD PTR [rax+0x8]
+ 4011a9: mov QWORD PTR [rbp-0x8],rax
+/home/goblin/00-projects/0x4200.cafe/01-computeranim/anim/tools/list.c:22
+ 4011ad: mov rax,QWORD PTR [rbp-0x10]
+ 4011b1: mov rdx,QWORD PTR [rbp-0x18]
+ 4011b5: mov QWORD PTR [rax+0x8],rdx
+/home/goblin/00-projects/0x4200.cafe/01-computeranim/anim/tools/list.c:23
+ 4011b9: mov rax,QWORD PTR [rbp-0x10]
+ 4011bd: mov QWORD PTR [rbp-0x18],rax
+/home/goblin/00-projects/0x4200.cafe/01-computeranim/anim/tools/list.c:24
+ 4011c1: mov rax,QWORD PTR [rbp-0x8]
+ 4011c5: mov QWORD PTR [rbp-0x10],rax
+/home/goblin/00-projects/0x4200.cafe/01-computeranim/anim/tools/list.c:20 (discriminator 1)
+ 4011c9: cmp QWORD PTR [rbp-0x10],0x0
+ 4011ce: jne 4011a1 <reverse+0x19>
+/home/goblin/00-projects/0x4200.cafe/01-computeranim/anim/tools/list.c:26
+ 4011d0: mov rax,QWORD PTR [rbp-0x18]
+ 4011d4: mov QWORD PTR [rip+0x2e3d],rax # 404018 <head>
+/home/goblin/00-projects/0x4200.cafe/01-computeranim/anim/tools/list.c:27
+ 4011db: nop
+ 4011dc: pop rbp
+ 4011dd: ret
+