diff options
author | Kevin Enderby <enderby@apple.com> | 2015-10-09 16:48:44 +0000 |
---|---|---|
committer | Kevin Enderby <enderby@apple.com> | 2015-10-09 16:48:44 +0000 |
commit | af7c9d012322017d841a244e53433b9de27a3452 (patch) | |
tree | 5256f8e16d7d34541c74bead36385454d19a94d3 /llvm/test/tools/llvm-objdump/Inputs | |
parent | 3a1ad3970286c029a84f4b1e2e41cf8ae6c2b94b (diff) | |
download | bcm5719-llvm-af7c9d012322017d841a244e53433b9de27a3452.tar.gz bcm5719-llvm-af7c9d012322017d841a244e53433b9de27a3452.zip |
Fixed two bugs in llvm-objdump’s printing of Objective-C meta data
from malformed Mach-O files that caused crashes. The first because the
offset in a dyld bind table entry was out of range. The second because their
was no image info section and the routine printing it did not have the
need check to see the section did not exist.
rdar://22983603
llvm-svn: 249845
Diffstat (limited to 'llvm/test/tools/llvm-objdump/Inputs')
-rw-r--r-- | llvm/test/tools/llvm-objdump/Inputs/malformed-machos/mem-crup-0080.macho | bin | 0 -> 9166 bytes |
-rw-r--r-- | llvm/test/tools/llvm-objdump/Inputs/malformed-machos/mem-crup-0261.macho | bin | 0 -> 8752 bytes |
2 files changed, 0 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objdump/Inputs/malformed-machos/mem-crup-0080.macho b/llvm/test/tools/llvm-objdump/Inputs/malformed-machos/mem-crup-0080.macho Binary files differnew file mode 100644 index 00000000000..53e3a97b4aa --- /dev/null +++ b/llvm/test/tools/llvm-objdump/Inputs/malformed-machos/mem-crup-0080.macho diff --git a/llvm/test/tools/llvm-objdump/Inputs/malformed-machos/mem-crup-0261.macho b/llvm/test/tools/llvm-objdump/Inputs/malformed-machos/mem-crup-0261.macho Binary files differnew file mode 100644 index 00000000000..a573da3b2fb --- /dev/null +++ b/llvm/test/tools/llvm-objdump/Inputs/malformed-machos/mem-crup-0261.macho |