[PATCH] New "strict_string_checks" run-time flag

Maria Guseva m.guseva at samsung.com
Thu Jan 22 02:55:31 PST 2015


Hi samsonov, kcc, glider,

This patch is related to [[ https://code.google.com/p/address-sanitizer/issues/detail?id=346 | Issue 346:	moar string interceptors: strstr, strcasestr, strcspn, strpbrk ]]
As was suggested in original review http://reviews.llvm.org/D6056 a new "strict_string_checks" run-time flag introduced.
The flag support applied for existing common, asan, msan and tsan interceptors. New asan tests added.

http://reviews.llvm.org/D7123

Files:
  lib/asan/asan_interceptors.cc
  lib/msan/msan_interceptors.cc
  lib/sanitizer_common/sanitizer_common_interceptors.inc
  lib/sanitizer_common/sanitizer_flags.inc
  lib/tsan/rtl/tsan_interceptors.cc
  test/asan/TestCases/atoi_strict.c
  test/asan/TestCases/atol_strict.c
  test/asan/TestCases/atoll_strict.c
  test/asan/TestCases/strcat_strict.c
  test/asan/TestCases/strchr_strict.c
  test/asan/TestCases/strncat_strict.c
  test/asan/TestCases/strtol_strict.c
  test/asan/TestCases/strtoll_strict.c
  test/asan/Unit/lit.site.cfg.in

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7123.18597.patch
Type: text/x-patch
Size: 26356 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150122/75e4f5b6/attachment.bin>


More information about the llvm-commits mailing list