reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
223 if (!isMachOHeader(mh, is64, isBig)) 229 if (isBig != llvm::sys::IsBigEndianHost) { 261 auto ec = forEachLoadCommand(lcRange, lcCount, isBig, is64, 266 indirectSymbolTableOffset = read32(&d->indirectsymoff, isBig); 267 indirectSymbolTableCount = read32(&d->nindirectsyms, isBig); 279 ec = forEachLoadCommand(lcRange, lcCount, isBig, is64, 286 const unsigned sectionCount = read32(&seg->nsects, isBig); 299 section.type = (SectionType)(read32(§->flags, isBig) & 301 section.attributes = read32(§->flags, isBig) & SECTION_ATTRIBUTES; 302 section.alignment = 1 << read32(§->align, isBig); 303 section.address = read64(§->addr, isBig); 305 (const uint8_t *)start + read32(§->offset, isBig); 306 size_t contentSize = read64(§->size, isBig); 310 appendRelocations(section.relocations, mb->getBuffer(), isBig, 311 read32(§->reloff, isBig), 312 read32(§->nreloc, isBig)); 315 isBig, 318 read32(§->reserved1, isBig), 329 const unsigned sectionCount = read32(&seg->nsects, isBig); 342 section.type = (SectionType)(read32(§->flags, isBig) & 345 read32((const uint8_t *)§->flags, isBig) & SECTION_ATTRIBUTES; 346 section.alignment = 1 << read32(§->align, isBig); 347 section.address = read32(§->addr, isBig); 349 (const uint8_t *)start + read32(§->offset, isBig); 350 size_t contentSize = read32(§->size, isBig); 354 appendRelocations(section.relocations, mb->getBuffer(), isBig, 355 read32(§->reloff, isBig), 356 read32(§->nreloc, isBig)); 359 section.indirectSymbols, mb->getBuffer(), isBig, 361 read32(§->reserved1, isBig), contentSize / 4); 369 const char *strings = start + read32(&st->stroff, isBig); 370 const uint32_t strSize = read32(&st->strsize, isBig); 372 if (read32((const uint8_t *)&st->stroff, isBig) + 373 read32((const uint8_t *)&st->strsize, isBig) > 377 const uint32_t symOffset = read32(&st->symoff, isBig); 378 const uint32_t symCount = read32(&st->nsyms, isBig); 388 if (isBig != llvm::sys::IsBigEndianHost) 409 const uint32_t symOffset = read32(&st->symoff, isBig); 410 const uint32_t symCount = read32(&st->nsyms, isBig); 419 if (isBig != llvm::sys::IsBigEndianHost) { 445 f->installName = lc + read32(&dl->dylib.name, isBig); 446 f->currentVersion = read32(&dl->dylib.current_version, isBig); 447 f->compatVersion = read32(&dl->dylib.compatibility_version, isBig); 454 start + read32(&ldc->dataoff, isBig)); 455 dataInCodeSize = read32(&ldc->datasize, isBig); 464 entry.path = lc + read32(&dl->dylib.name, isBig); 466 entry.compatVersion = read32(&dl->dylib.compatibility_version, isBig); 467 entry.currentVersion = read32(&dl->dylib.current_version, isBig); 473 f->rpaths.push_back(lc + read32(&rpc->path, isBig)); 499 entry.offset = read32(&dataInCode[i].offset, isBig); 500 entry.length = read16(&dataInCode[i].length, isBig); 502 (DataRegionType)read16((const uint8_t *)&dataInCode[i].kind, isBig); 511 start + read32(&dyldInfo->export_off, isBig)); 512 ArrayRef<uint8_t> trie(trieStart, read32(&dyldInfo->export_size, isBig));