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

References

tools/llvm-objcopy/ELF/Object.cpp
 1271     if (Phdr.p_offset + Phdr.p_filesz > HeadersFile.getBufSize())
 1271     if (Phdr.p_offset + Phdr.p_filesz > HeadersFile.getBufSize())
 1272       error("program header with offset 0x" + Twine::utohexstr(Phdr.p_offset) +
 1273             " and file size 0x" + Twine::utohexstr(Phdr.p_filesz) +
 1276     ArrayRef<uint8_t> Data{HeadersFile.base() + Phdr.p_offset,
 1277                            (size_t)Phdr.p_filesz};
 1279     Seg.Type = Phdr.p_type;
 1280     Seg.Flags = Phdr.p_flags;
 1281     Seg.OriginalOffset = Phdr.p_offset + EhdrOffset;
 1282     Seg.Offset = Phdr.p_offset + EhdrOffset;
 1283     Seg.VAddr = Phdr.p_vaddr;
 1284     Seg.PAddr = Phdr.p_paddr;
 1285     Seg.FileSize = Phdr.p_filesz;
 1286     Seg.MemSize = Phdr.p_memsz;
 1287     Seg.Align = Phdr.p_align;