Home
last modified time | relevance | path

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

12

/system/core/libunwindstack/tests/
DElfTest.cpp113 Elf elf(memory_); in TEST_F() local
120 Elf elf(memory_); in TEST_F() local
146 Elf elf(memory_); in TEST_F() local
159 Elf elf(memory_); in TEST_F() local
172 Elf elf(memory_); in TEST_F() local
184 Elf elf(memory_); in TEST_F() local
196 Elf elf(memory_); in TEST_F() local
208 Elf elf(memory_); in TEST_F() local
220 Elf elf(memory_); in TEST_F() local
232 Elf elf(memory_); in TEST_F() local
[all …]
DMapInfoGetElfTest.cpp74 Elf* elf = info.GetElf(process_memory_, ARCH_ARM); in TEST_F() local
86 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
120 Elf* elf = info.GetElf(process_memory_, ARCH_X86); in TEST_F() local
133 Elf* elf = info.GetElf(process_memory_, ARCH_ARM); in TEST_F() local
149 Elf* elf = info.GetElf(process_memory_, ARCH_ARM64); in TEST_F() local
164 Elf* elf = info.GetElf(process_memory_, ARCH_ARM); in TEST_F() local
194 Elf* elf = info.GetElf(process_memory_, ARCH_ARM); in TEST_F() local
223 Elf* elf = info.GetElf(process_memory_, ARCH_ARM); in TEST_F() local
256 Elf* elf = info.GetElf(process_memory_, ARCH_ARM); in TEST_F() local
[all …]
DJitDebugTest.cpp41 ElfFake* elf = new ElfFake(memory); in CreateFakeElf() local
245 Elf* elf = jit_debug_->GetElf(maps_.get(), 0x1500); in TEST_F() local
251 Elf* elf = jit_debug_->GetElf(maps_.get(), 0x1500); in TEST_F() local
258 Elf* elf = jit_debug_->GetElf(maps_.get(), 0x1500); in TEST_F() local
267 Elf* elf = jit_debug_->GetElf(maps_.get(), 0x1500); in TEST_F() local
276 Elf* elf = jit_debug_->GetElf(maps_.get(), 0x1500); in TEST_F() local
287 Elf* elf = jit_debug_->GetElf(maps_.get(), 0x1500); in TEST_F() local
297 Elf* elf = jit_debug_->GetElf(maps_.get(), 0x1500); in TEST_F() local
337 Elf* elf = jit_debug_->GetElf(maps_.get(), 0x1500); in TEST_F() local
355 Elf* elf = jit_debug_->GetElf(maps_.get(), 0x1500); in TEST_F() local
DElfInterfaceTest.cpp174 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in SinglePtLoad() local
212 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in MultipleExecutablePtLoads() local
279 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in MultipleExecutablePtLoadsIncrementsNotSizeOfPhdr() local
348 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in NonExecutablePtLoads() local
405 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in ManyPhdrs() local
572 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in Soname() local
593 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in SonameAfterDtNull() local
614 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in SonameSize() local
637 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in SonameMissingMap() local
658 ElfType elf(&memory_); in InitHeadersEhFrameTest() local
[all …]
DMapInfoTest.cpp60 ElfFake* elf = new ElfFake(nullptr); in TEST() local
DVerifyBionicTerminationTest.cpp72 Elf elf(Memory::CreateFileMemory(frame.map_name, 0).release()); in VerifyReturnAddress() 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.cpp45 std::unique_ptr<EmbeddedElf> elf = FindElfInApkByOffsetWithoutCache(apk_path, file_offset); in FindElfInApkByOffset() local
61 std::unique_ptr<EmbeddedElf> elf = FindElfInApkByNameWithoutCache(apk_path, entry_name); in FindElfInApkByName() local
Ddso.cpp93 auto elf = ElfFile::Open(path, &status); in CollectBuildIdInDir() local
112 auto elf = ElfFile::Open(path, &status); in CheckDebugFilePath() local
508 auto elf = ElfFile::Open(debug_file_path_, &build_id, &status); in GetMinExecutableVaddr() local
566 auto elf = ElfFile::Open(debug_file_path_, &build_id, &status); in LoadSymbols() local
604 auto elf = ElfFile::Open(vmlinux_, &build_id, &status); in LoadSymbols() local
675 auto elf = ElfFile::Open(debug_file_path_, &build_id, &status); in LoadSymbols() local
747 auto elf = ElfFile::Open(dso_path, &status); in GetBuildIdFromDsoPath() local
Dread_elf.cpp258 void AddSymbolForPltSection(const llvm::object::ELFObjectFile<ELFT>* elf, in AddSymbolForPltSection()
290 void CheckSymbolSections(const llvm::object::ELFObjectFile<ELFT>* elf, in CheckSymbolSections()
479 auto elf = Open(filename, &status); in Open() local
491 EmbeddedElf* elf = ApkInspector::FindElfInApkByName(std::get<1>(tuple), std::get<2>(tuple)); in Open() local
513 auto elf = CreateElfFileImpl(std::move(wrapper), status); in Open() local
/system/core/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/core/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/core/libunwindstack/
DUnwinder.cpp95 FrameData* Unwinder::FillInFrame(MapInfo* map_info, Elf* elf, uint64_t rel_pc, in FillInFrame()
161 Elf* elf; in Unwind() local
409 Elf* elf = map_info->GetElf(GetProcessMemory(), arch); in BuildFrameFromPcOnly() local
DRegs.cpp124 uint64_t GetPcAdjustment(uint64_t rel_pc, Elf* elf, ArchEnum arch) { in GetPcAdjustment()
DGlobal.cpp82 Elf* elf = map_zero->GetElf(memory_, arch()); in FindAndReadVariable() local
DLocalUnwinder.cpp104 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()
DJitDebug.cpp79 for (auto* elf : elf_list_) { in ~JitDebug() local
204 Elf* elf = new Elf(new MemoryRange(memory_, start, size, 0)); in GetElf() local
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()
DRegsMips.cpp124 bool RegsMips::StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) { in StepIfSignalHandler()
/system/core/libbacktrace/
DUnwindStackMap.cpp120 unwindstack::Elf* elf = map_info->GetElf(process_memory(), arch_); in GetFunctionName() local
/system/core/libunwindstack/tests/fuzz/
DUnwinderComponentCreator.cpp59 const char* name, Elf* elf = nullptr) { in ElfAddMapInfo()
68 void ElfPushFakeFunctionData(FuzzedDataProvider* data_provider, ElfInterfaceFake* elf) { in ElfPushFakeFunctionData()
92 ElfFake* elf = new ElfFake(new MemoryFake); in PopulateElfFake() local

12