[PATCH] More string interceptors: strstr, strcasestr, strspn, strcspn, strpbrk

Maria Guseva m.guseva at samsung.com
Wed May 27 06:17:06 PDT 2015


Thank you. I've uploaded new patch with strspn interceptors added. I moved both strspn and strcspn under the same flag intercept_strspn and one macro SANITIZER_INTERCEPT_STRSPN.


http://reviews.llvm.org/D9017

Files:
  lib/sanitizer_common/sanitizer_common_interceptors.inc
  lib/sanitizer_common/sanitizer_flags.inc
  lib/sanitizer_common/sanitizer_platform_interceptors.h
  lib/tsan/rtl/tsan_interceptors.cc
  test/asan/TestCases/strcasestr-1.c
  test/asan/TestCases/strcasestr-2.c
  test/asan/TestCases/strcasestr_strict.c
  test/asan/TestCases/strcspn-1.c
  test/asan/TestCases/strcspn-2.c
  test/asan/TestCases/strcspn_strict.c
  test/asan/TestCases/strpbrk-1.c
  test/asan/TestCases/strpbrk-2.c
  test/asan/TestCases/strpbrk_strict.c
  test/asan/TestCases/strspn-1.c
  test/asan/TestCases/strspn-2.c
  test/asan/TestCases/strspn_strict.c
  test/asan/TestCases/strstr-1.c
  test/asan/TestCases/strstr-2.c
  test/asan/TestCases/strstr_strict.c
  test/sanitizer_common/TestCases/strcasestr.c
  test/sanitizer_common/TestCases/strcspn.c
  test/sanitizer_common/TestCases/strpbrk.c
  test/sanitizer_common/TestCases/strspn.c
  test/sanitizer_common/TestCases/strstr.c

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9017.26589.patch
Type: text/x-patch
Size: 20264 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150527/566cee47/attachment.bin>


More information about the llvm-commits mailing list