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/build.zig | |
| 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/build.zig')
| -rw-r--r-- | anim/build.zig | 6 |
1 files changed, 3 insertions, 3 deletions
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" }); |
