Home
last modified time | relevance | path

Searched refs:phdr (Results 1 – 2 of 2) sorted by relevance

/art/libelffile/elf/
Delf_builder.h862 Elf_Phdr phdr = Elf_Phdr(); in MakeProgramHeaders() local
863 phdr.p_type = PT_PHDR; in MakeProgramHeaders()
864 phdr.p_flags = PF_R; in MakeProgramHeaders()
865 phdr.p_offset = phdr.p_vaddr = phdr.p_paddr = sizeof(Elf_Ehdr); in MakeProgramHeaders()
866 phdr.p_filesz = phdr.p_memsz = 0; // We need to fill this later. in MakeProgramHeaders()
867 phdr.p_align = sizeof(Elf_Off); in MakeProgramHeaders()
868 phdrs.push_back(phdr); in MakeProgramHeaders()
916 Elf_Phdr phdr = Elf_Phdr(); in MakeProgramHeaders() local
917 phdr.p_type = section->phdr_type_; in MakeProgramHeaders()
918 phdr.p_flags = section->phdr_flags_; in MakeProgramHeaders()
[all …]
/art/runtime/jni/
Djni_internal.cc182 const ElfW(Phdr)& phdr = info->dlpi_phdr[i]; in VisitElfInfo()
183 if (phdr.p_type != PT_LOAD || ((phdr.p_flags & PF_X) != PF_X)) { in VisitElfInfo()
186 uintptr_t start = info->dlpi_addr + phdr.p_vaddr; in VisitElfInfo()
187 const uintptr_t limit = art::RoundUp(start + phdr.p_memsz, art::kPageSize); in VisitElfInfo()