[PATCH] Moar string interceptors: strstr, strcasestr, strcspn, strpbrk

Maria Guseva m.guseva at samsung.com
Tue Dec 23 01:25:53 PST 2014


================
Comment at: test/asan/TestCases/atoi_strict.c:3
@@ +2,3 @@
+// RUN: %clang_asan %s -o %t
+// RUN: ASAN_OPTIONS=strict_str=false %run %t 2>&1
+// RUN: ASAN_OPTIONS=strict_str=true not %run %t 2>&1 | FileCheck %s
----------------
kcc wrote:
> also, add a 3-rd run with no flag so that we test the default behaviour.
> same for other tests. 
Added in Diff 17587.

http://reviews.llvm.org/D6056

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list