From ebdebe04a76f0302aeb24c1ac08fa9217b1a8257 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 12 Nov 2026 03:17:32 -0300 Subject: canim: the ASan pair finished; a run's crossfade lasts its step The ASan run is recorded --until __asan_report_store1 and the scene finds its moments by what they are, not by count. The pair's tags name their run, ASan's stopped call reads never returned, and both disassemblies start level on their line. At a run a row's crossfade now lasts the whole advance and a chain crossfades when its memory changed: the pair's fast pass had thirteen one-frame changes and has none. Stale videos re-exported. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa --- anim/test/recordings.zig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'anim/test/recordings.zig') diff --git a/anim/test/recordings.zig b/anim/test/recordings.zig index 31cefdb..dea5b65 100644 --- a/anim/test/recordings.zig +++ b/anim/test/recordings.zig @@ -354,8 +354,9 @@ test "the pair's runs: plain faults at its ret on the letters; ASan stops at the if (std.mem.eql(u8, here.text, "ret")) break; } try expectEqual(@as(?u64, 0x4141414141414141), try canim.Recording.word(plain.moment(last), plain.register(last, "rsp"), 8)); - // ASan: its last moment is the report's first instruction, rdi the byte past buf: f3; buf's last byte addressable. - const at = asan.end() - 1; + // ASan: its last moment is in the report (`--until`, past its prologue), rdi the byte past buf: f3; buf's last byte addressable. + const at = asan.end(); + try expect(std.mem.startsWith(u8, asan.strings.get(asan.register(at, "rip")) orelse "", "__asan_report_store1")); const past = asan.register(at, "rdi"); try expectEqual(@as(?u8, 0xf3), (try canim.ztrace.telescope.shadow(asan.moment(at), past)).?.value); try expectEqual(@as(?u8, 0), (try canim.ztrace.telescope.shadow(asan.moment(at), past - 1)).?.value); -- cgit v1.3