| ... | @@ -218,12 +218,18 @@ no_builtin: bool = false, | ... | @@ -218,12 +218,18 @@ no_builtin: bool = false, |
| 218 | /// Managed by the build runner, not user build script. | 218 | /// Managed by the build runner, not user build script. |
| 219 | zig_process: ?*Step.ZigProcess, | 219 | zig_process: ?*Step.ZigProcess, |
| 220 | | 220 | |
| 221 | /// Enables deprecated coverage instrumentation that is only useful if you | 221 | /// Enables coverage instrumentation that is only useful if you are using third |
| 222 | /// are using third party fuzzers that depend on it. Otherwise, slows down | 222 | /// party fuzzers that depend on it. Otherwise, slows down the instrumented |
| 223 | /// the instrumented binary with unnecessary function calls. | 223 | /// binary with unnecessary function calls. |
| 224 | /// | 224 | /// |
| 225 | /// To enable fuzz testing instrumentation on a compilation, see the `fuzz` | 225 | /// This kind of coverage instrumentation is used by AFLplusplus v4.21c, |
| 226 | /// flag in `Module`. | 226 | /// however, modern fuzzers - including Zig - have switched to using "inline |
| | 227 | /// 8-bit counters" or "inline bool flag" which incurs only a single |
| | 228 | /// instruction for coverage, along with "trace cmp" which instruments |
| | 229 | /// comparisons and reports the operands. |
| | 230 | /// |
| | 231 | /// To instead enable fuzz testing instrumentation on a compilation using Zig's |
| | 232 | /// builtin fuzzer, see the `fuzz` flag in `Module`. |
| 227 | sanitize_coverage_trace_pc_guard: ?bool = null, | 233 | sanitize_coverage_trace_pc_guard: ?bool = null, |
| 228 | | 234 | |
| 229 | pub const ExpectedCompileErrors = union(enum) { | 235 | pub const ExpectedCompileErrors = union(enum) { |