Searched refs:phdr (Results 1 - 9 of 9) sorted by relevance

/ndk/sources/android/crazy_linker/src/
H A Dlinker_phdr.cpp150 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 Dcrazy_linker_elf_loader.cpp222 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 Dcrazy_linker_elf_view.cpp12 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 Dcrazy_linker_elf_view.h29 // |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 Dcrazy_linker_rdebug.cpp88 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 Dcrazy_linker_shared_library.h39 const ELF::Phdr* phdr() const { return view_.phdr(); } function in class:crazy::SharedLibrary
H A Dcrazy_linker_shared_library.cpp199 if (phdr_table_get_relro_info(view_.phdr(),
211 phdr(), phdr_count(), load_bias(), &arm_exidx_, &arm_exidx_count_);
H A Dcrazy_linker_library_list.cpp165 info.dlpi_phdr = lib->phdr();
H A Dcrazy_linker_elf_relocations.cpp138 phdr_ = view->phdr();

Completed in 92 milliseconds