extern structstd.Build.Fuzz.abi.SourceIndexHeader[src]

Sent to the fuzzer web client on first connection to the websocket URL.

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

flags: Flags
directories_len: u32
files_len: u32
source_locations_len: u32
string_bytes_len: u32
start_timestamp: i64 align(4)

When, according to the server, fuzzing started.

Source Code

Source code
pub const SourceIndexHeader = extern struct {
    flags: Flags,
    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),

    pub const Flags = packed struct(u32) {
        tag: ToClientTag = .source_index,
        _: u24 = 0,
    };
}