Home
last modified time | relevance | path

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

/external/u-boot/tools/
Dprelink-riscv.inc19 #define Elf_Phdr CONCAT3(Elf, PRELINK_INC_BITS, _Phdr)
33 static void* get_offset_bonn (void* data, Elf_Phdr* phdrs, size_t phnum, Elf_Addr addr)
35 Elf_Phdr *p;
47 Elf_Phdr *p;
54 Elf_Phdr *phdrs = data + targetnn_to_cpu(ehdr->e_phoff);
107 #undef Elf_Phdr
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DELF.cpp488 for (const Elf_Phdr &Phdr : *ProgramHeadersOrError) { in dynamicEntries()
539 llvm::SmallVector<Elf_Phdr *, 4> LoadSegments; in toMappedAddr()
541 for (const Elf_Phdr &Phdr : *ProgramHeadersOrError) in toMappedAddr()
543 LoadSegments.push_back(const_cast<Elf_Phdr *>(&Phdr)); in toMappedAddr()
545 const Elf_Phdr *const *I = in toMappedAddr()
554 const Elf_Phdr &Phdr = **I; in toMappedAddr()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/yaml2obj/
Dyaml2elf.cpp112 typedef typename ELFT::Phdr Elf_Phdr; typedef in __anonee416f1a0311::ELFState
139 void initProgramHeaders(std::vector<Elf_Phdr> &PHeaders);
147 void setProgramHeaderLayout(std::vector<Elf_Phdr> &PHeaders,
207 Header.e_phentsize = sizeof(Elf_Phdr); in initELFHeader()
212 sizeof(Header) + sizeof(Elf_Phdr) * Doc.ProgramHeaders.size(); in initELFHeader()
218 void ELFState<ELFT>::initProgramHeaders(std::vector<Elf_Phdr> &PHeaders) { in initProgramHeaders()
220 Elf_Phdr Phdr; in initProgramHeaders()
358 void ELFState<ELFT>::setProgramHeaderLayout(std::vector<Elf_Phdr> &PHeaders, in setProgramHeaderLayout()
637 std::vector<Elf_Phdr> PHeaders; in writeELF()
/external/libunwind_llvm/src/
DAddressSpace.hpp502 #if !defined(Elf_Phdr) in findUnwindSections()
503 typedef ElfW(Phdr) Elf_Phdr; in findUnwindSections()
518 reinterpret_cast<const Elf_Phdr *>(pinfo->dlpi_phdr) in findUnwindSections()
524 const Elf_Phdr *phdr = &pinfo->dlpi_phdr[i]; in findUnwindSections()
562 const Elf_Phdr *phdr = &pinfo->dlpi_phdr[i]; in findUnwindSections()
/external/llvm/include/llvm/Object/
DELF.h47 typedef Elf_Phdr_Impl<ELFT> Elf_Phdr; typedef
172 const Elf_Phdr *program_header_begin() const { in program_header_begin()
173 if (Header->e_phnum && Header->e_phentsize != sizeof(Elf_Phdr)) in program_header_begin()
175 return reinterpret_cast<const Elf_Phdr *>(base() + Header->e_phoff); in program_header_begin()
178 const Elf_Phdr *program_header_end() const { in program_header_end()
/external/compiler-rt/lib/cfi/
Dcfi.cc20 typedef ElfW(Phdr) Elf_Phdr; typedef
206 const Elf_Phdr *phdr = &info->dlpi_phdr[phdr_idx]; in find_cfi_check_in_dso()
241 const Elf_Phdr *phdr = &info->dlpi_phdr[i]; in dl_iterate_phdr_cb()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DELF.h61 using Elf_Phdr = typename ELFT::Phdr; variable
167 if (getHeader()->e_phnum && getHeader()->e_phentsize != sizeof(Elf_Phdr)) in program_headers()
174 reinterpret_cast<const Elf_Phdr *>(base() + getHeader()->e_phoff); in program_headers()
185 Elf_Note_Iterator notes_begin(const Elf_Phdr &Phdr, Error &Err) const { in notes_begin()
228 iterator_range<Elf_Note_Iterator> notes(const Elf_Phdr &Phdr, in notes()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux_libcdep.cc415 typedef ElfW(Phdr) Elf_Phdr; typedef
417 # define Elf_Phdr XElf32_Phdr macro
442 const Elf_Phdr *phdr = &info->dlpi_phdr[i]; in dl_iterate_phdr_cb()
Dsanitizer_linux.cc871 typedef ElfW(Phdr) Elf_Phdr; in ForEachMappedRegion() typedef
884 Elf_Phdr *phdr = (Elf_Phdr *)iter; in ForEachMappedRegion()
893 Elf_Phdr *phdr = (Elf_Phdr *)iter; in ForEachMappedRegion()
Dsanitizer_platform_limits_posix.cc304 unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr);
/external/llvm/tools/llvm-objdump/
DELFDump.cpp27 for (const typename ELFO::Elf_Phdr &Phdr : o->program_headers()) { in printProgramHeaders()
/external/llvm/tools/llvm-readobj/
DELFDumper.cpp60 typedef typename ELFO::Elf_Phdr Elf_Phdr; \
141 typedef typename ELFO::Elf_Phdr Elf_Phdr; typedef in __anon548fc4290111::ELFDumper
161 DynRegionInfo createDRIFrom(const Elf_Phdr *P, uintX_t EntSize) { in createDRIFrom()
169 void parseDynamicTable(ArrayRef<const Elf_Phdr *> LoadSegments);
348 bool checkTLSSections(const Elf_Phdr &Phdr, const Elf_Shdr &Sec);
349 bool checkoffsets(const Elf_Phdr &Phdr, const Elf_Shdr &Sec);
350 bool checkVMA(const Elf_Phdr &Phdr, const Elf_Shdr &Sec);
351 bool checkPTDynamic(const Elf_Phdr &Phdr, const Elf_Shdr &Sec);
1310 SmallVector<const Elf_Phdr *, 4> LoadSegments; in ELFDumper()
1311 for (const Elf_Phdr &Phdr : Obj->program_headers()) { in ELFDumper()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
DELFDumper.cpp93 using Elf_Phdr = typename ELFT::Phdr; \
190 DynRegionInfo createDRIFrom(const Elf_Phdr *P, uintX_t EntSize) { in createDRIFrom()
198 void parseDynamicTable(ArrayRef<const Elf_Phdr *> LoadSegments);
410 bool checkTLSSections(const Elf_Phdr &Phdr, const Elf_Shdr &Sec);
411 bool checkoffsets(const Elf_Phdr &Phdr, const Elf_Shdr &Sec);
412 bool checkVMA(const Elf_Phdr &Phdr, const Elf_Shdr &Sec);
413 bool checkPTDynamic(const Elf_Phdr &Phdr, const Elf_Shdr &Sec);
1380 SmallVector<const Elf_Phdr *, 4> LoadSegments; in ELFDumper()
1381 for (const Elf_Phdr &Phdr : unwrapOrError(Obj->program_headers())) { in ELFDumper()
1447 ArrayRef<const Elf_Phdr *> LoadSegments) { in parseDynamicTable()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/
DELFDump.cpp102 for (const typename ELFO::Elf_Phdr &Phdr : *ProgramHeaderOrError) { in printProgramHeaders()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objcopy/
DObject.cpp66 using Elf_Phdr = typename ELFT::Phdr; in writePhdr() typedef
69 B += Obj.ProgramHdrSegment.Offset + Seg.Index * sizeof(Elf_Phdr); in writePhdr()
70 Elf_Phdr &Phdr = *reinterpret_cast<Elf_Phdr *>(B); in writePhdr()
974 Ehdr.e_phentsize = sizeof(Elf_Phdr); in writeEhdr()
DObject.h194 using Elf_Phdr = typename ELFT::Phdr; variable