Commit 535a0c4270

Dongjia Zhang <tokazerkje@outlook.com>
2025-04-28 19:16:34
use correcct symbol for the end of pcguard section
1 parent 399da54
Changed files (1)
lib/fuzzer.zig
@@ -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, .{