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
179 Elf elf(memory_); in TEST_F() local
191 Elf elf(memory_); in TEST_F() local
203 Elf elf(memory_); in TEST_F() local
215 Elf elf(memory_); in TEST_F() local
227 Elf elf(memory_); in TEST_F() local
239 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(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_info->name(), 0).release()); in VerifyReturnAddress() local
DMapInfoTest.cpp127 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
572 auto elf = ElfFile::Open(GetDebugFilePath(), &build_id, &status); in GetMinExecutableVaddr() local
637 auto elf = ElfFile::Open(GetDebugFilePath(), &build_id, &status); in LoadSymbolsImpl() local
725 auto elf = ElfFile::Open(GetDebugFilePath(), &status); in ReadSymbolsFromDebugFile() local
811 if (auto elf = ElfFile::Open(GetDebugFilePath(), &status); elf) { in ParseKernelStartAddr() local
872 auto elf = ElfFile::Open(GetDebugFilePath(), &build_id, &status); in LoadSymbolsImpl() local
1021 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()
106 Elf elf(Memory::CreateFileMemory(file, offset).release()); in GetElfInfo() local
Dunwind_symbols.cpp59 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
112 unwindstack::Elf* elf = build_id_map_info->GetElf(std::shared_ptr<unwindstack::Memory>(), in BM_elf_get_build_id_from_object() local
DSymbolBenchmark.cpp48 unwindstack::Elf elf(unwindstack::Memory::CreateFileMemory(elf_file, 0).release()); in BenchmarkSymbolLookup() 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.cpp173 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
DRegsRiscv64.cpp118 bool RegsRiscv64::StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) { in StepIfSignalHandler()
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()
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/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