Searched refs:Phdr (Results 1 – 13 of 13) sorted by relevance
/bionic/linker/ |
D | linker_phdr.h | 53 const ElfW(Phdr)* loaded_phdr() const { return loaded_phdr_; } in ElfW() argument 81 const ElfW(Phdr)* phdr_table_; 102 const ElfW(Phdr)* loaded_phdr_; 108 size_t phdr_table_get_load_size(const ElfW(Phdr)* phdr_table, size_t phdr_count, 111 int phdr_table_protect_segments(const ElfW(Phdr)* phdr_table, 114 int phdr_table_unprotect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, 117 int phdr_table_protect_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, 120 int phdr_table_serialize_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, 123 int phdr_table_map_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, 127 int phdr_table_get_arm_exidx(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias, [all …]
|
D | linker_phdr.cpp | 313 if (phdr_num_ < 1 || phdr_num_ > 65536/sizeof(ElfW(Phdr))) { in ReadProgramHeaders() 319 size_t size = phdr_num_ * sizeof(ElfW(Phdr)); in ReadProgramHeaders() 320 if (!CheckFileRange(header_.e_phoff, size, alignof(ElfW(Phdr)))) { in ReadProgramHeaders() 333 phdr_table_ = static_cast<ElfW(Phdr)*>(phdr_fragment_.data()); in ReadProgramHeaders() 382 const ElfW(Phdr)* phdr = &phdr_table_[i]; in ReadDynamicSection() 476 size_t phdr_table_get_load_size(const ElfW(Phdr)* phdr_table, size_t phdr_count, in phdr_table_get_load_size() 484 const ElfW(Phdr)* phdr = &phdr_table[i]; in phdr_table_get_load_size() 613 const ElfW(Phdr)* phdr = &phdr_table_[i]; in LoadSegments() 708 static int _phdr_table_set_load_prot(const ElfW(Phdr)* phdr_table, size_t phdr_count, in _phdr_table_set_load_prot() 710 const ElfW(Phdr)* phdr = phdr_table; in _phdr_table_set_load_prot() [all …]
|
D | linker_main.cpp | 149 si->phdr = reinterpret_cast<ElfW(Phdr)*>(reinterpret_cast<char*>(ehdr_vdso) + ehdr_vdso->e_phoff); in add_vdso() 178 ElfW(Phdr)* phdr = reinterpret_cast<ElfW(Phdr)*>(linker_base + elf_hdr->e_phoff); in init_linker_info_for_gdb() 292 si->phdr = reinterpret_cast<ElfW(Phdr)*>(args.getauxval(AT_PHDR)); 471 const ElfW(Phdr)* phdr_table = 472 reinterpret_cast<const ElfW(Phdr)*>(reinterpret_cast<uintptr_t>(elf) + offset); 473 const ElfW(Phdr)* phdr_end = phdr_table + elf->e_phnum; 475 for (const ElfW(Phdr)* phdr = phdr_table; phdr < phdr_end; phdr++) { 518 ElfW(Phdr)* phdr = reinterpret_cast<ElfW(Phdr)*>(linker_addr + elf_hdr->e_phoff);
|
D | linker_mips.cpp | 248 const ElfW(Phdr)& ph = phdr[i]; in mips_check_and_adjust_fp_modes()
|
D | linker_soinfo.h | 95 const ElfW(Phdr)* phdr;
|
/bionic/tools/relocation_packer/src/ |
D | elf_traits.h | 25 typedef Elf32_Phdr Phdr; typedef 37 static inline Phdr* getphdr(Elf* elf) { return elf32_getphdr(elf); } in getphdr() 49 typedef Elf64_Phdr Phdr; typedef 61 static inline Phdr* getphdr(Elf* elf) { return elf64_getphdr(elf); } in getphdr()
|
D | elf_file.cc | 84 template <typename Phdr> 86 const Phdr* program_header) { in VerboseLogProgramHeader() 170 const typename ELF::Phdr* dynamic_program_header = NULL; in Load() 307 static bool ClampLoadSegmentAlignment(typename ELF::Phdr* program_header) { in ClampLoadSegmentAlignment() 319 static bool RestoreLoadSegmentAlignment(typename ELF::Phdr* program_headers, in RestoreLoadSegmentAlignment() 321 typename ELF::Phdr* program_header) { in RestoreLoadSegmentAlignment() 334 typename ELF::Phdr* other_header = &program_headers[i]; in RestoreLoadSegmentAlignment() 346 static bool AdjustLoadSegmentAlignment(typename ELF::Phdr* program_headers, in AdjustLoadSegmentAlignment() 348 typename ELF::Phdr* program_header, in AdjustLoadSegmentAlignment() 367 static void AdjustProgramHeaderFields(typename ELF::Phdr* program_headers, in AdjustProgramHeaderFields() [all …]
|
/bionic/libc/bionic/ |
D | libc_init_static.cpp | 57 ElfW(Phdr)* phdr_start = reinterpret_cast<ElfW(Phdr)*>(getauxval(AT_PHDR)); in apply_gnu_relro() 60 for (ElfW(Phdr)* phdr = phdr_start; phdr < (phdr_start + phdr_ct); phdr++) { in apply_gnu_relro()
|
D | dl_iterate_phdr_static.cpp | 53 …exe_info.dlpi_phdr = reinterpret_cast<ElfW(Phdr)*>(reinterpret_cast<uintptr_t>(ehdr) + ehdr->e_pho… in dl_iterate_phdr() 73 …vdso_info.dlpi_phdr = reinterpret_cast<ElfW(Phdr)*>(reinterpret_cast<char*>(ehdr_vdso) + ehdr_vdso… in dl_iterate_phdr()
|
D | vdso.cpp | 78 ElfW(Phdr)* vdso_phdr = reinterpret_cast<ElfW(Phdr)*>(vdso_ehdr_addr + vdso_ehdr->e_phoff); in __libc_init_vdso()
|
/bionic/libc/malloc_debug/ |
D | MapData.cpp | 95 ElfW(Phdr) phdr; in read_loadbase() 96 if (!get_val<ElfW(Word)>(entry, addr + offsetof(ElfW(Phdr), p_type), &phdr.p_type)) { in read_loadbase() 99 if (!get_val<ElfW(Off)>(entry, addr + offsetof(ElfW(Phdr), p_offset), &phdr.p_offset)) { in read_loadbase() 103 if (!get_val<ElfW(Addr)>(entry, addr + offsetof(ElfW(Phdr), p_vaddr), &phdr.p_vaddr)) { in read_loadbase()
|
/bionic/tests/ |
D | link_test.cpp | 53 const ElfW(Phdr)* phdr = reinterpret_cast<const ElfW(Phdr)*>(&info->dlpi_phdr[i]); in TEST()
|
/bionic/libc/include/ |
D | link.h | 48 const ElfW(Phdr)* dlpi_phdr;
|