Searched refs:phdr (Results 1 - 9 of 9) sorted by relevance
/ndk/sources/android/crazy_linker/src/ |
H A D | linker_phdr.cpp | 150 const ELF::Phdr* phdr = &phdr_table[i]; local 152 if (phdr->p_type != PT_LOAD) { 157 if (phdr->p_vaddr < min_vaddr) { 158 min_vaddr = phdr->p_vaddr; 161 if (phdr->p_vaddr + phdr->p_memsz > max_vaddr) { 162 max_vaddr = phdr->p_vaddr + phdr->p_memsz; 189 const ELF::Phdr* phdr = phdr_table; local 190 const ELF::Phdr* phdr_limit = phdr 263 const ELF::Phdr* phdr; local 349 const ELF::Phdr* phdr = phdr_table; local 386 const ELF::Phdr* phdr = phdr_table; local [all...] |
H A D | crazy_linker_elf_loader.cpp | 222 for (const ELF::Phdr* phdr = phdr_table_; phdr < phdr_limit; ++phdr) { 223 if (phdr->p_type == PT_PHDR) { 224 return CheckPhdr(load_bias_ + phdr->p_vaddr, error); 231 for (const ELF::Phdr* phdr = phdr_table_; phdr < phdr_limit; ++phdr) { 232 if (phdr->p_type == PT_LOAD) { 233 if (phdr 273 const ELF::Phdr* phdr = &phdr_table_[i]; local [all...] |
H A D | crazy_linker_elf_view.cpp | 12 const ELF::Phdr* phdr, 17 load_size_ = phdr_table_get_load_size(phdr, phdr_count, &min_vaddr, NULL); 26 phdr_table_get_dynamic_section(phdr, 38 // This is different from |phdr|..|phdr + phdr_count| which can actually 44 const ELF::Phdr* entry = &phdr[n]; 56 const ELF::Phdr* entry = &phdr[n]; 76 size_t seg_start = load_bias_ + phdr[n].p_vaddr; 77 size_t seg_end = seg_start + phdr[n].p_filesz; 97 LOG("%s: New ELF view [load_address:%p, load_size:%p, load_bias:%p, phdr 11 InitUnmapped(ELF::Addr load_address, const ELF::Phdr* phdr, size_t phdr_count, Error* error) argument [all...] |
H A D | crazy_linker_elf_view.h | 29 // |phdr| is a pointer to the library's program header. Note that this can 35 // appropriate values. Note that functions phdr() or dynamic() will always 39 const ELF::Phdr* phdr, 43 const ELF::Phdr* phdr() const { return phdr_; } function in class:crazy::ElfView
|
H A D | crazy_linker_rdebug.cpp | 88 ELF::Phdr phdr; local 89 if (fd.Read(&phdr, sizeof(phdr)) != sizeof(phdr)) { 94 if (phdr.p_type == PT_LOAD && !found_load0) { 95 phdr_load0 = phdr; 97 } else if (phdr.p_type == PT_DYNAMIC && !found_dyn) { 98 phdr_dyn = phdr;
|
H A D | crazy_linker_shared_library.h | 39 const ELF::Phdr* phdr() const { return view_.phdr(); } function in class:crazy::SharedLibrary
|
H A D | crazy_linker_shared_library.cpp | 199 if (phdr_table_get_relro_info(view_.phdr(), 211 phdr(), phdr_count(), load_bias(), &arm_exidx_, &arm_exidx_count_);
|
H A D | crazy_linker_library_list.cpp | 165 info.dlpi_phdr = lib->phdr();
|
H A D | crazy_linker_elf_relocations.cpp | 138 phdr_ = view->phdr();
|
Completed in 92 milliseconds