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 bee19572c8
commit 8a5f834240
No known key found for this signature in database

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)
"\x01section$end$__DATA$__"
else
"__end___";
"__stop___";
const pc_counters_start_name = start_symbol_prefix ++ "sancov_cntrs";
const pc_counters_start = @extern([*]u8, .{