use correcct symbol for the end of pcguard section

This commit is contained in:
Dongjia Zhang 2025-04-28 19:16:34 +02:00 committed by Alex Rønne Petersen
parent 399da543e5
commit 535a0c4270

View file

@ -477,7 +477,7 @@ export fn fuzzer_init(cache_dir_struct: Fuzzer.Slice) void {
const end_symbol_prefix: []const u8 = if (ofmt == .macho) const end_symbol_prefix: []const u8 = if (ofmt == .macho)
"\x01section$end$__DATA$__" "\x01section$end$__DATA$__"
else else
"__end___"; "__stop___";
const pc_counters_start_name = start_symbol_prefix ++ "sancov_cntrs"; const pc_counters_start_name = start_symbol_prefix ++ "sancov_cntrs";
const pc_counters_start = @extern([*]u8, .{ const pc_counters_start = @extern([*]u8, .{