llvm-mirror/test/tools
Pavel Labath 58fd4ef93a [DWARF] Fix v5 debug_line parsing of prologues with many files
Summary:
The directory_count and file_name_count fields are (section 6.2.4 of
DWARF5 spec) supposed to be uleb128s, not bytes. This bug meant that it
was not possible to correctly parse headers with more than 128 files or
directories.

I've found this bug by code inspection, though the limit is so small
someone would have run into it for real sooner or later. I've verified
that the producer side handles many files correctly, and that we are
able to parse such files after this fix.

Reviewers: dblaikie, jhenderson

Subscribers: aprantl, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D76498
2020-03-24 15:11:54 +01:00
..
dsymutil [DebugInfo] Handle generic type DW_OP_convert ops in dsymutil 2020-03-16 12:16:37 +01:00
gold [Object] Change ELFObjectFile<ELFT>::getFileFormatName() to use BFD names 2020-03-16 07:42:04 -07:00
llc Address redirect issue on Windows. 2020-01-16 15:07:50 -05:00
llvm-ar [llvm-ar] Use target triple to deduce archive kind for bitcode inputs 2020-03-20 13:19:44 -07:00
llvm-as
llvm-cfi-verify
llvm-config
llvm-cov Reland: [Coverage] Revise format to reduce binary size 2020-02-28 18:12:04 -08:00
llvm-cvtres [COFF] Add a ResourceSectionRef method for getting resource contents 2019-08-30 06:55:49 +00:00
llvm-cxxdump [llvm/Object] - Make ELFObjectFile::getRelocatedSection return Expected<section_iterator> 2019-10-21 11:06:38 +00:00
llvm-cxxfilt [llvm-cxxfilt] Correctly demangle COFF import thunk 2019-12-16 09:50:04 -08:00
llvm-cxxmap Fix non-portable GNU diff option 2019-10-23 11:19:01 -04:00
llvm-diff
llvm-dlltool [llvm-dlltool] Add a testcase to show the kind of weak external used for import library aliases. NFC. 2020-03-14 14:00:36 +02:00
llvm-dwarfdump [DWARF] Fix v5 debug_line parsing of prologues with many files 2020-03-24 15:11:54 +01:00
llvm-dwp [llvm-dwp] Start error messages with a lowercase letter. 2020-03-19 19:43:08 +07:00
llvm-elfabi [yaml2obj] - Set a default value for PAddr property of a program header to a value of VAddr 2020-03-14 17:44:57 +03:00
llvm-exegesis [llvm-exegesis] Exploring X86::OperandType::OPERAND_COND_CODE 2020-02-12 21:33:52 +03:00
llvm-extract [llvm-extract] Add -keep-const-init commandline option 2020-02-03 14:30:28 +09:00
llvm-gsymutil [yaml2obj] - Set a default value for PAddr property of a program header to a value of VAddr 2020-03-14 17:44:57 +03:00
llvm-ifs [llvm] llvm-ifs: Support for handling empty IFS and merging weak+strong symbols. 2019-12-05 12:56:37 -05:00
llvm-isel-fuzzer
llvm-lib Migrate function attribute "no-frame-pointer-elim"="false" to "frame-pointer"="none" as cleanups after D56351 2019-12-24 16:27:51 -08:00
llvm-lipo [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
llvm-lit
llvm-locstats Reland D73534: [DebugInfo] Enable the debug entry values feature by default 2020-03-19 13:57:30 +01:00
llvm-lto [LTO][Legacy] Add new API to query Mach-O CPU (sub)type 2020-02-28 12:56:05 -08:00
llvm-lto2 Revert "Revert "Reland "[Support] make report_fatal_error abort instead of exit""" 2020-02-13 10:16:06 -08:00
llvm-mc [lit] Delete empty lines at the end of lit.local.cfg NFC 2019-06-17 09:51:07 +00:00
llvm-mca [X86] Match vpmullq latency to uops.info. Correct port usage for 512-bit memory form 2020-03-03 12:16:03 -08:00
llvm-ml Reland "[ms] [llvm-ml] Improve data support, adding names and complex initializers." 2020-02-24 16:40:25 -05:00
llvm-modextract
llvm-mt
llvm-nm [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
llvm-objcopy [llvm-objcopy] Improve tool selection logic to recognize llvm-strip-$major as strip 2020-03-23 13:49:26 -07:00
llvm-objdump [llvm-objdump][test] Improve PowerPC branch offset tests 2020-03-23 00:07:21 -07:00
llvm-opt-fuzzer
llvm-opt-report
llvm-pdbutil llvm-pdbdump: Fix several smaller issues with injected source compression handling 2019-07-17 22:59:52 +00:00
llvm-profdata [llvm-profdata] Fix hint message since argument format has changed 2020-01-20 20:57:03 +08:00
llvm-ranlib [llvm-ranlib][test] Fix rwx- after a4f3847f3d5742cfab7acdc614e7ca54643e0c85 2020-02-14 19:41:55 -08:00
llvm-rc [llvm-readobj] Print the resource type textually for .res files 2019-08-29 08:59:31 +00:00
llvm-readobj [llvm-readobj] Derive dynamic symtab size from DT_HASH 2020-03-23 12:21:20 +00:00
llvm-size [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
llvm-split
llvm-strings [llvm-strings][test] Merge two closely related tests 2019-09-02 11:42:30 +00:00
llvm-symbolizer Print discriminators when printing .debug_line in GNU style. 2020-01-29 12:22:12 -08:00
llvm-xray [xray] add --no-demangle cli opt for llvm-xray extract to output mangled names 2020-01-16 16:37:00 -08:00
lto
obj2yaml [obj2yaml][test] - Update test after output change. 2020-03-19 17:42:36 +03:00
opt-viewer
sancov Revert 374629 "[sancov] Accommodate sancov and coverage report server for use under Windows" 2019-10-12 05:23:43 +00:00
sanstats [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
UpdateTestChecks Move update_cc_test_checks.py tests to clang 2020-02-14 14:39:55 +00:00
yaml2obj [yaml2obj] - Add ELFYAML::YAMLIntUInt to fix how we parse a relocation Addend key. 2020-03-17 14:22:19 +03:00