Home
last modified time | relevance | path

Searched refs:LoadedElfFile (Results 1 – 10 of 10) sorted by relevance

/frameworks/libs/binary_translation/tiny_loader/include/berberis/tiny_loader/
Dloaded_elf_file.h28 class LoadedElfFile {
30 LoadedElfFile() in LoadedElfFile() function
39 LoadedElfFile(ElfHalf e_type, void* base_addr, ElfAddr load_bias, void* entry_point, in LoadedElfFile() function
54 LoadedElfFile(ElfHalf e_type, void* base_addr, ElfAddr load_bias, void* entry_point, in LoadedElfFile() function
68 LoadedElfFile(LoadedElfFile&& that) = default;
70 LoadedElfFile& operator=(LoadedElfFile&& that) = default;
Dtiny_loader.h35 munmap_fn_t munmap_fn, LoadedElfFile* loaded_elf_file,
38 static bool LoadFromFile(const char* path, LoadedElfFile* loaded_elf_file, in LoadFromFile()
44 LoadedElfFile* loaded_elf_file, std::string* error_msg);
/frameworks/libs/binary_translation/guest_loader/
Dguest_loader_impl.h52 bool MakeElfSymbolTrampolineCallable(const LoadedElfFile& elf_file,
62 const LoadedElfFile& linker_elf_file,
66 const LoadedElfFile& linker_elf_file,
69 void InitLinkerDebug(const LoadedElfFile& linker_elf_file);
73 bool FindSymbol(const LoadedElfFile& elf_file, in FindSymbol()
Dguest_loader.cc55 const char* FindPtInterp(const LoadedElfFile* loaded_executable) { in FindPtInterp()
87 const LoadedElfFile* linker_elf_file, in StartGuestExecutableImpl()
88 const LoadedElfFile* main_executable_elf_file, in StartGuestExecutableImpl()
89 const LoadedElfFile* vdso_elf_file) { in StartGuestExecutableImpl()
199 bool InitializeVdso(const LoadedElfFile& vdso_elf_file, std::string* error_msg) { in InitializeVdso()
230 const LoadedElfFile& linker_elf_file, in InitializeLinker()
402 bool MakeElfSymbolTrampolineCallable(const LoadedElfFile& elf_file, in MakeElfSymbolTrampolineCallable()
Dlinker_debug.cc51 void InitLinkerDebug(const LoadedElfFile& linker_elf_file) { in InitLinkerDebug()
Dlinker_callbacks.cc222 const LoadedElfFile& linker_elf_file, in InitializeLinkerCallbacks()
/frameworks/libs/binary_translation/tiny_loader/tests/
Dtiny_loader_tests.cc45 void AssertLoadedElfFilesEqual(const LoadedElfFile& actual, const LoadedElfFile& expected) { in AssertLoadedElfFilesEqual()
76 LoadedElfFile loaded_elf_file; in TestLoadLibrary()
116 LoadedElfFile memory_elf_file; in TestLoadLibrary()
136 LoadedElfFile loaded_elf_file; in TEST()
153 LoadedElfFile loaded_elf_file; in TEST()
170 LoadedElfFile memory_elf_file; in TEST()
/frameworks/libs/binary_translation/guest_loader/include/berberis/guest_loader/
Dguest_loader.h151 LoadedElfFile executable_elf_file_;
152 LoadedElfFile linker_elf_file_;
153 LoadedElfFile vdso_elf_file_;
/frameworks/libs/binary_translation/tiny_loader/
Dtiny_loader.cc129 TinyLoader::munmap_fn_t munmap_fn, LoadedElfFile* loaded_elf_file);
131 bool LoadFromMemory(void* load_addr, size_t load_size, LoadedElfFile* loaded_elf_file);
155 bool Parse(void* load_ptr, size_t load_size, LoadedElfFile* loaded_elf_file);
584 bool TinyElfLoader::Parse(void* load_ptr, size_t load_size, LoadedElfFile* loaded_elf_file) { in Parse()
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()
621 LoadedElfFile* loaded_elf_file) { in LoadFromFile()
639 LoadedElfFile* loaded_elf_file) { in LoadFromMemory()
648 TinyLoader::munmap_fn_t munmap_fn, LoadedElfFile* loaded_elf_file, in LoadFromFile()
680 LoadedElfFile* loaded_elf_file, std::string* error_msg) { in LoadFromMemory()
/frameworks/libs/binary_translation/guest_loader/riscv64/
Dlinker_callbacks_arch.cc27 const LoadedElfFile& linker_elf_file, in InitializeLinkerCallbacksArch()