Home
last modified time | relevance | path

Searched refs:Ehdr (Results 1 – 16 of 16) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/
H A DObject.cpp1460 const typename ELFT::Ehdr &Ehdr = HeadersFile.getHeader(); in readProgramHeaders() local
1470 PrHdr.FileSize = PrHdr.MemSize = Ehdr.e_phentsize * Ehdr.e_phnum; in readProgramHeaders()
1905 Obj.Type = Ehdr.e_type; in build()
1988 std::fill(Ehdr.e_ident, Ehdr.e_ident + 16, 0); in writeEhdr()
1994 Ehdr.e_ident[EI_DATA] = in writeEhdr()
2007 Ehdr.e_phoff = (Ehdr.e_phnum != 0) ? Obj.ProgramHdrSegment.Offset : 0; in writeEhdr()
2008 Ehdr.e_phentsize = (Ehdr.e_phnum != 0) ? sizeof(Elf_Phdr) : 0; in writeEhdr()
2022 Ehdr.e_shnum = 0; in writeEhdr()
2037 Ehdr.e_shoff = 0; in writeEhdr()
2038 Ehdr.e_shnum = 0; in writeEhdr()
[all …]
H A DObject.h326 using Elf_Ehdr = typename ELFT::Ehdr;
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingPlatformLinux.c172 extern const ElfW(Ehdr) __ehdr_start __attribute__((visibility("hidden"))); in __llvm_write_binary_ids()
173 const ElfW(Ehdr) *ElfHeader = &__ehdr_start; in __llvm_write_binary_ids()
/freebsd-13.1/sys/sys/
H A Delf_generic.h68 __ElfType(Ehdr);
/freebsd-13.1/contrib/elftoolchain/libelf/
H A Dlibelf_align.c66 [ELF_T_EHDR] = MALIGN(Ehdr),
H A Delf_types.m442 `EHDR, Ehdr',
/freebsd-13.1/sys/cddl/compat/opensolaris/sys/
H A Delf.h37 __sElfN(Ehdr);
/freebsd-13.1/contrib/llvm-project/llvm/lib/InterfaceStub/
H A DELFObjHandler.cpp53 static void initELFHeader(typename ELFT::Ehdr &ElfHeader, uint16_t Machine) { in initELFHeader()
70 ElfHeader.e_ehsize = sizeof(typename ELFT::Ehdr); in initELFHeader()
173 using Elf_Ehdr = typename ELFT::Ehdr;
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFTypes.h59 using Ehdr = Elf_Ehdr_Impl<ELFType<E, Is64>>; member
115 using Elf_Ehdr = typename ELFT::Ehdr; \
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/cfi/
H A Dcfi.cpp27 typedef ElfW(Ehdr) Elf_Ehdr;
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan.cpp312 extern ElfW(Ehdr) __ehdr_start; in __hwasan_init_static()
H A Dhwasan_report.cpp271 auto *ehdr = reinterpret_cast<const ElfW(Ehdr) *>(info.dli_fbase); in GetGlobalSizeFromDescriptor()
/freebsd-13.1/contrib/llvm-project/lld/ELF/
H A DSyntheticSections.cpp3759 memset(buf, 0, sizeof(typename ELFT::Ehdr)); in writeEhdr()
3762 auto *eHdr = reinterpret_cast<typename ELFT::Ehdr *>(buf); in writeEhdr()
3771 eHdr->e_ehsize = sizeof(typename ELFT::Ehdr); in writeEhdr()
3776 eHdr->e_phoff = sizeof(typename ELFT::Ehdr); in writeEhdr()
3803 return sizeof(typename ELFT::Ehdr); in getSize()
3811 auto *eHdr = reinterpret_cast<typename ELFT::Ehdr *>(buf); in writeTo()
H A DDriver.cpp2297 Out::elfHeader->size = sizeof(typename ELFT::Ehdr); in link()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux.cpp1186 typedef ElfW(Ehdr) Elf_Ehdr; in ForEachMappedRegion()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp3173 const typename ELFT::Ehdr &ElfHeader = Obj.getHeader(); in getSectionHeadersNumString()
3193 const typename ELFT::Ehdr &ElfHeader = Obj.getHeader(); in getSectionHeaderTableIndexString()