/system/unwinding/libunwindstack/tests/ |
D | ElfTest.cpp | 115 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 …]
|
D | MapInfoGetElfTest.cpp | 76 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 …]
|
D | JitDebugTest.cpp | 41 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
|
D | ElfInterfaceTest.cpp | 183 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 …]
|
D | VerifyBionicTerminationTest.cpp | 76 Elf elf(file_memory); in VerifyReturnAddress() local
|
D | MapInfoTest.cpp | 128 ElfFake* elf = new ElfFake(empty); in TEST() local
|
/system/extras/simpleperf/ |
D | read_elf_test.cpp | 70 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 …]
|
D | read_elf.cpp | 217 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
|
D | read_apk.cpp | 47 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
|
D | dso.cpp | 100 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/ |
D | unwind_info.cpp | 43 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
|
D | unwind_symbols.cpp | 62 unwindstack::Elf elf(elf_memory); in main() local
|
D | unwind_reg_info.cpp | 182 Elf elf(elf_memory); in GetInfo() local
|
/system/unwinding/libunwindstack/benchmarks/ |
D | ElfBenchmark.cpp | 43 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/ |
D | JitDebug.cpp | 28 uint64_t size, /*out*/ std::shared_ptr<Elf>& elf) { in Load()
|
D | Global.cpp | 84 Elf* elf = map_zero->GetElf(memory_, arch()); in FindAndReadVariable() local
|
D | Regs.cpp | 175 uint64_t GetPcAdjustment(uint64_t rel_pc, Elf* elf, ArchEnum arch) { in GetPcAdjustment()
|
D | Unwinder.cpp | 146 Elf* elf; in Unwind() local 429 Elf* elf = map_info->GetElf(process_memory, arch); in BuildFrameFromPcOnly() local
|
D | RegsArm.cpp | 99 bool RegsArm::StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) { in StepIfSignalHandler()
|
D | RegsX86_64.cpp | 135 bool RegsX86_64::StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) { in StepIfSignalHandler()
|
D | RegsX86.cpp | 115 bool RegsX86::StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) { in StepIfSignalHandler()
|
D | RegsRiscv64.cpp | 165 bool RegsRiscv64::StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) { in StepIfSignalHandler()
|
D | RegsArm64.cpp | 154 bool RegsArm64::StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) { in StepIfSignalHandler()
|
/system/memory/libmeminfo/libelf64/tests/page_size_16kb/ |
D | elf_alignment_test.cpp | 63 static void LoadAlignmentCb(const android::elf64::Elf64Binary& elf) { in LoadAlignmentCb()
|
/system/unwinding/libunwindstack/tests/fuzz/ |
D | UnwinderComponentCreator.cpp | 56 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
|