[asan] print the 'unexpected format specifier in printf interceptor' warning just...
authorKostya Serebryany <kcc@google.com>
Wed, 3 May 2017 18:38:34 +0000 (18:38 +0000)
committerKostya Serebryany <kcc@google.com>
Wed, 3 May 2017 18:38:34 +0000 (18:38 +0000)
commit8c34243a13173f564e9761266c3460f5531ede7a
treefbe91e4953969e3bd37826f7683f9476f6bb53bd
parent23f314d04f12d206dfecbee7e1adfb5306271d93
[asan] print the 'unexpected format specifier in printf interceptor' warning just once (came up in https://github.com/google/oss-fuzz/pull/562). Not touching a similar scanf warning -- for some reason it does not fire for me.

llvm-svn: 302064
compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors_format.inc
compiler-rt/test/sanitizer_common/TestCases/Linux/unexpected_format_specifier_test.cc [new file with mode: 0644]