We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4f3a7e commit 58ae9a9Copy full SHA for 58ae9a9
compiler-rt/test/asan/TestCases/zero_alloc.cpp
@@ -1,5 +1,7 @@
1
// RUN: %clang_asan -Wno-alloc-size -fsanitize-recover=address %s -o %t && %env_asan_opts=halt_on_error=0 %run %t 2>&1 | FileCheck %s
2
3
+// ASan doesn't catch this because internally it translates 0-byte allocations
4
+// into 1-byte
5
// XFAIL: *
6
7
#include <malloc.h>
0 commit comments