diff options
| author | tjog <28024277+tjog@users.noreply.github.com> | 2025-05-03 23:33:26 +0200 |
|---|---|---|
| committer | tjog <28024277+tjog@users.noreply.github.com> | 2025-05-03 23:33:26 +0200 |
| commit | 0ba77eca7430ecb7c9852df175f3fc175bf50bbf (patch) | |
| tree | 45f45289eed11d97a3594a6a1b4faf47057cd89b /lib/std/os/linux.zig | |
| parent | 68700e5de1e593d8f924e5ff0e7ebdd47373b3c8 (diff) | |
| download | zig-0ba77eca7430ecb7c9852df175f3fc175bf50bbf.tar.gz zig-0ba77eca7430ecb7c9852df175f3fc175bf50bbf.zip | |
disable getauxvalImpl instrumentation as libfuzzer's allocator may need to call it
Diffstat (limited to 'lib/std/os/linux.zig')
| -rw-r--r-- | lib/std/os/linux.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/os/linux.zig b/lib/std/os/linux.zig index 794fccdf13..f055022203 100644 --- a/lib/std/os/linux.zig +++ b/lib/std/os/linux.zig @@ -523,6 +523,7 @@ pub const getauxval = if (extern_getauxval) struct { }.getauxval else getauxvalImpl; fn getauxvalImpl(index: usize) callconv(.c) usize { + @disableInstrumentation(); const auxv = elf_aux_maybe orelse return 0; var i: usize = 0; while (auxv[i].a_type != std.elf.AT_NULL) : (i += 1) { |
