Commit graph

9 commits

Author SHA1 Message Date
trvon
91fcef3d74
test(bench): scope benchmark schema test to checked-in documents
Iteration 4 of the fold optimization loop
(docs/research/optimization-loop-2026-07-30.md).

BenchmarkSchemaTest claimed to validate checked-in manifests but
globbed tests/benchmarks/**/*.json, sweeping the designated runtime
output directory tests/benchmarks/runs/ (optimization-loop harness
artifacts) and failing 32 assertions + 5 errors on every full-suite
run once run artifacts existed.

Fix: prune runs/ from the glob; add tests/benchmarks/runs/ to
.gitignore so run artifacts are never accidentally committed.

fold:benchmark_evaluation green; full suite 137/137 with zero
failures. No production code change.
2026-08-30 20:46:03 -06:00
trvon
bcdcb3036b
feat(analysis): harden quality and solver pipelines 2026-07-29 20:46:51 -04:00
trvon
50230c809b
checkpoint 2026-06-04 20:20:29 -04:00
trvon
6846ebd738
chore: ignore Claude workspace state 2026-05-31 23:06:18 -04:00
trvon
0d63dbbd7e
research+feat: interprocedural buffer-bound threading — pre-pass architecture
- SafetyObserver::seedInterproceduralContext() called before function walks
- OOBObserver override scans all call sites for ConstantArrayType args
- Seeds param_buffer_sizes_ from any caller, regardless of decl order
- Research doc covers Inferbo/ARCHER/FunFrog approaches and fold's infrastructure
2026-05-29 23:49:56 -04:00
trvon
a36801cf8e
perf: Z3 LRU cache, batch observers, fold-rust body cache, ripgrep benchmark
- Z3 query LRU cache (4096 entries, O(1) promote/evict)
- Batch observer dispatch in security walker
- fold-rust: single-walk hash, dead code removed, timing added
- bench/corpora/rust-oss/: ripgrep benchmark harness
2026-05-27 19:06:32 -04:00
trvon
ce1c353847
feat: harden security scanner routing 2026-05-27 10:36:57 -04:00
trvon
b73abea520
Optimize int-overflow: unsigned-skip, interval filter, range tracking
CWE-190 benchmark:
  Queries:   9045 -> 4385 (-52%)
  Z3 time:   164s -> 0.2s (-820x)
  Wall time: 457.8s -> 400.5s (-12.5%)
  TP:        1208 -> 1271 (+63)
2026-05-15 13:49:16 -04:00
trvon
3f1234f7bb
fold: bounded symbolic SAST for C++
Clang LibTooling + Z3 BV-64 encoding.
11 detectors: clone, equiv, class-dup, dead, null-deref,
div-by-zero, int-overflow, oob, int-truncation,
sign-conversion, taint-track.

Interfaces: CLI, MCP (JSON-RPC 2.0), LSP.
Output: SARIF 2.1.0, JSON, Markdown.
2026-05-14 23:14:54 -04:00