diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-12 03:17:32 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-12 04:45:57 -0300 |
| commit | ebdebe04a76f0302aeb24c1ac08fa9217b1a8257 (patch) | |
| tree | 81a915bc8cc2b6c63dbe765e9ee196a9e7c6d22f /anim/test | |
| parent | bf0dfa135319f8c7ca49eace4d1f81152ebfd23e (diff) | |
| download | computeranim-ebdebe04a76f0302aeb24c1ac08fa9217b1a8257.tar.gz computeranim-ebdebe04a76f0302aeb24c1ac08fa9217b1a8257.zip | |
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 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa
Diffstat (limited to 'anim/test')
| -rw-r--r-- | anim/test/recordings.zig | 5 |
1 files changed, 3 insertions, 2 deletions
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); |
