authorgravatar for 28024277+tjog@users.noreply.github.comtjog <28024277+tjog@users.noreply.github.com> 2025-05-03 23:33:26+02:00
committergravatar for 28024277+tjog@users.noreply.github.comtjog <28024277+tjog@users.noreply.github.com> 2025-05-03 23:33:26+02:00
log0ba77eca7430ecb7c9852df175f3fc175bf50bbf
tree45f45289eed11d97a3594a6a1b4faf47057cd89b
parent68700e5de1e593d8f924e5ff0e7ebdd47373b3c8
signaturebadge-check Signed by SSH key SHA256:P0rNeze1Ipi+HFiCG2BearRbTtiIXxe2JZL33zn69wg

disable getauxvalImpl instrumentation as libfuzzer's allocator may need to call it


1 files changed, 1 insertions(+), 0 deletions(-)

lib/std/os/linux.zig+1
......@@ -523,6 +523,7 @@ pub const getauxval = if (extern_getauxval) struct {
523523}.getauxval else getauxvalImpl;
524524
525525fn getauxvalImpl(index: usize) callconv(.c) usize {
526 @disableInstrumentation();
526527 const auxv = elf_aux_maybe orelse return 0;
527528 var i: usize = 0;
528529 while (auxv[i].a_type != std.elf.AT_NULL) : (i += 1) {