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

Manuel Rigger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 16 14:35:47 PDT 2017


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

Thanks again for the review @ygribov and @alekseyshl! I believe that I've addressed all the issues that you raised. @ygribov, I followed your suggestions and also split the `strict_string_checks` and `!strict_string_checks` paths since I think that the code is more readable like this.


https://reviews.llvm.org/D30384

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30384.92059.patch
Type: text/x-patch
Size: 7833 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170316/cf9d65f7/attachment.bin>


More information about the llvm-commits mailing list