Zig 0.17.0-dev (Split by item)

This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.

__sanitizer_cov_pcs_init

fuzzer.__sanitizer_cov_pcs_init
export fn __sanitizer_cov_pcs_init(start: usize, end: usize) void

File

lib/fuzzer.zig:2308

Code

export fn __sanitizer_cov_pcs_init(start: usize, end: usize) void {
    // clang will emit a call to this function when compiling with code coverage instrumentation.
    // however, fuzzer_init() does not need this information since it directly reads from the
    // symbol table.
    _ = start;
    _ = end;
}