Searched refs:e_type (Results 1 – 6 of 6) sorted by relevance
/frameworks/libs/binary_translation/tiny_loader/include/berberis/tiny_loader/ |
D | loaded_elf_file.h | 39 LoadedElfFile(ElfHalf e_type, void* base_addr, ElfAddr load_bias, void* entry_point, in LoadedElfFile() argument 44 : e_type_(e_type), in LoadedElfFile() 54 LoadedElfFile(ElfHalf e_type, void* base_addr, ElfAddr load_bias, void* entry_point, in LoadedElfFile() argument 58 : e_type_(e_type), in LoadedElfFile() 74 ElfHalf e_type() const { return e_type_; } in e_type() function
|
/frameworks/libs/binary_translation/tiny_loader/tests/ |
D | tiny_loader_tests.cc | 46 ASSERT_EQ(actual.e_type(), expected.e_type()); in AssertLoadedElfFilesEqual() 110 ASSERT_EQ(ET_DYN, loaded_elf_file.e_type()); in TestLoadLibrary() 162 ASSERT_EQ(ET_EXEC, loaded_elf_file.e_type()); in TEST()
|
/frameworks/libs/binary_translation/tiny_loader/ |
D | tiny_loader.cc | 144 bool ReserveAddressSpace(ElfHalf e_type, const ElfPhdr* phdr_table, size_t phdr_num, size_t align, 148 bool LoadSegments(int fd, size_t file_size, ElfHalf e_type, const ElfPhdr* phdr_table, 352 bool TinyElfLoader::ReserveAddressSpace(ElfHalf e_type, const ElfPhdr* phdr_table, size_t phdr_num, in ReserveAddressSpace() argument 366 if (e_type == ET_EXEC) { in ReserveAddressSpace() 407 bool TinyElfLoader::LoadSegments(int fd, size_t file_size, ElfHalf e_type, in LoadSegments() argument 413 if (!ReserveAddressSpace(e_type, phdr_table, phdr_num, align, mmap64_fn, munmap_fn, load_start, in LoadSegments() 505 if (header->e_type == ET_EXEC) { in FindDynamicSegment() 528 if (header->e_type == ET_EXEC) { in InitializeFields() 605 *loaded_elf_file = LoadedElfFile(header->e_type, load_ptr, load_bias_, entry_point_, in Parse() 611 LoadedElfFile(header->e_type, load_ptr, load_bias_, entry_point_, loaded_phdr_, in Parse() [all …]
|
/frameworks/compile/mclinker/lib/LD/ |
D | ELFObjectWriter.cpp | 228 header->e_type = llvm::ELF::ET_REL; in writeELFHeader() 231 header->e_type = llvm::ELF::ET_DYN; in writeELFHeader() 234 header->e_type = llvm::ELF::ET_EXEC; in writeELFHeader() 239 header->e_type = llvm::ELF::ET_NONE; in writeELFHeader()
|
D | ELFReader.cpp | 283 type = hdr->e_type; in fileType() 285 type = mcld::bswap16(hdr->e_type); in fileType() 777 type = hdr->e_type; in fileType() 779 type = mcld::bswap16(hdr->e_type); in fileType()
|
/frameworks/libs/binary_translation/guest_loader/ |
D | guest_loader.cc | 315 if (instance->executable_elf_file_.e_type() == ET_DYN) { in CreateInstance()
|