commit | 3d5fd2a768c5e5456d8ab19cab037490f4bdf8f9 | [log] [tgz] |
---|---|---|
author | Kevin Enderby <enderby@apple.com> | Sat Oct 10 00:05:01 2015 +0000 |
committer | Kevin Enderby <enderby@apple.com> | Sat Oct 10 00:05:01 2015 +0000 |
tree | e5192fd8aba29434d5c9d37a60768645e05b1c37 | |
parent | a03aa8f8e72231673a35b6df5c42690630e2d186 [diff] |
Fix a bugs in the Mach-O disassembler when disassembling from a malformed Mach-O file that caused a crash. This was because of an assert where the code was incorrectly attempting to parse relocation entries off of the sections and the filetype was not an MH_OBJECT. rdar://22983603 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249921 91177308-0d34-0410-b5e6-96231b3b80d8