Home
last modified time | relevance | path

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

/art/libelffile/elf/
Delf_builder.h896 Elf_Phdr phdr = Elf_Phdr(); in MakeProgramHeaders() local
897 phdr.p_type = PT_PHDR; in MakeProgramHeaders()
898 phdr.p_flags = PF_R; in MakeProgramHeaders()
899 phdr.p_offset = phdr.p_vaddr = phdr.p_paddr = sizeof(Elf_Ehdr); in MakeProgramHeaders()
900 phdr.p_filesz = phdr.p_memsz = 0; // We need to fill this later. in MakeProgramHeaders()
901 phdr.p_align = sizeof(Elf_Off); in MakeProgramHeaders()
902 phdrs.push_back(phdr); in MakeProgramHeaders()
950 Elf_Phdr phdr = Elf_Phdr(); in MakeProgramHeaders() local
951 phdr.p_type = section->phdr_type_; in MakeProgramHeaders()
952 phdr.p_flags = section->phdr_flags_; in MakeProgramHeaders()
[all …]
Delf_debug_reader.h112 for (const Elf_Phdr& phdr : Read<Elf_Phdr>(header_->e_phoff, header_->e_phnum)) { in GetLoadAddress() local
113 if (phdr.p_type == PT_LOAD) { in GetLoadAddress()
114 addr = addr.has_value() ? std::min(addr.value(), phdr.p_vaddr) : phdr.p_vaddr; in GetLoadAddress()