llvm-project/lldb
Greg Clayton 0e6c9a6e79 Add hashing of the .text section to ProcessMinidump.
Breakpad will always have a UUID for binaries when it creates minidump files. If an ELF files has a GNU build ID, it will use that. If it doesn't, it will create one by hashing up to the first 4096 bytes of the .text section. LLDB was not able to load these binaries even when we had the right binary because the UUID didn't match. LLDB will use the GNU build ID first as the main UUID for a binary and fallback onto a 8 byte CRC if a binary doesn't have one. With this fix, we will check for the Breakpad hash or the Facebook hash (a modified version of the breakpad hash that collides a bit less) and accept binaries when these hashes match.

Differential Revision: https://reviews.llvm.org/D86261
2020-08-24 11:43:50 -07:00
..
bindings Create ${swig_target}-scripts target instead of lldb-python-scripts 2020-08-22 19:36:37 -07:00
cmake [lldb] Remove redundant call to FindBacktrace (NFC) 2020-08-20 22:41:49 -07:00
docs [lldb] Remote disk file/directory completion for platform commands 2020-08-24 17:55:54 +02:00
examples Harmonize Python shebang 2020-07-16 21:53:45 +02:00
include/lldb [lldb] type category name common completion 2020-08-24 19:54:23 +02:00
packages/Python [lldb] Remove --rerun-all-issues as its functionality no longer exists 2020-08-21 14:28:08 -07:00
resources
scripts Harmonize Python shebang 2020-07-16 21:53:45 +02:00
source Add hashing of the .text section to ProcessMinidump. 2020-08-24 11:43:50 -07:00
test Add hashing of the .text section to ProcessMinidump. 2020-08-24 11:43:50 -07:00
third_party/Python/module Revert "[lldb] temporary commit to see why a test is failing only on lldb-aarch64-ubuntu" 2020-08-05 11:55:02 +02:00
tools [lldb/interpreter] Add REPL-specific init file 2020-08-20 00:36:32 +02:00
unittests [lldb] Extract reproducer providers & co into their own header. 2020-08-22 10:04:27 -07:00
utils [lldb] Get rid of helper CMake variables for Python 2020-08-17 08:47:52 -07:00
.clang-format
.clang-tidy [lldb] Add .clang-tidy with customization to disable readability-identifier-naming 2020-03-09 12:50:28 -07:00
.gitignore Add .noindex to the gitignore 2019-04-05 17:57:42 +00:00
CMakeLists.txt Create ${swig_target}-scripts target instead of lldb-python-scripts 2020-08-22 19:36:37 -07:00
CODE_OWNERS.txt [lldb][NFC] Cleanup mentions and code related to lldb-mi 2019-07-19 15:55:23 +00:00
LICENSE.TXT
use_lldb_suite_root.py