reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Object/ELF.h
  220     if (Phdr.p_offset + Phdr.p_filesz > getBufSize()) {
  222                         Twine::utohexstr(Phdr.p_offset) + ") or size (0x" +
  226     return Elf_Note_Iterator(base() + Phdr.p_offset, Phdr.p_filesz, Err);
lib/Object/ELF.cpp
  511           reinterpret_cast<const Elf_Dyn *>(base() + Phdr.p_offset),
  583   return base() + Phdr.p_offset + Delta;
lib/ObjectYAML/ELFEmitter.cpp
  664       PHeader.p_offset = *YamlPhdr.Offset;
  667         PHeader.p_offset = UINT32_MAX;
  669         PHeader.p_offset = 0;
  673         PHeader.p_offset = std::min(PHeader.p_offset, SHeader->sh_offset);
  673         PHeader.p_offset = std::min(PHeader.p_offset, SHeader->sh_offset);
  679     uint64_t FileOffset = PHeader.p_offset, MemOffset = PHeader.p_offset;
  679     uint64_t FileOffset = PHeader.p_offset, MemOffset = PHeader.p_offset;
  690                                          : FileOffset - PHeader.p_offset;
  692                                        : MemOffset - PHeader.p_offset;
tools/lld/ELF/SyntheticSections.cpp
 3520     hBuf->p_offset = p->p_offset;
tools/llvm-objcopy/ELF/Object.cpp
   45   Phdr.p_offset = Seg.Offset;
 1271     if (Phdr.p_offset + Phdr.p_filesz > HeadersFile.getBufSize())
 1272       error("program header with offset 0x" + Twine::utohexstr(Phdr.p_offset) +
 1276     ArrayRef<uint8_t> Data{HeadersFile.base() + Phdr.p_offset,
 1281     Seg.OriginalOffset = Phdr.p_offset + EhdrOffset;
 1282     Seg.Offset = Phdr.p_offset + EhdrOffset;
tools/llvm-objdump/ELFDump.cpp
  237     outs() << "off    " << format(Fmt, (uint64_t)Phdr.p_offset) << "vaddr "
tools/llvm-readobj/DwarfCFIEHPrinter.h
   81     printEHFrameHdr(EHFramePhdr->p_offset, EHFramePhdr->p_vaddr,
tools/llvm-readobj/ELFDumper.cpp
  208     return checkDRI({ObjF->getELFFile()->base() + P->p_offset, P->p_filesz,
 1452   if (DynamicPhdr && DynamicPhdr->p_offset + DynamicPhdr->p_filesz >
 3495   if (Sec.sh_offset >= Phdr.p_offset)
 3496     return ((Sec.sh_offset + SectionSize <= Phdr.p_filesz + Phdr.p_offset)
 3498             && (Sec.sh_offset + 1 <= Phdr.p_offset + Phdr.p_filesz));
 3526           (Sec.sh_offset > Phdr.p_offset &&
 3527            Sec.sh_offset < Phdr.p_offset + Phdr.p_filesz)) &&
 3569     Fields[1].Str = to_string(format_hex(Phdr.p_offset, 8));
 3580       OS << reinterpret_cast<const char *>(Obj->base()) + Phdr.p_offset << "]";
 4680       PrintHeader(P.p_offset, P.p_filesz);
 5605     W.printHex("Offset", Phdr.p_offset);
 5925       PrintHeader(P.p_offset, P.p_filesz);