Lines Matching defs:Elements
252 static Error checkOverlappingElement(std::list<MachOElement> &Elements,
258 for (auto it = Elements.begin(); it != Elements.end(); ++it) {
269 if (nt != Elements.end()) {
272 Elements.insert(nt, {Offset, Size, Name});
277 Elements.push_back({Offset, Size, Name});
289 std::list<MachOElement> &Elements) {
366 if (Error Err = checkOverlappingElement(Elements, s.offset, s.size,
382 if (Error Err = checkOverlappingElement(Elements, s.reloff, s.nreloc *
413 std::list<MachOElement> &Elements) {
447 if (Error Err = checkOverlappingElement(Elements, Symtab.symoff, SymtabSize,
460 if (Error Err = checkOverlappingElement(Elements, Symtab.stroff,
471 std::list<MachOElement> &Elements) {
498 if (Error Err = checkOverlappingElement(Elements, Dysymtab.tocoff,
524 if (Error Err = checkOverlappingElement(Elements, Dysymtab.modtaboff,
540 if (Error Err = checkOverlappingElement(Elements, Dysymtab.extrefsymoff,
557 if (Error Err = checkOverlappingElement(Elements, Dysymtab.indirectsymoff,
574 if (Error Err = checkOverlappingElement(Elements, Dysymtab.extreloff,
591 if (Error Err = checkOverlappingElement(Elements, Dysymtab.locreloff,
604 std::list<MachOElement> &Elements,
631 if (Error Err = checkOverlappingElement(Elements, LinkData.dataoff,
642 std::list<MachOElement> &Elements) {
669 if (Error Err = checkOverlappingElement(Elements, DyldInfo.rebase_off,
684 if (Error Err = checkOverlappingElement(Elements, DyldInfo.bind_off,
699 if (Error Err = checkOverlappingElement(Elements, DyldInfo.weak_bind_off,
714 if (Error Err = checkOverlappingElement(Elements, DyldInfo.lazy_bind_off,
729 if (Error Err = checkOverlappingElement(Elements, DyldInfo.export_off,
836 std::list<MachOElement> &Elements) {
855 if (Error Err = checkOverlappingElement(Elements, Nt.offset, Nt.size,
1204 std::list<MachOElement> &Elements) {
1227 if (Error Err = checkOverlappingElement(Elements, Hints.offset, Hints.nhints *
1298 std::list<MachOElement> Elements;
1299 Elements.push_back({0, SizeOfHeaders, "Mach-O headers"});
1345 if ((Err = checkSymtabCommand(*this, Load, I, &SymtabLoadCmd, Elements)))
1349 Elements)))
1353 "LC_DATA_IN_CODE", Elements,
1359 Elements, "linker optimization "
1364 "LC_FUNCTION_STARTS", Elements,
1369 "LC_SEGMENT_SPLIT_INFO", Elements,
1374 "LC_DYLIB_CODE_SIGN_DRS", Elements,
1379 "LC_CODE_SIGNATURE", Elements,
1384 "LC_DYLD_INFO", Elements)))
1388 "LC_DYLD_INFO_ONLY", Elements)))
1393 "LC_DYLD_CHAINED_FIXUPS", Elements, "chained fixups")))
1398 Elements, "exports trie")))
1415 "LC_SEGMENT_64", SizeOfHeaders, Elements)))
1421 "LC_SEGMENT", SizeOfHeaders, Elements)))
1472 if ((Err = checkNoteCommand(*this, Load, I, Elements)))
1616 &TwoLevelHintsLoadCmd, Elements)))