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/build.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'anim/build.zig') diff --git a/anim/build.zig b/anim/build.zig index 63d962e..7022caa 100644 --- a/anim/build.zig +++ b/anim/build.zig @@ -239,12 +239,12 @@ pub fn build(b: *std.Build) void { // no environment but ASan's leak check off (it fails under a tracer): // plain by instruction from main to its fault at `ret` (the recorder // says `exit 139`, SIGSEGV); ASan by instruction from main to the first - // instruction of `__asan_report_store1` (582 stops: the report itself is - // a million more), and the same run again by syscall alone, for the + // stop in `__asan_report_store1` (`--until`: the report itself is a + // million more), and the same run again by syscall alone, for the // report's `write`s to fd 2 as written. for ([_]struct { name: []const u8, asan: bool, args: []const []const u8, exit: []const u8 }{ .{ .name = "overflow", .asan = false, .args = &.{ "--by", "insn", "--stack", "1024", "--around", "256", "--disasm", "69", "-s", "64", "--from", "main" }, .exit = "exit 139" }, - .{ .name = "overflow_asan", .asan = true, .args = &.{ "--asan", "--by", "insn", "--stack", "1024", "--around", "256", "--disasm", "69", "-s", "64", "--from", "main", "--steps", "582" }, .exit = "exit 0" }, + .{ .name = "overflow_asan", .asan = true, .args = &.{ "--asan", "--by", "insn", "--stack", "1024", "--around", "256", "--disasm", "69", "-s", "64", "--from", "main", "--until", "__asan_report_store1" }, .exit = "exit 0" }, .{ .name = "overflow_report", .asan = true, .args = &.{ "--by", "syscall", "--stack", "0", "--telescope", "0", "-s", "4096" }, .exit = "exit 1" }, }) |r| { const cc = b.addSystemCommand(&.{ "clang", "-O0", "-g", "-fno-omit-frame-pointer", "-no-pie", "-fno-stack-protector" }); -- cgit v1.3