diff options
author | Kevin Enderby <enderby@apple.com> | 2016-09-20 20:14:14 +0000 |
---|---|---|
committer | Kevin Enderby <enderby@apple.com> | 2016-09-20 20:14:14 +0000 |
commit | fc0929adb8517ceb07a27f599bfff6ac5cb0db2f (patch) | |
tree | 13ce902c329522d7598705c1cc602ac4f363b991 /llvm/lib/Object/ELFObjectFile.cpp | |
parent | 07a791643b810c3e94990513ee7f20b237f3dc7a (diff) | |
download | bcm5719-llvm-fc0929adb8517ceb07a27f599bfff6ac5cb0db2f.tar.gz bcm5719-llvm-fc0929adb8517ceb07a27f599bfff6ac5cb0db2f.zip |
Next set of additional error checks for invalid Mach-O files for bad load commands
that use the Mach::dylib_command type for the load commands that are
currently used in the MachOObjectFile constructor.
This contains the missing checks for LC_ID_DYLIB, LC_ID_DYLIB, etc.
load commands and the fields for the Mach::dylib_command type.
Also checks that only an MH_DYLIB or MH_STUB_DYLIB has an
LC_ID_DYLIB load command (and others filetype don’t) and there
is not more than one of these load commands.
llvm-svn: 282008
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions