[compiler-rt] [HWASAN] Add test to detected use after free in memcmp (PR #67204)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 22 16:19:14 PDT 2023


================
@@ -0,0 +1,15 @@
+// RUN: %clangxx -O0 %s -o %t && %run %t
+// XFAIL: *
----------------
vitalybuka wrote:

Positive test for memcmp probably unnecessary as it's quite commonly used, and we should notice if it's obviously broken.

https://github.com/llvm/llvm-project/pull/67204


More information about the llvm-commits mailing list