diff options
author | Jason Molenda <jmolenda@apple.com> | 2024-09-25 21:47:51 -0700 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2024-09-25 21:51:38 -0700 |
commit | 0f984976897857a8f4003063be6fa38a733fa624 (patch) | |
tree | ea80728e5ee579f19eaff6db8a1aef658b30db4a /llvm/lib/CodeGen/CommandFlags.cpp | |
parent | bd592b11c3eff03db6170c85e54cee4e70eae52e (diff) | |
download | llvm-0f984976897857a8f4003063be6fa38a733fa624.zip llvm-0f984976897857a8f4003063be6fa38a733fa624.tar.gz llvm-0f984976897857a8f4003063be6fa38a733fa624.tar.bz2 |
[lldb] [Mach-O corefiles] Sanity check malformed dyld
lldb scans the corefile for dyld, the dynamic loader, and when it
finds a mach-o header that looks like dyld, it tries to read all
of the load commands and symbol table out of the corefile memory.
If the load comamnds and symbol table are absent or malformed,
it doesn't handle this case and can crash. Back out when we
fail to create a Module from the dyld binary.
rdar://136659551
Diffstat (limited to 'llvm/lib/CodeGen/CommandFlags.cpp')
0 files changed, 0 insertions, 0 deletions