Home
last modified time | relevance | path

Searched refs:ElfFile (Results 1 – 8 of 8) sorted by relevance

/system/extras/simpleperf/
Dread_elf.h72 class ElfFile {
75 static std::unique_ptr<ElfFile> Open(const std::string& filename);
76 static std::unique_ptr<ElfFile> Open(const std::string& filename, ElfStatus* status) { in Open()
80 static std::unique_ptr<ElfFile> Open(const std::string& filename,
82 static std::unique_ptr<ElfFile> Open(const char* data, size_t size, ElfStatus* status);
83 virtual ~ElfFile() {} in ~ElfFile()
99 ElfFile() {} in ElfFile() function
Dread_elf_test.cpp68 auto elf = ElfFile::Open(GetTestData(ELF_FILE), &status); in TEST()
78 auto elf = ElfFile::Open(GetTestData(path), &status); in TEST()
109 auto elf = ElfFile::Open(GetTestData(ELF_FILE), &elf_file_build_id, &status); in TEST()
120 auto elf = ElfFile::Open(GetTestData(ELF_FILE), &status); in TEST()
129 elf = ElfFile::Open(GetTestData(ELF_FILE), &build_id, &status); in TEST()
140 auto elf = ElfFile::Open(GetTestData(ELF_FILE), &build_id, &status); in TEST()
148 auto elf = ElfFile::Open(GetTestData(path), &native_lib_build_id, &status); in TEST()
158 auto elf = ElfFile::Open(GetTestData(ELF_FILE_WITH_MINI_DEBUG_INFO), &status); in TEST()
175 ElfFile::Open(path, &status); in TEST()
189 auto elf = ElfFile::Open(GetTestData(ELF_FILE), &status); in TEST()
[all …]
Dread_elf.cpp315 class ElfFileImpl<llvm::object::ELFObjectFile<ELFT>> : public ElfFile {
389 ElfFile::Open(decompressed_data.data(), decompressed_data.size(), &result); in ParseSymbols()
460 std::unique_ptr<ElfFile> CreateElfFileImpl(BinaryWrapper&& wrapper, ElfStatus* status) { in CreateElfFileImpl()
462 return std::unique_ptr<ElfFile>( in CreateElfFileImpl()
466 return std::unique_ptr<ElfFile>( in CreateElfFileImpl()
477 std::unique_ptr<ElfFile> ElfFile::Open(const std::string& filename) { in Open()
486 std::unique_ptr<ElfFile> ElfFile::Open(const std::string& filename, in Open()
528 std::unique_ptr<ElfFile> ElfFile::Open(const char* data, size_t size, ElfStatus* status) { in Open()
Ddso.cpp93 auto elf = ElfFile::Open(path, &status); in CollectBuildIdInDir()
112 auto elf = ElfFile::Open(path, &status); in CheckDebugFilePath()
508 auto elf = ElfFile::Open(debug_file_path_, &build_id, &status); in GetMinExecutableVaddr()
566 auto elf = ElfFile::Open(debug_file_path_, &build_id, &status); in LoadSymbols()
604 auto elf = ElfFile::Open(vmlinux_, &build_id, &status); in LoadSymbols()
675 auto elf = ElfFile::Open(debug_file_path_, &build_id, &status); in LoadSymbols()
747 auto elf = ElfFile::Open(dso_path, &status); in GetBuildIdFromDsoPath()
DETMDecoder.cpp281 auto res = elf_map_.emplace(dso, ElfFile::Open(dso->GetDebugFilePath(), &status)); in GetMemoryBuffer()
295 std::unordered_map<Dso*, std::unique_ptr<ElfFile>> elf_map_;
783 elf_ = ElfFile::Open(dso->GetDebugFilePath(), &status); in Init()
836 std::unique_ptr<ElfFile> elf_;
DJITDebugReader.cpp489 auto elf = ElfFile::Open(art_lib_path, &status); in GetDescriptorsLocation()
699 auto elf = ElfFile::Open(data.data(), jit_entry.symfile_size, &status); in ReadJITCodeDebugInfo()
Dcmd_record.cpp1853 std::unique_ptr<ElfFile> elf; in ParseOneAddrFilter()
1868 if (auto elf = ElfFile::Open(args[2]); in ParseOneAddrFilter()
1879 if (auto elf = ElfFile::Open(args[1]); elf) { in ParseOneAddrFilter()
1894 if (auto elf = ElfFile::Open(args[3]); elf && elf->VaddrToOff(addr1, &off1) && in ParseOneAddrFilter()
Dcmd_record_test.cpp1023 auto elf = ElfFile::Open(sleep_exec_path); in TEST()