Searched refs:elf (Results 1 – 4 of 4) sorted by relevance
/bionic/tools/relocation_packer/src/ |
D | elf_traits.h | 36 static inline Ehdr* getehdr(Elf* elf) { return elf32_getehdr(elf); } in getehdr() 37 static inline Phdr* getphdr(Elf* elf) { return elf32_getphdr(elf); } in getphdr() 60 static inline Ehdr* getehdr(Elf* elf) { return elf64_getehdr(elf); } in getehdr() 61 static inline Phdr* getphdr(Elf* elf) { return elf64_getphdr(elf); } in getphdr()
|
D | elf_file.cc | 138 Elf* elf = elf_begin(fd_, ELF_C_RDWR, NULL); in Load() local 139 CHECK(elf); in Load() 141 if (elf_kind(elf) != ELF_K_ELF) { in Load() 146 auto elf_header = ELF::getehdr(elf); in Load() 167 auto elf_program_header = ELF::getphdr(elf); in Load() 183 elf_getshdrstrndx(elf, &string_index); in Load() 198 while ((section = elf_nextscn(elf, section)) != nullptr) { in Load() 200 std::string name = elf_strptr(elf, string_index, section_header->sh_name); in Load() 257 elf_ = elf; in Load() 282 static void AdjustSectionHeadersForHole(Elf* elf, in AdjustSectionHeadersForHole() argument [all …]
|
D | elf_file.h | 83 static void ResizeSection(Elf* elf, Elf_Scn* section, size_t new_size,
|
/bionic/linker/ |
D | linker.cpp | 146 static ElfW(Addr) get_elf_exec_load_bias(const ElfW(Ehdr)* elf); 4368 static ElfW(Addr) get_elf_exec_load_bias(const ElfW(Ehdr)* elf) { argument 4369 ElfW(Addr) offset = elf->e_phoff; 4371 reinterpret_cast<const ElfW(Phdr)*>(reinterpret_cast<uintptr_t>(elf) + offset); 4372 const ElfW(Phdr)* phdr_end = phdr_table + elf->e_phnum; 4376 return reinterpret_cast<ElfW(Addr)>(elf) + phdr->p_offset - phdr->p_vaddr;
|