[PATCH] D31457: [asan] Add strndup/__strndup interceptors if targeting linux.
pierre gousseau via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 2 06:32:40 PDT 2017
pgousseau updated this revision to Diff 97439.
pgousseau added a comment.
Attempt to fix build failures:
- add declaration of __interceptor_malloc in esan_interceptors.cc
- replace REAL(strnlen) by internal_strnlen
https://reviews.llvm.org/D31457
Files:
lib/asan/asan_flags.cc
lib/asan/tests/asan_str_test.cc
lib/esan/esan_interceptors.cpp
lib/msan/msan_interceptors.cc
lib/msan/tests/msan_test.cc
lib/sanitizer_common/sanitizer_common_interceptors.inc
lib/sanitizer_common/sanitizer_flags.inc
lib/sanitizer_common/sanitizer_platform_interceptors.h
lib/sanitizer_common/tests/sanitizer_test_utils.h
test/asan/TestCases/Posix/strndup_oob_test.cc
test/msan/strndup.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31457.97439.patch
Type: text/x-patch
Size: 12500 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170502/a66e890d/attachment-0001.bin>
More information about the llvm-commits
mailing list