mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
libfuzzer: implement enough symbols for hello world
This commit is contained in:
parent
b9225aea78
commit
7930efc60b
1 changed files with 11 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
|||
const std = @import("std");
|
||||
|
||||
export threadlocal var __sancov_lowest_stack: usize = 0;
|
||||
|
||||
export fn __sanitizer_cov_8bit_counters_init(start: [*]u8, stop: [*]u8) void {
|
||||
std.debug.print("__sanitizer_cov_8bit_counters_init start={*}, stop={*}\n", .{ start, stop });
|
||||
}
|
||||
|
||||
export fn __sanitizer_cov_pcs_init(pcs_beg: [*]const usize, pcs_end: [*]const usize) void {
|
||||
std.debug.print("__sanitizer_cov_pcs_init pcs_beg={*}, pcs_end={*}\n", .{ pcs_beg, pcs_end });
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue