Files
lotherk be4e833b91 apex-twin 0.12.0: sanitizer and analyzer pass
New build targets, no new features:

  make asan       apex-twin-asan with -fsanitize=address,undefined
  make test-asan  the whole suite against it (APEX_BIN override)
  make analyze    gcc -fanalyzer over every translation unit

Results: 239/239 checks pass against the ASan/UBSan binary with no report; a
batch of error paths, network captures, report generation and evidence/traffic
reads run with LeakSanitizer on: no leaks. make analyze is clean (0 warnings).

The analyzer was red first on vendor/libmcp/mcp.h: 'b->p = realloc(b->p, want)'
loses the only pointer to the old block when realloc fails. It now grows through
a temporary and assigns after the NULL check. That is a real robustness fix, not
a suppression.

.gitignore covers apex-twin-asan and build-asan/. README documents the targets
and the result.
2026-11-21 07:26:34 +00:00
..