Searched refs:Phdr (Results 1 – 10 of 10) sorted by relevance
/ndk/sources/android/crazy_linker/src/ |
D | linker_phdr.cpp | 141 size_t phdr_table_get_load_size(const ELF::Phdr* phdr_table, in phdr_table_get_load_size() 150 const ELF::Phdr* phdr = &phdr_table[i]; in phdr_table_get_load_size() 185 static int _phdr_table_set_load_prot(const ELF::Phdr* phdr_table, in _phdr_table_set_load_prot() 189 const ELF::Phdr* phdr = phdr_table; in _phdr_table_set_load_prot() 190 const ELF::Phdr* phdr_limit = phdr + phdr_count; in _phdr_table_set_load_prot() 221 int phdr_table_protect_segments(const ELF::Phdr* phdr_table, in phdr_table_protect_segments() 243 int phdr_table_unprotect_segments(const ELF::Phdr* phdr_table, in phdr_table_unprotect_segments() 258 int phdr_table_get_relro_info(const ELF::Phdr* phdr_table, in phdr_table_get_relro_info() 263 const ELF::Phdr* phdr; in phdr_table_get_relro_info() 264 const ELF::Phdr* phdr_limit = phdr_table + phdr_count; in phdr_table_get_relro_info() [all …]
|
D | linker_phdr.h | 44 size_t phdr_table_get_load_size(const ELF::Phdr* phdr_table, 49 int phdr_table_protect_segments(const ELF::Phdr* phdr_table, 53 int phdr_table_unprotect_segments(const ELF::Phdr* phdr_table, 57 int phdr_table_get_relro_info(const ELF::Phdr* phdr_table, 63 int phdr_table_protect_gnu_relro(const ELF::Phdr* phdr_table, 68 int phdr_table_get_arm_exidx(const ELF::Phdr* phdr_table, 75 void phdr_table_get_dynamic_section(const ELF::Phdr* phdr_table,
|
D | crazy_linker_elf_view.cpp | 12 const ELF::Phdr* phdr, in InitUnmapped() 40 const ELF::Phdr* phdr0 = NULL; in InitUnmapped() 44 const ELF::Phdr* entry = &phdr[n]; in InitUnmapped() 56 const ELF::Phdr* entry = &phdr[n]; in InitUnmapped() 62 phdr0 = reinterpret_cast<const ELF::Phdr*>(elf_addr + offset); in InitUnmapped() 73 ELF::Addr phdr0_limit = phdr0_addr + sizeof(ELF::Phdr) * phdr_count; in InitUnmapped()
|
D | crazy_linker_elf_loader.cpp | 155 if (phdr_num_ < 1 || phdr_num_ > 65536 / sizeof(ELF::Phdr)) { in ReadProgramHeader() 162 PAGE_END(header_.e_phoff + (phdr_num_ * sizeof(ELF::Phdr))); in ReadProgramHeader() 175 phdr_table_ = reinterpret_cast<ELF::Phdr*>( in ReadProgramHeader() 219 const ELF::Phdr* phdr_limit = phdr_table_ + phdr_num_; in FindPhdr() 222 for (const ELF::Phdr* phdr = phdr_table_; phdr < phdr_limit; ++phdr) { in FindPhdr() 231 for (const ELF::Phdr* phdr = phdr_table_; phdr < phdr_limit; ++phdr) { in FindPhdr() 251 const ELF::Phdr* phdr_limit = phdr_table_ + phdr_num_; in CheckPhdr() 252 ELF::Addr loaded_end = loaded + (phdr_num_ * sizeof(ELF::Phdr)); in CheckPhdr() 253 for (ELF::Phdr* phdr = phdr_table_; phdr < phdr_limit; ++phdr) { in CheckPhdr() 260 loaded_phdr_ = reinterpret_cast<const ELF::Phdr*>(loaded); in CheckPhdr() [all …]
|
D | crazy_linker_elf_loader.h | 53 const ELF::Phdr* loaded_phdr() { return loaded_phdr_; } in loaded_phdr() 63 ELF::Phdr* phdr_table_; 74 const ELF::Phdr* loaded_phdr_; // points to the loaded program header.
|
D | crazy_linker_elf_view.h | 39 const ELF::Phdr* phdr, 43 const ELF::Phdr* phdr() const { return phdr_; } in phdr() 97 const ELF::Phdr* phdr_;
|
D | elf_traits.h | 17 typedef Elf32_Phdr Phdr; typedef 41 typedef Elf64_Phdr Phdr; typedef
|
D | crazy_linker_rdebug.cpp | 71 if (header->e_phoff == 0 || header->e_phentsize != sizeof(ELF::Phdr)) { in FindElfDynamicSection() 82 ELF::Phdr phdr_load0 = {0, }; in FindElfDynamicSection() 83 ELF::Phdr phdr_dyn = {0, }; in FindElfDynamicSection() 88 ELF::Phdr phdr; in FindElfDynamicSection()
|
D | crazy_linker_elf_relocations.h | 103 const ELF::Phdr* phdr_;
|
D | crazy_linker_shared_library.h | 39 const ELF::Phdr* phdr() const { return view_.phdr(); } in phdr()
|