zig/test
Kendall Condon e66b269333 greatly improve capabilities of the fuzzer
This PR significantly improves the capabilities of the fuzzer.

The changes made to the fuzzer to accomplish this feat mostly include
tracking memory reads from .rodata to determine fresh inputs, new
mutations (especially the ones that insert const values from .rodata
reads and __sanitizer_conv_const_cmp), and minimizing found inputs.
Additionally, the runs per second has greatly been increased due to
generating smaller inputs and avoiding clearing the 8-bit pc counters.

An additional feature added is that the length of the input file is now
stored and the old input file is rerun upon start.

Other changes made to the fuzzer include more logical initialization,
using one shared file `in` for inputs, creating corpus files with
proper sizes, and using hexadecimal-numbered corpus files for
simplicity.

Furthermore, I added several new fuzz tests to gauge the fuzzer's
efficiency. I also tried to add a test for zstandard decompression,
which it crashed within 60,000 runs (less than a second.)

Bug fixes include:
* Fixed a race conditions when multiple fuzzer processes needed to use
the same coverage file.
* Web interface stats now update even when unique runs is not changing.
* Fixed tokenizer.testPropertiesUpheld to allow stray carriage returns
since they are valid whitespace.
2025-09-18 18:56:10 -04:00
..
behavior behavior tests: remove one dependency on std lib 2025-09-07 20:23:05 -07:00
c_abi test: expand C ABI test coverage to hexagon-linux-musl 2025-08-30 06:36:41 +02:00
c_import aarch64: add new from scratch self-hosted backend 2025-07-22 19:43:47 -07:00
cases add compile error test case 2025-09-07 23:03:06 -07:00
incremental Dwarf: implement comptime-known extern values 2025-08-15 18:29:06 -04:00
link Migrate from deprecated Step.Compile APIs 2025-07-26 12:06:43 +02:00
src update tools and other miscellaneous things to new APIs 2025-08-30 00:48:50 -07:00
standalone greatly improve capabilities of the fuzzer 2025-09-18 18:56:10 -04:00
assemble_and_link.zig
behavior.zig delete behavior test that depends on std.fmt 2025-08-31 12:49:18 -07:00
c_import.zig
cases.zig
compare_output.zig update standalone and incremental tests to new API 2025-07-07 22:43:53 -07:00
compile_errors.zig compiler: refactor Zcu.File and path representation 2025-05-18 17:37:02 +01:00
gen_h.zig
llvm_ir.zig test: Add some basic LLVM IR tests for atomics, volatile, and allowzero. 2025-05-12 17:07:50 +02:00
llvm_targets.zig std.Target: add vita os 2025-08-26 07:50:06 +02:00
nvptx.zig
run_translated_c.zig
stack_traces.zig test: Disable error union switch with call operand (ReleaseSafe) on macos. 2025-04-04 06:08:10 +02:00
tests.zig Revert "test: disable non-native loongarch64 behavior and std tests" 2025-09-03 11:32:57 +02:00
translate_c.zig zig fmt: apply new cast builtin order 2025-08-03 14:59:56 +02:00