Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
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 standard library. Public Struct

SourceIndexHeader

Public Struct
std.Build.abi.fuzz.SourceIndexHeader
pub const SourceIndexHeader = extern struct

WebSocket server->client.

Sent once, when fuzzing starts, to indicate the available coverage data.

Trailing:

  • std.debug.Coverage.String for each directories_len
  • std.debug.Coverage.File for each files_len
  • std.debug.Coverage.SourceLocation for each source_locations_len
  • u8 for each string_bytes_len

Fields

tag: ToClientTag = .fuzz_source_index
_: [3]u8 = @splat(0)
directories_len: u32
files_len: u32
source_locations_len: u32
string_bytes_len: u32
start_timestamp: i64

When, according to the server, fuzzing started.

start_n_runs: u64

File

Build/abi.zig:381
381
382
383
384
385
386
387
388
389
390
391
    pub const SourceIndexHeader = extern struct {
        tag: ToClientTag = .fuzz_source_index,
        _: [3]u8 = @splat(0),
        directories_len: u32,
        files_len: u32,
        source_locations_len: u32,
        string_bytes_len: u32,
        /// When, according to the server, fuzzing started.
        start_timestamp: i64 align(4),
        start_n_runs: u64 align(4),
    }