summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/SymbolicFile.cpp
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2016-09-20 20:14:14 +0000
committerKevin Enderby <enderby@apple.com>2016-09-20 20:14:14 +0000
commitfc0929adb8517ceb07a27f599bfff6ac5cb0db2f (patch)
tree13ce902c329522d7598705c1cc602ac4f363b991 /llvm/lib/Object/SymbolicFile.cpp
parent07a791643b810c3e94990513ee7f20b237f3dc7a (diff)
downloadbcm5719-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/SymbolicFile.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud