Searched refs:elf (Results 1 - 21 of 21) sorted by relevance

/bionic/libc/private/
H A Dbionic_auxv.h31 #include <elf.h>
H A DKernelArgumentBlock.h20 #include <elf.h>
/bionic/tools/relocation_packer/src/
H A Delf_traits.h10 #include "elf.h"
36 static inline Ehdr* getehdr(Elf* elf) { return elf32_getehdr(elf); } argument
37 static inline Phdr* getphdr(Elf* elf) { return elf32_getphdr(elf); } argument
60 static inline Ehdr* getehdr(Elf* elf) { return elf64_getehdr(elf); } argument
61 static inline Phdr* getphdr(Elf* elf) { return elf64_getphdr(elf); } argument
H A Delf_file.cc138 Elf* elf = elf_begin(fd_, ELF_C_RDWR, NULL);
139 CHECK(elf);
141 if (elf_kind(elf) != ELF_K_ELF) {
146 auto elf_header = ELF::getehdr(elf);
167 auto elf_program_header = ELF::getphdr(elf);
183 elf_getshdrstrndx(elf, &string_index);
198 while ((section = elf_nextscn(elf, section)) != nullptr) {
200 std::string name = elf_strptr(elf, string_index, section_header->sh_name);
257 elf_ = elf;
282 static void AdjustSectionHeadersForHole(Elf* elf, argument
364 RewriteProgramHeadersForHole(Elf* elf, typename ELF::Off hole_start, ssize_t hole_size) argument
394 GetDynamicSection(Elf* elf) argument
507 ResizeSection(Elf* elf, Elf_Scn* section, size_t new_size, typename ELF::Word new_sh_type, relocations_type_t relocations_type) argument
[all...]
H A Delf_file.h24 #include "elf.h"
83 static void ResizeSection(Elf* elf, Elf_Scn* section, size_t new_size,
/bionic/libc/kernel/uapi/linux/
H A Delf-fdpic.h21 #include <linux/elf.h>
H A Delfcore.h26 #include <linux/elf.h>
H A Daudit.h22 #include <linux/elf-em.h>
H A Delf.h22 #include <linux/elf-em.h>
/bionic/libc/bionic/
H A Dgetauxval.cpp33 #include <elf.h>
H A Dlibc_init_dynamic.cpp50 #include <elf.h>
H A Ddl_iterate_phdr_static.cpp29 #include <elf.h>
H A Dlibc_init_static.cpp40 #include <elf.h>
H A Ddebug_mapinfo.cpp30 #include <elf.h>
H A Dlibc_init_common.cpp31 #include <elf.h>
/bionic/linker/
H A Dlinker_relocs.h20 #include <elf.h>
H A Dlinker.h32 #include <elf.h>
H A Dlinker.cpp68 static ElfW(Addr) get_elf_exec_load_bias(const ElfW(Ehdr)* elf);
597 TRACE_TYPE(LOOKUP, "SEARCH %s in %s@%p h=%x(elf) %zd",
1927 // not executable. We need to restore elf flags before resolving
1989 // not executable. We need to restore elf flags for this
3324 * elf -> address of ELF header, assumed to be at the start of the file.
3329 static ElfW(Addr) get_elf_exec_load_bias(const ElfW(Ehdr)* elf) {
3330 ElfW(Addr) offset = elf->e_phoff;
3332 reinterpret_cast<const ElfW(Phdr)*>(reinterpret_cast<uintptr_t>(elf) + offset);
3333 const ElfW(Phdr)* phdr_end = phdr_table + elf->e_phnum;
3337 return reinterpret_cast<ElfW(Addr)>(elf)
[all...]
/bionic/libc/include/
H A Dlink.h32 #include <elf.h>
H A Delf.h32 #include <linux/elf.h>
33 #include <linux/elf-em.h>
/bionic/tests/
H A Ddlext_test.cpp20 #include <elf.h>

Completed in 196 milliseconds