From 15de88cf82c187635c1989e91bfa639a10304066 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 11 Nov 2026 20:08:07 -0300 Subject: canim: a column of text as an experiment; the disassembly tied to the stack From the user. A scene may set its text in a column beside the panes a beat is about: col.beat names the panes and their rows, where the text is placed (beside, below, above, or on a drawing) and what it is level with; panes the beat leaves out fold to their title bars on a shelf, their changes struck there. Tried as two scenes beside the originals: the call followed down (column) and a bubble on sort's rings (column_sort). annotation = .tied names the word an instruction touched and draws a touch to its stack row; offsets count from the frame's base; rsp's pin travels with its amount before the stack follows; .whole keeps the full chain. carry = .arrow draws a value's way between memory and a register. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa --- anim/scenes/heap.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'anim/scenes/heap.zig') diff --git a/anim/scenes/heap.zig b/anim/scenes/heap.zig index d42da12..6e521d0 100644 --- a/anim/scenes/heap.zig +++ b/anim/scenes/heap.zig @@ -423,7 +423,8 @@ fn frame(s: *anim.Frame) void { // From main's first line, `push(7)`. var at = canim.cursor(s, rec, rec.lineMoment(24, main.enter)); at.journey(.line, rec.lineMoment(30, main.enter)); - at.levels = .{ .idea = .data, .source_rows = 8 }; + // The allocator's words are the story, by their addresses: pwndbg's chains (`annotation = .whole`). + at.levels = .{ .idea = .data, .source_rows = 8, .annotation = .whole }; const ctx = canim.context(s, at, .{ .split = canim.layout.split.subject }); // `head`, the program's global: where line 13 (`n->next = head;`) reads it, `[rip + X]`. const head_at = globalOf(rec, lineIn(rec, "push", 0, 13)); -- cgit v1.3