http://llvm.org/bugs/show_bug.cgi?id=16768
Bug ID: 16768
Summary: Clang 3.3./Sanitizer: malformed blacklist causes panic
Product: compiler-rt
Version: unspecified
Hardware: Other
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: compiler-rt
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Working with Clang 3.3 on Mac OS X 10.8.3 (x64).
Testing sanitizer blacklist to suppress findings.
I wanted to see how the tool would respond with an empty/malformed blacklist
file.
In the case below, the blacklist file has one entry of just "fun:", without the
CRLF:
riemann::cryptopp$ cat clang_sanitize_ignore.txt
fun:riemann::cryptopp$
~~~~~
Last login: Thu Aug 1 00:45:35 on ttys000
riemann::cryptopp$ make cryptest.exe CXX="/usr/local/bin/clang++
-fsanitize-blacklist=clang_sanitize_ignore.txt -fsanitize=address
-fsanitize=undefined -fno-sanitize=vptr"
/usr/local/bin/clang++ -fsanitize-blacklist=clang_sanitize_ignore.txt
-fsanitize=address -fsanitize=undefined -fno-sanitize=vptr -DNDEBUG -g -O2
-DCRYPTOPP_DISABLE_ASM -pipe -Wno-tautological-compare -c 3way.cpp
fatal error: error in backend: malformed blacklist line: fun
clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 3.3 (tags/RELEASE_33/final)
Target: x86_64-apple-darwin12.4.0
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg:
/var/folders/mk/y7lk0xrx72lcn_2q3d12jcch0000gn/T/3way-yYvTGG.cpp
clang: note: diagnostic msg:
/var/folders/mk/y7lk0xrx72lcn_2q3d12jcch0000gn/T/3way-yYvTGG.sh
clang: note: diagnostic msg:
********************
make: *** [3way.o] Error 70
riemann::cryptopp$
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs