aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CommandFlags.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2024-09-25 21:47:51 -0700
committerJason Molenda <jmolenda@apple.com>2024-09-25 21:51:38 -0700
commit0f984976897857a8f4003063be6fa38a733fa624 (patch)
treeea80728e5ee579f19eaff6db8a1aef658b30db4a /llvm/lib/CodeGen/CommandFlags.cpp
parentbd592b11c3eff03db6170c85e54cee4e70eae52e (diff)
downloadllvm-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