From eab50d1c040774351f332a1568fa332c377860bd Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 12 Nov 2026 11:32:59 -0300 Subject: canim: the introduction as one video, with a chapter on registers From the user. One scene, intro, in four chapters: memory, registers, the stack, code and meaning (210 s). The registers chapter builds the panel before the stack needs it: sixteen rows with their chains, rip pinned on the code band and rsp and rbp on the stack's, rdi opened into its parts as mov edi changes one byte, a call to malloc stepped over with its result in rax, the registers a scene never changes folded. The chapters join at seams that say their title and keep it as the clock's label; one recording (from push(9), no agent, the heap from --heap) and one clock. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa --- anim/src/objects.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'anim/src/objects.zig') diff --git a/anim/src/objects.zig b/anim/src/objects.zig index dd9ea85..ec40481 100644 --- a/anim/src/objects.zig +++ b/anim/src/objects.zig @@ -67,7 +67,7 @@ fn follow(scratch: std.mem.Allocator, rec: *const Recording, m: Recording.Moment if (std.mem.startsWith(u8, name, "struct ") or std.mem.startsWith(u8, name, "union ")) o.name = name; return; }; - const live = (m.allocation(addr) catch null) != null; + const live = rec.allocated(m, addr); found.append(scratch, .{ .addr = addr, .type = t, .slot = slotOf(rec, addr, m), .freed = !live and wasAllocated(rec, addr, m.index), .name = name }) catch {}; } -- cgit v1.3