llvm-project/llvm/test
Nico Weber 8fc9902bbb llvm-undname: Fix stack overflow on almost-valid
If a unsigned with all 4 bytes non-0 was passed to outputHex(), there
were two off-by-ones in it:

- Both MaxPos and Pos left space for the final \0, which left the buffer
  one byte to small. Set MaxPos to 16 instead of 15 to fix.

- The `assert(Pos >= 0);` was after a `Pos--`, move it up one line.

Since valid Unicode codepoints are <= 0x10ffff, this could never really
happen in practice.

Found by oss-fuzz.

llvm-svn: 358856
2019-04-21 16:58:25 +00:00
..
Analysis [ARM] Rewrite isLegalT2AddressImmediate 2019-04-21 09:54:29 +00:00
Assembler Add LLVM IR debug info support for Fortran COMMON blocks 2019-04-08 19:13:55 +00:00
Bindings
Bitcode [ThinLTO] Fix ThinLTOCodegenerator to export llvm.used symbols 2019-04-17 17:38:09 +00:00
BugPoint
CodeGen [AArch64] add tests with multiple binop+splat vals; NFC 2019-04-21 15:01:19 +00:00
DebugInfo [GVN+LICM] Use line 0 locations for better crash attribution 2019-04-19 22:36:40 +00:00
Demangle llvm-undname: Fix stack overflow on almost-valid 2019-04-21 16:58:25 +00:00
Examples
ExecutionEngine [JITLink] Disable MachO/x86-64 regression test if the X86 target is not built. 2019-04-20 21:32:49 +00:00
Feature
FileCheck
Instrumentation Asan use-after-scope: don't poison allocas if there were untraced lifetime intrinsics in the function (PR41481) 2019-04-16 07:54:20 +00:00
Integer
JitListener
LTO Revert [ThinLTO] Fix ThinLTOCodegenerator to export llvm.used symbols 2019-04-08 18:53:21 +00:00
Linker
MC [llvm] Prevent duplicate files in debug line header in dwarf 5: another attempt 2019-04-19 02:26:56 +00:00
MachineVerifier [X86] Merge the different Jcc instructions for each condition code into single instructions that store the condition code as an operand. 2019-04-05 19:28:09 +00:00
Object [WebAssembly] Object: Improve error messages on invalid section 2019-04-20 00:11:46 +00:00
ObjectYAML [WebAssembly] Target features section 2019-03-20 20:26:45 +00:00
Other [PGO] Profile guided code size optimization. 2019-04-15 16:49:00 +00:00
SafepointIRVerifier
Support [CommandLineParser] Add DefaultOption flag 2019-04-15 17:18:10 +00:00
SymbolRewriter
TableGen [TableGen] Include schedule model name in diagnostic. 2019-04-15 10:06:26 +00:00
ThinLTO/X86 [ThinLTO] Fix ThinLTOCodegenerator to export llvm.used symbols 2019-04-17 17:38:09 +00:00
Transforms [CorrelatedValuePropagation] Mark subs that we know not to wrap with nuw/nsw. 2019-04-20 13:14:18 +00:00
Unit
Verifier [SystemZ] Add missing intrinsics to intrinsics-immarg.ll 2019-04-16 14:35:18 +00:00
YAMLParser
tools Change \r\n -> \n for llvm-symbolizer/help.test after rL358749 2019-04-19 12:28:36 +00:00
.clang-format
CMakeLists.txt [llvm-symbolizer] Add llvm-addr2line 2019-04-19 10:17:52 +00:00
TestRunner.sh
lit.cfg.py [JITLink] Add llvm-jitlink to the list of available tools in lit. 2019-04-20 20:05:30 +00:00
lit.site.cfg.py.in