Home
last modified time | relevance | path

Searched refs:phdr_table (Results 1 – 4 of 4) sorted by relevance

/frameworks/libs/binary_translation/tiny_loader/include/berberis/tiny_loader/
Dloaded_elf_file.h40 const ElfPhdr* phdr_table, size_t phdr_count, const ElfDyn* dynamic, in LoadedElfFile() argument
48 phdr_table_(phdr_table), in LoadedElfFile()
55 const ElfPhdr* phdr_table, size_t phdr_count, const ElfDyn* dynamic, in LoadedElfFile() argument
62 phdr_table_(phdr_table), in LoadedElfFile()
82 const ElfPhdr* phdr_table() const { return phdr_table_; } in phdr_table() function
/frameworks/libs/binary_translation/tiny_loader/
Dtiny_loader.cc89 size_t phdr_table_get_load_size(const ElfPhdr* phdr_table, size_t phdr_count, in phdr_table_get_load_size() argument
96 const ElfPhdr* phdr = &phdr_table[i]; in phdr_table_get_load_size()
139 const ElfPhdr** phdr_table, size_t* phdr_num);
142 const ElfPhdr** phdr_table, size_t* phdr_num);
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,
304 const ElfPhdr** phdr_table, size_t* phdr_num) { in ReadProgramHeadersFromFile() argument
319 *phdr_table = static_cast<ElfPhdr*>(phdr_fragment_.data()); in ReadProgramHeadersFromFile()
325 size_t load_size, const ElfPhdr** phdr_table, in ReadProgramHeadersFromMemory() argument
336 *phdr_table = reinterpret_cast<const ElfPhdr*>(load_addr + header->e_phoff); in ReadProgramHeadersFromMemory()
[all …]
/frameworks/libs/binary_translation/tiny_loader/tests/
Dtiny_loader_tests.cc50 ASSERT_EQ(actual.phdr_table(), expected.phdr_table()); in AssertLoadedElfFilesEqual()
90 ASSERT_TRUE(loaded_elf_file.phdr_table() != nullptr); in TestLoadLibrary()
164 ASSERT_NE(nullptr, loaded_elf_file.phdr_table()); in TEST()
/frameworks/libs/binary_translation/guest_loader/
Dguest_loader.cc56 const ElfPhdr* phdr_table = loaded_executable->phdr_table(); in FindPtInterp() local
61 const auto& phdr = phdr_table[i]; in FindPtInterp()
122 ToGuestAddr(main_executable_elf_file->phdr_table()), in StartGuestExecutableImpl()