summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object/Inputs
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2016-09-27 23:24:13 +0000
committerKevin Enderby <enderby@apple.com>2016-09-27 23:24:13 +0000
commit3e490ef94efbf87d52aea11eee8bc25739ca95d1 (patch)
tree641c1064dc7d4f68ed67335ea9114fdbc19b3545 /llvm/test/Object/Inputs
parent75ad3de85b7025e7241e9ee869c6840bee88a531 (diff)
downloadbcm5719-llvm-3e490ef94efbf87d52aea11eee8bc25739ca95d1.tar.gz
bcm5719-llvm-3e490ef94efbf87d52aea11eee8bc25739ca95d1.zip
Next set of additional error checks for invalid Mach-O files for the
other load commands that use the MachO::dylinker_command type but not used in llvm libObject code but used in llvm tool code. This includes LC_ID_DYLINKER, LC_LOAD_DYLINKER and LC_DYLD_ENVIRONMENT load commands. llvm-svn: 282553
Diffstat (limited to 'llvm/test/Object/Inputs')
-rw-r--r--llvm/test/Object/Inputs/macho-invalid-dyld-name_offset-toobigbin0 -> 40 bytes
-rw-r--r--llvm/test/Object/Inputs/macho-invalid-dyld-name_toobigbin0 -> 44 bytes
-rw-r--r--llvm/test/Object/Inputs/macho-invalid-dyld-smallbin0 -> 44 bytes
3 files changed, 0 insertions, 0 deletions
diff --git a/llvm/test/Object/Inputs/macho-invalid-dyld-name_offset-toobig b/llvm/test/Object/Inputs/macho-invalid-dyld-name_offset-toobig
new file mode 100644
index 00000000000..531e00e6752
--- /dev/null
+++ b/llvm/test/Object/Inputs/macho-invalid-dyld-name_offset-toobig
Binary files differ
diff --git a/llvm/test/Object/Inputs/macho-invalid-dyld-name_toobig b/llvm/test/Object/Inputs/macho-invalid-dyld-name_toobig
new file mode 100644
index 00000000000..1a8382dd524
--- /dev/null
+++ b/llvm/test/Object/Inputs/macho-invalid-dyld-name_toobig
Binary files differ
diff --git a/llvm/test/Object/Inputs/macho-invalid-dyld-small b/llvm/test/Object/Inputs/macho-invalid-dyld-small
new file mode 100644
index 00000000000..2dc80892af9
--- /dev/null
+++ b/llvm/test/Object/Inputs/macho-invalid-dyld-small
Binary files differ
OpenPOWER on IntegriCloud