summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object/Inputs/macho-invalid-dataincode-dataoff-datasize
Commit message (Collapse)AuthorAgeFilesLines
* Next set of additional error checks for invalid Mach-O files for bad load ↵Kevin Enderby2016-08-311-0/+0
commands that use the Mach::linkedit_data_command type for the load commands that are currently used in the MachOObjectFile constructor. This contains the missing checks for LC_DATA_IN_CODE and LC_LINKER_OPTIMIZATION_HINT load commands and the fields for the Mach::linkedit_data_command type. Checking for other load commands that use this type will be added later. Also fixed a couple of places that was using sizeof(MachOObjectFile::LoadCommandInfo) that should have been using sizeof(MachO::load_command). llvm-svn: 280267
OpenPOWER on IntegriCloud