From c3d9f7ba5effd615374b1359ad98ecf801559f83 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 11 Nov 2026 00:06:30 -0300 Subject: canim: a call followed down to the kernel; rows that say what they do; the heap from the inside From the user. The disassembly can descend: the syscalls scene is glibc's hello by instruction, and open is followed from main through its PLT stub, whose jmp reads the GOT, into libc's wrapper to the syscall row, which crosses to the kernel's window under it, and back up. The band keeps the calls so far as strace writes them. Operands lose their size words and show a width as byte cells only where nothing else says it. A compare shows its values and the flags it leaves, a jump the flags it reads, lea its result, an indirect jump its target and the slot it read, a call that has run its C form. The backtrace has its newest frame at the bottom. A new scene shows glibc 2.44's heap from blocks that exist: chunks read by fields (a size with its bits, a protected pointer), the free list as arcs, the tcache in a loupe, the program's list over malloc's own. Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa --- anim/src/theme.zig | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'anim/src/theme.zig') diff --git a/anim/src/theme.zig b/anim/src/theme.zig index 5a85f50..0c646d8 100644 --- a/anim/src/theme.zig +++ b/anim/src/theme.zig @@ -538,6 +538,16 @@ pub const metric = struct { pub const annotation = 564; }; + /// `width`: an access's size in byte cells, where nothing else in the + /// instruction says it: cells 5 by 10, 7 apart, `dim`, on the baseline 3 + /// after the `]`; what follows 4 after the last cell. + pub const width = struct { + pub const cell = [2]f32{ 5, 10 }; + pub const pitch = 7; + pub const before = 3; + pub const after = 4; + }; + /// `bytes`: a hexdump row, from its panel's left edge (the band's right /// half): its `arc` lanes, the quiet bracket at 24, the address at 34, /// the bytes 12 after it and at 132 at least. -- cgit v1.3