Home
last modified time | relevance | path

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

12

/system/unwinding/libunwindstack/tests/
DElfTest.cpp114 Elf elf(memory_); in TEST_F() local
121 Elf elf(memory_); in TEST_F() local
148 ElfFake elf(memory_); in TEST_F() local
167 Elf elf(memory_); in TEST_F() local
180 Elf elf(memory_); in TEST_F() local
193 Elf elf(memory_); in TEST_F() local
205 Elf elf(memory_); in TEST_F() local
217 Elf elf(memory_); in TEST_F() local
229 Elf elf(memory_); in TEST_F() local
241 Elf elf(memory_); in TEST_F() local
[all …]
DMapInfoGetElfTest.cpp76 Elf* elf = info.GetElf(process_memory_, ARCH_ARM); in TEST_F() local
88 Elf* elf = info.GetElf(process_memory_, ARCH_ARM); in TEST_F() local
108 Elf* elf = info.GetElf(process_memory_, ARCH_ARM64); in TEST_F() local
122 Elf* elf = info.GetElf(process_memory_, ARCH_X86); in TEST_F() local
135 Elf* elf = info.GetElf(process_memory_, ARCH_ARM); in TEST_F() local
151 Elf* elf = info.GetElf(process_memory_, ARCH_ARM64); in TEST_F() local
166 Elf* elf = info.GetElf(process_memory_, ARCH_ARM); in TEST_F() local
196 Elf* elf = info.GetElf(process_memory_, ARCH_ARM); in TEST_F() local
225 Elf* elf = info.GetElf(process_memory_, ARCH_ARM); in TEST_F() local
258 Elf* elf = info.GetElf(process_memory_, ARCH_ARM); in TEST_F() local
[all …]
DJitDebugTest.cpp41 ElfFake* elf = new ElfFake(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.cpp182 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in SinglePtLoad() local
220 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in MultipleExecutablePtLoads() local
287 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in MultipleExecutablePtLoadsIncrementsNotSizeOfPhdr() local
356 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in NonExecutablePtLoads() local
413 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in ManyPhdrs() local
580 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in Soname() local
601 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in SonameAfterDtNull() local
622 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in SonameSize() local
645 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in SonameMissingMap() local
666 ElfType elf(&memory_); in InitHeadersEhFrameTest() local
[all …]
DVerifyBionicTerminationTest.cpp72 Elf elf(Memory::CreateFileMemory(frame.map_name, 0).release()); in VerifyReturnAddress() local
DMapInfoTest.cpp62 ElfFake* elf = new ElfFake(nullptr); in TEST() local
/system/extras/simpleperf/
Dread_elf_test.cpp68 auto elf = ElfFile::Open(GetTestData(ELF_FILE), &status); in TEST() local
78 auto elf = ElfFile::Open(GetTestData(path), &status); in TEST() local
109 auto elf = ElfFile::Open(GetTestData(ELF_FILE), &elf_file_build_id, &status); in TEST() local
120 auto elf = ElfFile::Open(GetTestData(ELF_FILE), &status); in TEST() local
140 auto elf = ElfFile::Open(GetTestData(ELF_FILE), &build_id, &status); in TEST() local
148 auto elf = ElfFile::Open(GetTestData(path), &native_lib_build_id, &status); in TEST() local
158 auto elf = ElfFile::Open(GetTestData(ELF_FILE_WITH_MINI_DEBUG_INFO), &status); in TEST() local
189 auto elf = ElfFile::Open(GetTestData(ELF_FILE), &status); in TEST() local
200 auto elf = ElfFile::Open(elf_path, &status); in TEST() local
216 auto elf = ElfFile::Open(GetTestData("libc.so"), &status); in TEST() local
[all …]
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
Dread_elf.cpp260 void AddSymbolForPltSection(const llvm::object::ELFObjectFile<ELFT>* elf, in AddSymbolForPltSection()
292 void CheckSymbolSections(const llvm::object::ELFObjectFile<ELFT>* elf, bool* has_symtab, in CheckSymbolSections()
493 auto elf = Open(filename, &status); in Open() local
505 EmbeddedElf* elf = ApkInspector::FindElfInApkByName(std::get<1>(tuple), std::get<2>(tuple)); in Open() local
529 auto elf = CreateElfFileImpl(std::move(wrapper), status); in Open() local
Ddso.cpp100 auto elf = ElfFile::Open(path, &status); in CollectBuildIdInDir() local
119 auto elf = ElfFile::Open(path, &status); in CheckDebugFilePath() local
531 auto elf = ElfFile::Open(debug_file_path_, &build_id, &status); in GetMinExecutableVaddr() local
589 auto elf = ElfFile::Open(debug_file_path_, &build_id, &status); in LoadSymbolsImpl() local
683 if (auto elf = ElfFile::Open(debug_file_path_, &status); elf) { in ReadSymbolsFromDebugFile() local
751 if (auto elf = ElfFile::Open(debug_file_path_, &status); elf) { in ParseKernelStartAddr() local
809 auto elf = ElfFile::Open(debug_file_path_, &build_id, &status); in LoadSymbolsImpl() local
959 auto elf = ElfFile::Open(dso_path, &status); in GetBuildIdFromDsoPath() local
/system/unwinding/libunwindstack/tools/
Dunwind_info.cpp41 void DumpArm(Elf* elf, ElfInterfaceArm* interface) { in DumpArm()
85 void DumpDwarfSection(Elf* elf, DwarfSection* section, uint64_t) { in DumpDwarfSection()
109 Elf elf(Memory::CreateFileMemory(file, offset).release()); in GetElfInfo() local
Dunwind_symbols.cpp62 unwindstack::Elf elf(unwindstack::Memory::CreateFileMemory(argv[1], 0).release()); in main() local
/system/unwinding/libunwindstack/benchmarks/
DElfBenchmark.cpp48 unwindstack::Elf elf(file_memory.release()); in BenchmarkElfCreate() local
107 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()
DUnwinder.cpp97 FrameData* Unwinder::FillInFrame(MapInfo* map_info, Elf* elf, uint64_t rel_pc, in FillInFrame()
173 Elf* elf; in Unwind() local
456 Elf* elf = map_info->GetElf(process_memory, arch); in BuildFrameFromPcOnly() local
DRegs.cpp124 uint64_t GetPcAdjustment(uint64_t rel_pc, Elf* elf, ArchEnum arch) { in GetPcAdjustment()
DGlobal.cpp83 Elf* elf = map_zero->GetElf(memory_, arch()); in FindAndReadVariable() local
DLocalUnwinder.cpp89 Elf* elf = map_info->GetElf(process_memory_, arch); in Unwind() local
DRegsMips64.cpp122 bool RegsMips64::StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) { in StepIfSignalHandler()
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()
DRegsMips.cpp124 bool RegsMips::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()
/system/unwinding/libbacktrace/
DUnwindStackMap.cpp134 unwindstack::Elf* elf = map_info->GetElf(process_memory(), arch_); in GetFunctionName() local
/system/unwinding/libunwindstack/tests/fuzz/
DUnwinderComponentCreator.cpp64 const char* name, Elf* elf = nullptr) { in ElfAddMapInfo()
73 void ElfPushFakeFunctionData(FuzzedDataProvider* data_provider, ElfInterfaceFake* elf) { in ElfPushFakeFunctionData()
97 ElfFake* elf = new ElfFake(new MemoryFake); in PopulateElfFake() local

12