[PATCH] D61500: [Asan] Disabling strstr_strict test on FreeBSD

David CARLIER via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 3 06:18:47 PDT 2019


devnexen created this revision.
devnexen added a reviewer: vitalybuka.
devnexen created this object with visibility "All Users".
Herald added subscribers: Sanitizers, llvm-commits, krytarowski, kubamracek, emaste.
Herald added projects: LLVM, Sanitizers.

On FreeBSD, the overflow value is way superior than expected making it failing badly.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D61500

Files:
  test/asan/TestCases/strstr_strict.c


Index: test/asan/TestCases/strstr_strict.c
===================================================================
--- test/asan/TestCases/strstr_strict.c
+++ test/asan/TestCases/strstr_strict.c
@@ -2,6 +2,9 @@
 // RUN: %clang_asan %s -o %t && %run %t 2>&1
 // RUN: %env_asan_opts=strict_string_checks=false %run %t 2>&1
 // RUN: %env_asan_opts=strict_string_checks=true not %run %t 2>&1 | FileCheck %s
+//
+// On FreeBSD the overflow counting is superior (127), strstr based on musl implementation.
+// XFAIL: freebsd
 
 #include <assert.h>
 #include <stdlib.h>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61500.197982.patch
Type: text/x-patch
Size: 559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190503/cbdd41e8/attachment.bin>


More information about the llvm-commits mailing list