[PATCH] D13895: [asan] Get rid of UB in unit tests for strstr, strcasestr, strspn, strcspn and strpbrk interceptors.

Maxim Ostapenko via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 21 05:23:49 PDT 2015


m.ostepenko updated this revision to Diff 37991.
m.ostepenko added a comment.

Addressing Eugeniy's nit. Make checks in tests more strict.


Repository:
  rL LLVM

http://reviews.llvm.org/D13895

Files:
  test/asan/TestCases/strcasestr-1.c
  test/asan/TestCases/strcasestr-2.c
  test/asan/TestCases/strcspn-1.c
  test/asan/TestCases/strcspn-2.c
  test/asan/TestCases/strpbrk-1.c
  test/asan/TestCases/strpbrk-2.c
  test/asan/TestCases/strspn-1.c
  test/asan/TestCases/strspn-2.c
  test/asan/TestCases/strstr-1.c
  test/asan/TestCases/strstr-2.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13895.37991.patch
Type: text/x-patch
Size: 7124 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151021/e58f1425/attachment.bin>


More information about the llvm-commits mailing list