diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-11 09:41:45 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-11 10:14:30 -0300 |
| commit | 390872b7bb9cdcf3e8095442af88af0dfcb40602 (patch) | |
| tree | ab767cf46dfca036e61e0e19bb5e1c4772cb1d4d /anim/scenes/syscalls.zig | |
| parent | 378379807fb4cd751e90808c8363caddb365bcd8 (diff) | |
| download | computeranim-390872b7bb9cdcf3e8095442af88af0dfcb40602.tar.gz computeranim-390872b7bb9cdcf3e8095442af88af0dfcb40602.zip | |
canim: what the verification review found, fixed
A register's chain reads memory as its panel shows it, and follows again
only after the bytes land: rsi no longer shows what read returns before
the kernel writes it. Bytes keep their old value through the arm and
change at their own strike, in every dump, stack word and loupe. The
dive lands once. Captions lead what they name: the longest still in the
syscalls scene is 2.8 s where it was 13. Pins hold through a sprint; a
row of a view carries the pin of the register that points at it; a left
child's badge sits on its left shoulder; a log scrolls with the row that
arrives. The zoom scene's camera holds the disassembly's rows and the
stack in one view. Six programs, the title says now.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa
Diffstat (limited to 'anim/scenes/syscalls.zig')
| -rw-r--r-- | anim/scenes/syscalls.zig | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/anim/scenes/syscalls.zig b/anim/scenes/syscalls.zig index 0d39089..e9f0ae5 100644 --- a/anim/scenes/syscalls.zig +++ b/anim/scenes/syscalls.zig @@ -54,12 +54,15 @@ fn frame(s: *anim.Frame) void { says.line(s, "A program cannot open a file itself.\nIt asks the kernel, and waits."); cur.walk(s, .line, rec.lineMoment(6, main.enter)); + // Each caption leads its beat, and is read while it plays: the call's + // caption the line that makes it, the descend's the descend, so that no + // still picture waits out a reading time. + says.line(s, "`main` calls `open` by its stub in the PLT, with \"note\"\nin rdi and O_RDONLY in rsi."); cur.walk(s, .moment, stub - 1); - says.line(s, "`main` calls `open` by its stub in the PLT. The arguments\nare in rdi and rsi: \"note\" and O_RDONLY."); + says.line(s, "The call goes down: main's call waits, ringed;\nthe stub's three rows open under it."); canim.descent.step(cur, s, .moment); s.wait(t.phrase_rest); - says.line(s, "The call went down: main's window keeps its call, ringed,\nand the stub's three rows open under it."); - says.line(s, "The stub's jmp reads open@got, the GOT's slot,\nand goes on to libc's `open`."); + says.line(s, "The stub's jmp reads open@got\nand goes on to libc's `open`."); canim.descent.step(cur, s, .moment); s.wait(t.phrase_rest); // The wrapper at a run, veiled; its last three instructions walked, named as they run. |
