Go to file
Nico Weber 64041d7b90 llvm-undname: Fix nullptr deref on invalid conversion operator names in template args
A ConversionOperatorIdentifierNode has a TargetType which is read when
printing it, but if the ConversionOperatorIdentifierNode appears in a
template argument there's nothing that can provide the TargetType.
Normally the COIN is a symbol (leaf) name and takes its TargetType from the
symbol's type, but in a template argument context the COIN can only be
either a non-leaf name piece or a type, and must hence be invalid.

Similar to the COIN check in demangleDeclarator().

Found by oss-fuzz.

llvm-svn: 358421
2019-04-15 16:42:44 +00:00
clang Revert r358337: "[CommandLineParser] Add DefaultOption flag" 2019-04-15 14:43:50 +00:00
clang-tools-extra [clangd] Fallback to OrigD when SLoc is invalid 2019-04-15 14:38:46 +00:00
compiler-rt [libFuzzer] speedup the merge step in the fork mode by merging only the files that have unique features. 2019-04-13 01:57:33 +00:00
debuginfo-tests Set config.lit_tools_dir, which is needed by lit.llvm.initialize. 2018-11-06 21:54:27 +00:00
libclc travis: Add LLVM-8 build 2019-03-27 21:28:31 +00:00
libcxx [NFC] Add missing revision number in libc++ ABI changelog 2019-04-15 14:29:33 +00:00
libcxxabi Fix PR41465 - Use __builtin_mul_overflow instead of hand-rolled check. 2019-04-11 17:16:35 +00:00
libunwind [NFC] Move the export attribute after extern "C". 2019-04-12 18:34:19 +00:00
lld [COFF] Link crtend.o as the last object file 2019-04-15 10:57:44 +00:00
lldb Prevent unnecessary conversion from StringRef to C-string [NFC] 2019-04-14 14:01:49 +00:00
llgo IR: Support parsing numeric block ids, and emit them in textual output. 2019-03-22 18:27:13 +00:00
llvm llvm-undname: Fix nullptr deref on invalid conversion operator names in template args 2019-04-15 16:42:44 +00:00
openmp Fixed possible out of bound array access. 2019-04-11 15:03:44 +00:00
parallel-libs Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
polly Apply include-what-you-use #include removal suggestions. NFC. 2019-03-28 20:19:49 +00:00
pstl [NFC] Add explicit return from main() in tests 2019-04-12 18:38:58 +00:00
.arcconfig Update monorepo .arcconfig with new project callsign. 2019-01-31 14:34:59 +00:00
.clang-format Add .clang-tidy and .clang-format files to the toplevel of the 2019-01-29 16:43:16 +00:00
.clang-tidy Disable tidy checks with too many hits 2019-02-01 11:20:13 +00:00
.gitignore Add a reduced copy of the llvm .gitignore 2019-04-09 00:52:49 +00:00
README.md

README.md

The LLVM Compiler Infrastructure

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.