diff options
Diffstat (limited to 'anim/scenes/syscalls.zig')
| -rw-r--r-- | anim/scenes/syscalls.zig | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/anim/scenes/syscalls.zig b/anim/scenes/syscalls.zig index e9f0ae5..b795116 100644 --- a/anim/scenes/syscalls.zig +++ b/anim/scenes/syscalls.zig @@ -1,7 +1,8 @@ //! A program that needs the kernel four times: open, read, close, write. //! glibc's `hello`, by instruction from main: `open` followed down (the //! disassembly a `descent`: main's call, the PLT's stub, libc's wrapper, -//! the kernel's window at the floor, and back up), then the other three +//! its source, open64.c, beside it where the build has it (`zig build +//! sources`), the kernel's window at the floor, and back up), then the other three //! stepped over, each crossing under its call. The band is the calls so //! far, as strace writes them. //! @@ -66,7 +67,7 @@ fn frame(s: *anim.Frame) void { 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. - says.line(s, "libc's `open` is a wrapper: no source, its own code,\nup to the instruction that calls the kernel."); + says.line(s, "libc's `open` is a wrapper: a few lines of C, open64.c,\nup to the instruction that calls the kernel."); cur.hurry(s, .moment, crossing - 3, .{}); says.line(s, "Its last three set r8 to 0, rdi to AT_FDCWD (-100)\nand rax to 257: openat's number."); cur.walk(s, .moment, crossing); |
