⬢ DragonFlyBSD Kernel Audit
DF-5696 / run_host.log
← back to finding ↓ download raw
### HOST (zig cc 18.1.6/musl x86_64) — small modes (big-array modes ran on the guest; this host sandbox gates >=3GiB mmaps for freshly built binaries)
selftest: is_sorted(unsorted)=1 (want 1) is_sorted(sorted)=0 (want 0)
FUZZ OK: 20000 iterations (verbatim+f6+f67+kqsort_r vs libc), 0 diff, 0 canary corrupt, 0 OOB/unaligned comparator args
worst cmp-count ratio ~ 507/234 = 2.17 x n*log2(n)
FUZZ_LIE OK: 5000 iterations x 6 inconsistent comparators (rng/always+1/always-1/all-equal/antisym-intrans/prng): 0 canary corrupt, 0 OOB comparator args (partition+insertion stay in-bounds under any comparator)
verbatim  es=0 n=5: returned, cmp_calls=0
verbatim  es=0 n=6: returned, cmp_calls=0
verbatim  es=0 n=7: expected to hang (see 'es0 hang' mode)
ES0 HANG CONFIRMED: comparator called 5,000,000 times with es=0 (pb frozen at +0; a correct 64-element sort needs <3000) (calls=5000000)
hang_rc=7
ES0 ACCESS CONFIRMED (verbatim): SIGSEGV inside kqsort with es=0 n=7 (8-byte self-swap load at base of a zero-length array)
segv_rc=0