<feed xmlns='http://www.w3.org/2005/Atom'>
<title>computeranim.git/src/trace/syscalls.zig, branch main</title>
<subtitle>Tracing debugger and animations of running programs (ztrace, canim)</subtitle>
<id>https://git.0x4200.cafe/computeranim.git/atom?h=main</id>
<link rel='self' href='https://git.0x4200.cafe/computeranim.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/computeranim.git/'/>
<updated>2026-11-10T18:16:02Z</updated>
<entry>
<title>syscalls: an argument's name, by call</title>
<updated>2026-11-10T18:16:02Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-10T18:15:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/computeranim.git/commit/?id=be80d248f88137af29d32e36b9bbba6557f00100'/>
<id>urn:sha1:be80d248f88137af29d32e36b9bbba6557f00100</id>
<content type='text'>
names(nr) gives fd, buf, count for read and its like: what a viewer of a
syscall labels an argument with, where it had only the argument's kind.
</content>
</entry>
<entry>
<title>syscalls: what writev's buffers hold is captured, by the debugger and the agent</title>
<updated>2026-11-10T15:42:11Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-10T15:37:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/computeranim.git/commit/?id=36d7f642e71207d04f5da80530da552e06447337'/>
<id>urn:sha1:36d7f642e71207d04f5da80530da552e06447337</id>
<content type='text'>
musl's printf and Zig programs write through writev: pardes drawing an
image showed nothing of the kitty graphics commands it sends until this.
The README says what Lua and pardes were run with and what they showed.
</content>
</entry>
<entry>
<title>debugger: steps by instruction and line, breakpoints, hooks, watches, threads; ztrace dbg</title>
<updated>2026-11-10T14:58:53Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-10T14:43:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/computeranim.git/commit/?id=3fdb67c479dcc1ad0f1e51832bc086622692249c'/>
<id>urn:sha1:3fdb67c479dcc1ad0f1e51832bc086622692249c</id>
<content type='text'>
ptrace.zig follows the threads a target makes, attaches, tells a step from
a breakpoint, and writes memory in one call (through /proc/pid/mem where
the page is read-only). Debugger.zig is the layer above: cont, stepi, step
(a source line, through std.debug's DWARF), breakpoints with hooks, syscall
stops and hooks with the path or buffer captured, watched regions sent as
the words that changed, and every stop an event. Symbols.zig is modules,
ELF symbols and line tables; syscalls.zig their names and shapes.

ztrace dbg is a small REPL on it that records as it goes and looks back
into the recording; ztrace record stops by instruction, line, syscall or
breakpoint, prints syscalls as strace does, and ends cleanly when the
recording is full.

Co-Authored-By: Claude Fable 5.2 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
