extern struct SourceIndexHeader [src]
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 align(4)When, according to the server, fuzzing started.
Source
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),
}