Lines Matching refs:phdr

597     dl_info.dlpi_phdr = si->phdr;
1184 si_->phdr = elf_reader.loaded_phdr();
2818 if (phdr_table_protect_segments(phdr, phnum, load_bias) < 0) {
2828 if (phdr_table_unprotect_segments(phdr, phnum, load_bias) < 0) {
2877 if (phdr_table_protect_segments(phdr, phnum, load_bias) < 0) {
2888 if (phdr_table_unprotect_segments(phdr, phnum, load_bias) < 0) {
3472 phdr_table_get_dynamic_section(phdr, phnum, load_bias, &dynamic, &dynamic_flags);
3493 (void) phdr_table_get_arm_exidx(phdr, phnum, load_bias,
3937 if (phdr_table_unprotect_segments(phdr, phnum, load_bias) < 0) {
4016 if (phdr_table_protect_segments(phdr, phnum, load_bias) < 0) {
4032 if (phdr_table_serialize_gnu_relro(phdr, phnum, load_bias,
4039 if (phdr_table_map_gnu_relro(phdr, phnum, load_bias,
4052 if (phdr_table_protect_gnu_relro(phdr, phnum, load_bias) < 0) {
4074 si->phdr = reinterpret_cast<ElfW(Phdr)*>(reinterpret_cast<char*>(ehdr_vdso) + ehdr_vdso->e_phoff);
4077 si->size = phdr_table_get_load_size(si->phdr, si->phnum);
4109 ElfW(Phdr)* phdr = reinterpret_cast<ElfW(Phdr)*>(linker_base + elf_hdr->e_phoff);
4110 phdr_table_get_dynamic_section(phdr, elf_hdr->e_phnum, linker_base,
4120 const char *interp = phdr_table_get_interpreter_name(somain->phdr, somain->phnum,
4223 si->phdr = reinterpret_cast<ElfW(Phdr)*>(args.getauxval(AT_PHDR));
4232 si->size = phdr_table_get_load_size(si->phdr, si->phnum);
4235 if (si->phdr[i].p_type == PT_PHDR) {
4236 si->load_bias = reinterpret_cast<ElfW(Addr)>(si->phdr) - si->phdr[i].p_vaddr;
4237 si->base = reinterpret_cast<ElfW(Addr)>(si->phdr) - si->phdr[i].p_offset;
4374 for (const ElfW(Phdr)* phdr = phdr_table; phdr < phdr_end; phdr++) {
4375 if (phdr->p_type == PT_LOAD) {
4376 return reinterpret_cast<ElfW(Addr)>(elf) + phdr->p_offset - phdr->p_vaddr;
4401 ElfW(Phdr)* phdr = reinterpret_cast<ElfW(Phdr)*>(linker_addr + elf_hdr->e_phoff);
4419 linker_so.size = phdr_table_get_load_size(phdr, elf_hdr->e_phnum);
4422 linker_so.phdr = phdr;