Home
last modified time | relevance | path

Searched refs:elf (Results 1 – 6 of 6) sorted by relevance

/bionic/tests/
DAndroid.bp84 relative_install_path: "bionic-loader-test-libs/prebuilt-elf-files",
87 srcs: ["prebuilt-elf-files/arm/libtest_invalid-rw_load_segment.so"],
90 srcs: ["prebuilt-elf-files/arm64/libtest_invalid-rw_load_segment.so"],
93 srcs: ["prebuilt-elf-files/x86/libtest_invalid-rw_load_segment.so"],
96 srcs: ["prebuilt-elf-files/x86_64/libtest_invalid-rw_load_segment.so"],
107 relative_install_path: "bionic-loader-test-libs/prebuilt-elf-files",
110 srcs: ["prebuilt-elf-files/arm/libtest_invalid-unaligned_shdr_offset.so"],
113 srcs: ["prebuilt-elf-files/arm64/libtest_invalid-unaligned_shdr_offset.so"],
116 srcs: ["prebuilt-elf-files/x86/libtest_invalid-unaligned_shdr_offset.so"],
119 srcs: ["prebuilt-elf-files/x86_64/libtest_invalid-unaligned_shdr_offset.so"],
[all …]
Delf_test.cpp22 TEST(elf, have_ELF_ST_INFO_macros) { in TEST() argument
Ddlfcn_test.cpp1555 const std::string& path, ELFT* elf) { in validate_compatibility_of_native_library() argument
1560 for (auto it = elf->section_begin(); it != elf->section_end(); ++it) { in validate_compatibility_of_native_library()
1604 auto elf = llvm::dyn_cast<llvm::object::ELF32LEObjectFile>(obj); in validate_compatibility_of_native_library() local
1606 ASSERT_TRUE(elf != nullptr); in validate_compatibility_of_native_library()
1608 validate_compatibility_of_native_library(soname, path, elf); in validate_compatibility_of_native_library()
/bionic/tools/versioner/src/
DSymbolDatabase.cpp48 ELFObjectFileBase* elf = dyn_cast_or_null<ELFObjectFileBase>(binaryOrError.get().getBinary()); in getSymbols() local
49 if (!elf) { in getSymbols()
53 for (const ELFSymbolRef symbol : elf->getDynamicSymbolIterators()) { in getSymbols()
/bionic/linker/
Dlinker_main.cpp62 static ElfW(Addr) get_elf_exec_load_bias(const ElfW(Ehdr)* elf);
514 static ElfW(Addr) get_elf_exec_load_bias(const ElfW(Ehdr)* elf) { in get_elf_exec_load_bias() argument
515 ElfW(Addr) offset = elf->e_phoff; in get_elf_exec_load_bias()
517 reinterpret_cast<const ElfW(Phdr)*>(reinterpret_cast<uintptr_t>(elf) + offset); in get_elf_exec_load_bias()
518 const ElfW(Phdr)* phdr_end = phdr_table + elf->e_phnum; in get_elf_exec_load_bias()
522 return reinterpret_cast<ElfW(Addr)>(elf) + phdr->p_offset - phdr->p_vaddr; in get_elf_exec_load_bias()
/bionic/docs/
Delf-tls.md4 * [go/android-elf-tls](http://go/android-elf-tls)
503 [ELF TLS prototype]: https://android-review.googlesource.com/q/topic:%22elf-tls-prototype%22+(statu…
866 * ["ELF for the ARM® Architecture."][arm-elf] List TLS relocations (traditional and TLSDESC).
871 * ["ELF for the ARM® 64-bit Architecture (AArch64)."][arm64-elf] Lists TLS relocations (traditional
880 [arm-elf]: http://infocenter.arm.com/help/topic/com.arm.doc.ihi0044f/IHI0044F_aaelf.pdf
882 [arm64-elf]: http://infocenter.arm.com/help/topic/com.arm.doc.ihi0056b/IHI0056B_aaelf64.pdf