[PATCH] Sanitize printf functions
Yury Gribov
tetra2005 at gmail.com
Thu Jan 9 04:35:34 PST 2014
New revision based on comments from glider, eugenis and kcc.
Main changes:
* fixed sanitizer_scanf_interceptor_test.cc
* update printf path based on Open Group std
* fixed several bugs based on glibc printf tests (manifested in segvs and false alarms)
* check_printf is now false by default
Hi samsonov, eugenis,
http://llvm-reviews.chandlerc.com/D2480
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D2480?vs=6321&id=6394#toc
Files:
lib/sanitizer_common/sanitizer_common_interceptors_scanf.inc
lib/sanitizer_common/sanitizer_flags.cc
lib/sanitizer_common/sanitizer_common_interceptors.inc
lib/sanitizer_common/sanitizer_platform_interceptors.h
lib/sanitizer_common/sanitizer_flags.h
lib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc
lib/asan/lit_tests/TestCases/printf-1.c
lib/asan/lit_tests/TestCases/printf-3.c
lib/asan/lit_tests/TestCases/printf-5.c
lib/asan/lit_tests/TestCases/printf-2.c
lib/asan/lit_tests/TestCases/printf-4.c
lib/tsan/lit_tests/printf-1.c
lib/tsan/rtl/tsan_stat.h
lib/tsan/rtl/tsan_stat.cc
lib/msan/msan_interceptors.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2480.4.patch
Type: text/x-patch
Size: 41646 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140109/7d83ddbe/attachment.bin>
More information about the llvm-commits
mailing list