test: add deterministic parser fuzzing
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 4s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 10s

This commit is contained in:
faumaray committed 2026-12-05 08:17:46 +03:00
1 parent 7756bd9f60
commit 52ccd3e001
5 files changed
+94 -1

No files matched your search

+2
View File
@@ -304,6 +304,8 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
- **Wave 105 (Sanitizer Groundwork)**: an ASan+UBSan build (`build/asan`) runs `vbs_core_tests` 7/7 clean with leak detection. It exposed a real VoidLibrary bug - `Argparse::option_default` use-after-free when the default aliases the output - filed as [Void/Library#62](https://git.faumaray.com/Void/Library/issues/62) and worked around by de-aliasing the `gc`/`clean` call sites. Full-binary ASan testing is limited because descriptor compilation does not inherit sanitizer flags (recorded as tooling work).
- **Wave 106 (Deterministic Parser Fuzzing)**: `CoreEngineTests.fuzz_mutated_inputs_never_crash_parsers` mutates TOML, JSON, lockfile and tar seeds (bit flips, truncation, overwrite runs, junk insertion; fixed xorshift seed, 200 iterations) and feeds them to `load_dependencies_toml`, `Void::Json::Strict::parse`, `parse_lockfile` and `extract_safe_tar`, with seed sanity checks guarding against a vacuous fuzz. Clean in the normal build and under ASan+UBSan with leak detection.
## Remaining future scope
- **Superiority plan ([22-superiority-and-gaps.md](../roadmap/22-superiority-and-gaps.md), 2026-12-05)**: revised platform strategy - **macOS deferred**, **Windows via MinGW-w64 cross-compilation + Wine execution** (`dev cpp-gcc -p pkgsCross.mingwW64.stdenv.cc`, `dev cpp-gcc -p wine64`), native MSVC deferred; plus packaging parity (ZIP/DEB/RPM), IDE ecosystem, migration tooling, test-runner parity, benchmarks, CI runners, and remote execution in prioritized order.