Home
last modified time | relevance | path

Searched defs:elf (Results 1 – 25 of 35) sorted by relevance

12

/system/unwinding/libunwindstack/tests/
DElfTest.cpp115 Elf elf(elf_memory_); in TEST_F() local
122 Elf elf(elf_memory_); in TEST_F() local
149 ElfFake elf(elf_memory_); in TEST_F() local
168 Elf elf(elf_memory_); in TEST_F() local
180 Elf elf(elf_memory_); in TEST_F() local
192 Elf elf(elf_memory_); in TEST_F() local
204 Elf elf(elf_memory_); in TEST_F() local
216 Elf elf(elf_memory_); in TEST_F() local
228 Elf elf(elf_memory_); in TEST_F() local
240 Elf elf(elf_memory_); in TEST_F() local
[all …]
DMapInfoGetElfTest.cpp76 Elf* elf = info->GetElf(process_memory_, ARCH_ARM); in TEST_F() local
87 Elf* elf = info->GetElf(process_memory_, ARCH_ARM); in TEST_F() local
106 Elf* elf = info->GetElf(process_memory_, ARCH_ARM64); in TEST_F() local
119 Elf* elf = info->GetElf(process_memory_, ARCH_X86); in TEST_F() local
131 Elf* elf = info->GetElf(process_memory_, ARCH_ARM); in TEST_F() local
146 Elf* elf = info->GetElf(process_memory_, ARCH_ARM64); in TEST_F() local
160 Elf* elf = info->GetElf(process_memory_, ARCH_ARM); in TEST_F() local
189 Elf* elf = info->GetElf(process_memory_, ARCH_ARM); in TEST_F() local
218 Elf* elf = info->GetElf(process_memory_, ARCH_ARM); in TEST_F() local
251 Elf* elf = info->GetElf(process_memory_, ARCH_ARM); in TEST_F() local
[all …]
DJitDebugTest.cpp41 ElfFake* elf = new ElfFake(fake_memory); in CreateFakeElf() local
257 Elf* elf = jit_debug_->Find(maps_.get(), 0x1500); in TEST_F() local
263 Elf* elf = jit_debug_->Find(maps_.get(), 0x1500); in TEST_F() local
270 Elf* elf = jit_debug_->Find(maps_.get(), 0x1500); in TEST_F() local
279 Elf* elf = jit_debug_->Find(maps_.get(), 0x1500); in TEST_F() local
288 Elf* elf = jit_debug_->Find(maps_.get(), 0x1500); in TEST_F() local
299 Elf* elf = jit_debug_->Find(maps_.get(), 0x1500); in TEST_F() local
309 Elf* elf = jit_debug_->Find(maps_.get(), 0x1500); in TEST_F() local
353 Elf* elf = jit_debug_->Find(maps_.get(), 0x1500); in TEST_F() local
371 Elf* elf = jit_debug_->Find(maps_.get(), 0x1500); in TEST_F() local
DElfInterfaceTest.cpp183 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(memory_)); in SinglePtLoad() local
221 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(memory_)); in MultipleExecutablePtLoads() local
288 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(memory_)); in MultipleExecutablePtLoadsIncrementsNotSizeOfPhdr() local
357 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(memory_)); in NonExecutablePtLoads() local
414 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(memory_)); in ManyPhdrs() local
581 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(memory_)); in Soname() local
602 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(memory_)); in SonameAfterDtNull() local
623 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(memory_)); in SonameSize() local
646 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(memory_)); in SonameMissingMap() local
667 ElfType elf(memory_); in InitHeadersEhFrameTest() local
[all …]
DVerifyBionicTerminationTest.cpp76 Elf elf(file_memory); in VerifyReturnAddress() local
DMapInfoTest.cpp128 ElfFake* elf = new ElfFake(empty); in TEST() local
/system/extras/simpleperf/
Dread_elf_test.cpp70 auto elf = ElfFile::Open(GetTestData(ELF_FILE), &status); in TEST() local
81 auto elf = ElfFile::Open(GetTestData(path), &status); in TEST() local
113 auto elf = ElfFile::Open(GetTestData(ELF_FILE), &elf_file_build_id, &status); in TEST() local
125 auto elf = ElfFile::Open(GetTestData(ELF_FILE), &status); in TEST() local
146 auto elf = ElfFile::Open(GetTestData(ELF_FILE), &build_id, &status); in TEST() local
155 auto elf = ElfFile::Open(GetTestData(path), &native_lib_build_id, &status); in TEST() local
166 auto elf = ElfFile::Open(GetTestData(ELF_FILE_WITH_MINI_DEBUG_INFO), &status); in TEST() local
200 auto elf = ElfFile::Open(GetTestData(ELF_FILE), &status); in TEST() local
212 auto elf = ElfFile::Open(elf_path, &status); in TEST() local
229 auto elf = ElfFile::Open(GetTestData("libc.so"), &status); in TEST() local
[all …]
Dread_elf.cpp217 static inline const typename ELFT::Ehdr& GetELFHeader(const llvm::object::ELFFile<ELFT>* elf) { in GetELFHeader()
223 const llvm::object::ELFFile<ELFT>* elf) { in GetELFProgramHeaders()
229 const llvm::object::ELFFile<ELFT>* elf, const typename ELFT::Shdr& section_header) { in GetELFSectionName()
298 void AddSymbolForPltSection(const llvm::object::ELFObjectFile<ELFT>* elf, in AddSymbolForPltSection()
329 void CheckSymbolSections(const llvm::object::ELFObjectFile<ELFT>* elf, bool* has_symtab, in CheckSymbolSections()
539 auto elf = Open(filename, &status); in Open() local
551 EmbeddedElf* elf = ApkInspector::FindElfInApkByName(std::get<1>(tuple), std::get<2>(tuple)); in Open() local
575 auto elf = CreateElfFileImpl(std::move(wrapper), status); in Open() local
Dread_apk.cpp47 std::unique_ptr<EmbeddedElf> elf = FindElfInApkByOffsetWithoutCache(apk_path, file_offset); in FindElfInApkByOffset() local
63 std::unique_ptr<EmbeddedElf> elf = FindElfInApkByNameWithoutCache(apk_path, entry_name); in FindElfInApkByName() local
Ddso.cpp100 auto elf = ElfFile::Open(path, &status); in CollectBuildIdInDir() local
119 auto elf = ElfFile::Open(path, &status); in CheckDebugFilePath() local
577 auto elf = ElfFile::Open(GetDebugFilePath(), &build_id, &status); in GetMinExecutableVaddr() local
642 auto elf = ElfFile::Open(GetDebugFilePath(), &build_id, &status); in LoadSymbolsImpl() local
727 auto elf = ElfFile::Open(GetDebugFilePath(), &status); in ReadSymbolsFromDebugFile() local
813 if (auto elf = ElfFile::Open(GetDebugFilePath(), &status); elf) { in ParseKernelStartAddr() local
874 auto elf = ElfFile::Open(GetDebugFilePath(), &build_id, &status); in LoadSymbolsImpl() local
1027 auto elf = ElfFile::Open(dso_path, &status); in GetBuildIdFromDsoPath() local
/system/unwinding/libunwindstack/tools/
Dunwind_info.cpp43 void DumpArm(Elf* elf, ElfInterfaceArm* interface) { in DumpArm()
87 void DumpDwarfSection(Elf* elf, DwarfSection* section, uint64_t) { in DumpDwarfSection()
109 Elf elf(elf_memory); in GetElfInfo() local
Dunwind_symbols.cpp62 unwindstack::Elf elf(elf_memory); in main() local
Dunwind_reg_info.cpp182 Elf elf(elf_memory); in GetInfo() local
/system/unwinding/libunwindstack/benchmarks/
DElfBenchmark.cpp43 unwindstack::Elf elf(file_memory); in RunBenchmark() local
94 unwindstack::Elf* elf = build_id_map_info->GetElf(std::shared_ptr<unwindstack::Memory>(), in BM_elf_get_build_id_from_object() local
/system/unwinding/libunwindstack/
DJitDebug.cpp28 uint64_t size, /*out*/ std::shared_ptr<Elf>& elf) { in Load()
DGlobal.cpp84 Elf* elf = map_zero->GetElf(memory_, arch()); in FindAndReadVariable() local
DRegs.cpp175 uint64_t GetPcAdjustment(uint64_t rel_pc, Elf* elf, ArchEnum arch) { in GetPcAdjustment()
DUnwinder.cpp146 Elf* elf; in Unwind() local
429 Elf* elf = map_info->GetElf(process_memory, arch); in BuildFrameFromPcOnly() local
DRegsArm.cpp99 bool RegsArm::StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) { in StepIfSignalHandler()
DRegsX86_64.cpp135 bool RegsX86_64::StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) { in StepIfSignalHandler()
DRegsX86.cpp115 bool RegsX86::StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) { in StepIfSignalHandler()
DRegsRiscv64.cpp165 bool RegsRiscv64::StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) { in StepIfSignalHandler()
DRegsArm64.cpp154 bool RegsArm64::StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) { in StepIfSignalHandler()
/system/memory/libmeminfo/libelf64/tests/page_size_16kb/
Delf_alignment_test.cpp63 static void LoadAlignmentCb(const android::elf64::Elf64Binary& elf) { in LoadAlignmentCb()
/system/unwinding/libunwindstack/tests/fuzz/
DUnwinderComponentCreator.cpp56 const char* name, Elf* elf = nullptr) { in ElfAddMapInfo()
65 void ElfPushFakeFunctionData(FuzzedDataProvider* data_provider, ElfInterfaceFake* elf) { in ElfPushFakeFunctionData()
90 ElfFake* elf = new ElfFake(memory); in PopulateElfFake() local

12