breakpad/src/common
Zequan Wu f1f7b5272f Check sh_type for symbol table and finish ProcessDIEs if any DIE processing goes wrong
- If symbol table section is malformed, skip them.
- SkipDIE and ProcessDIE return nullptr when processing goes wrong due to malformed debug info, stop processing in this case.

Bug: 1349354
Change-Id: Ia1d3e3591bbd2dad8b9eb351c1882cfc03bfad4b
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3821448
Reviewed-by: Joshua Peraza <jperaza@chromium.org>
2022-08-10 18:01:58 +00:00
..
android fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
dwarf Check sh_type for symbol table and finish ProcessDIEs if any DIE processing goes wrong 2022-08-10 18:01:58 +00:00
linux crashdump_uploader: fix memory leaks & use-after-frees 2022-07-11 21:40:12 +00:00
mac Mac dump_syms: Fix -a on arm64 2022-07-26 18:28:38 +00:00
solaris namespace implementations of FileID 2022-01-28 17:11:22 +00:00
testdata
tests CopyFile: add a C++ API 2020-09-07 23:03:28 +00:00
windows Add error messages on pdb Open function 2022-08-10 01:58:11 +00:00
basictypes.h
byte_cursor.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
byte_cursor_unittest.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
common.gyp {static_,}range_map: fix overflows under ubsan 2022-07-13 05:45:04 +00:00
convert_UTF.cc Remove true/false defines in convert_UTF.cc 2020-03-19 03:19:55 +00:00
convert_UTF.h convert_UTF: rewrite in C++ 2019-09-04 20:25:23 +00:00
dwarf_cfi_to_module.cc arm64: don't interpret DW_CFA_GNU_window_save 2022-07-22 00:24:44 +00:00
dwarf_cfi_to_module.h arm64: don't interpret DW_CFA_GNU_window_save 2022-07-22 00:24:44 +00:00
dwarf_cfi_to_module_unittest.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
dwarf_cu_to_module.cc [dump_syms] Fix DW_AT_specification warning on Mac. 2022-04-12 17:33:22 +00:00
dwarf_cu_to_module.h Use -d flag enable procecessing DW_TAG_inlined_subroutine 2021-09-16 22:52:27 +00:00
dwarf_cu_to_module_unittest.cc dwarf_cu_to_module_unittest: remove expectation 2022-06-27 21:49:44 +00:00
dwarf_line_to_module.cc Add INLINE and INLINE_ORIGIN records to symbol file. 2021-08-03 22:05:47 +00:00
dwarf_line_to_module.h Add INLINE and INLINE_ORIGIN records to symbol file. 2021-08-03 22:05:47 +00:00
dwarf_line_to_module_unittest.cc Add INLINE and INLINE_ORIGIN records to symbol file. 2021-08-03 22:05:47 +00:00
dwarf_range_list_handler.cc Implement dwarf5 range lists. 2020-10-08 21:59:15 +00:00
dwarf_range_list_handler.h Move the dwarf2reader objects into google_breakpad namespace to make it consistent with cfi_assembler.cc 2021-05-26 17:46:49 +00:00
language.cc Update Rust demangling to use rustc-demangle 2021-11-11 02:02:49 +00:00
language.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
long_string_dictionary.cc Create LongStringDictionary and replace SimpleStringDictionary on iOS 2017-11-03 17:06:05 +00:00
long_string_dictionary.h Create LongStringDictionary and replace SimpleStringDictionary on iOS 2017-11-03 17:06:05 +00:00
long_string_dictionary_unittest.cc Create LongStringDictionary and replace SimpleStringDictionary on iOS 2017-11-03 17:06:05 +00:00
macros.h Add fallthrough annotations on new C++ switches 2019-11-05 03:39:54 +00:00
md5.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
md5.h fix includes and remove tr1::unordered_map 2021-05-20 22:47:28 +00:00
memory_allocator.h Support building with C++20 2021-05-13 15:08:00 +00:00
memory_allocator_unittest.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
memory_range.h
memory_range_unittest.cc
minidump_type_helper.h
module.cc Add <call_site_file_id> to INLINE and remove <file_id> from INLINE_ORIGIN 2021-12-14 23:19:21 +00:00
module.h Add <call_site_file_id> to INLINE and remove <file_id> from INLINE_ORIGIN 2021-12-14 23:19:21 +00:00
module_unittest.cc module_unittest: fix memory leak 2022-07-11 23:17:41 +00:00
path_helper.cc Add missing header for free function 2018-03-27 14:57:55 +00:00
path_helper.h Provide helper wrappers for basename(3) and dirname(3) 2017-10-18 15:44:59 +00:00
safe_math.h {static_,}range_map: fix overflows under ubsan 2022-07-13 05:45:04 +00:00
safe_math_unittest.cc {static_,}range_map: fix overflows under ubsan 2022-07-13 05:45:04 +00:00
scoped_ptr.h
simple_string_dictionary.cc
simple_string_dictionary.h Add index-based set functionality to NonAllocatingMap. 2017-11-07 23:24:48 +00:00
simple_string_dictionary_unittest.cc Add index-based set functionality to NonAllocatingMap. 2017-11-07 23:24:48 +00:00
stabs_reader.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
stabs_reader.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
stabs_reader_unittest.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
stabs_to_module.cc stabs_to_module: fix memory leak 2022-07-11 23:17:39 +00:00
stabs_to_module.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
stabs_to_module_unittest.cc Fix building unittests failure caused by the introduction of StringView at https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3189410 2021-10-14 19:28:10 +00:00
stdio_wrapper.h
string_conversion.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
string_conversion.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
string_conversion_unittest.cc string_conversion: fix pointer math 2019-08-05 17:38:16 +00:00
string_view.h Fix building unittests failure caused by the introduction of StringView at https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3189410 2021-10-14 19:28:10 +00:00
symbol_data.h NFC: use enum SymbolData as flags 2021-07-07 18:29:13 +00:00
test_assembler.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
test_assembler.h fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
test_assembler_unittest.cc fix pointer style to match the style guide 2020-07-15 06:20:02 +00:00
unordered.h fix includes and remove tr1::unordered_map 2021-05-20 22:47:28 +00:00
using_std_string.h fix includes and remove tr1::unordered_map 2021-05-20 22:47:28 +00:00