[PATCH] D30384: [asan] Add an interceptor for strtok

Manuel Rigger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 11 08:32:51 PST 2017


mrigger updated this revision to Diff 91474.
mrigger added a comment.

Thanks for feedback @ygribov and @kcc and sorry for the delay in addressing the issues in the change! I moved the implementation of the interceptor to `lib/sanitizer_common/sanitizer_common_interceptors.inc`, fixed the issues that existed when having `strict_string_checks` disabled, and improved the test case.


https://reviews.llvm.org/D30384

Files:
  lib/sanitizer_common/sanitizer_common_interceptors.inc
  lib/sanitizer_common/sanitizer_flags.inc
  test/asan/TestCases/strtok.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30384.91474.patch
Type: text/x-patch
Size: 5762 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170311/8aa62f2e/attachment.bin>


More information about the llvm-commits mailing list