Searched refs:ElfFile (Results 1 – 9 of 9) sorted by relevance
/system/extras/simpleperf/ |
D | read_elf.h | 79 class ElfFile { 82 static std::unique_ptr<ElfFile> Open(const std::string& filename); 83 static std::unique_ptr<ElfFile> Open(const std::string& filename, ElfStatus* status) { in Open() 87 static std::unique_ptr<ElfFile> Open(const std::string& filename, 89 static std::unique_ptr<ElfFile> Open(const char* data, size_t size, ElfStatus* status); 90 virtual ~ElfFile() {} in ~ElfFile() 107 ElfFile() {} in ElfFile() function
|
D | read_elf_test.cpp | 68 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 …]
|
D | read_elf.cpp | 315 class ElfFileImpl<llvm::object::ELFObjectFile<ELFT>> : public ElfFile { 405 ElfFile::Open(decompressed_data.data(), decompressed_data.size(), &result); in ParseSymbols() 476 std::unique_ptr<ElfFile> CreateElfFileImpl(BinaryWrapper&& wrapper, ElfStatus* status) { in CreateElfFileImpl() 478 return std::unique_ptr<ElfFile>( in CreateElfFileImpl() 482 return std::unique_ptr<ElfFile>( in CreateElfFileImpl() 491 std::unique_ptr<ElfFile> ElfFile::Open(const std::string& filename) { in Open() 500 std::unique_ptr<ElfFile> ElfFile::Open(const std::string& filename, in Open() 544 std::unique_ptr<ElfFile> ElfFile::Open(const char* data, size_t size, ElfStatus* status) { in Open()
|
D | dso.cpp | 100 auto elf = ElfFile::Open(path, &status); in CollectBuildIdInDir() 119 auto elf = ElfFile::Open(path, &status); in CheckDebugFilePath() 531 auto elf = ElfFile::Open(debug_file_path_, &build_id, &status); in GetMinExecutableVaddr() 589 auto elf = ElfFile::Open(debug_file_path_, &build_id, &status); in LoadSymbolsImpl() 615 if (ElfFile::Open(vmlinux_, &build_id, &status)) { in KernelDso() 683 if (auto elf = ElfFile::Open(debug_file_path_, &status); elf) { in ReadSymbolsFromDebugFile() 751 if (auto elf = ElfFile::Open(debug_file_path_, &status); elf) { in ParseKernelStartAddr() 809 auto elf = ElfFile::Open(debug_file_path_, &build_id, &status); in LoadSymbolsImpl() 959 auto elf = ElfFile::Open(dso_path, &status); in GetBuildIdFromDsoPath()
|
D | ETMDecoder.cpp | 290 auto res = elf_map_.emplace(dso, ElfFile::Open(dso->GetDebugFilePath(), &status)); in GetMemoryBuffer() 304 std::unordered_map<Dso*, std::unique_ptr<ElfFile>> elf_map_; 790 elf_ = ElfFile::Open(dso->GetDebugFilePath(), &status); in Init() 860 std::unique_ptr<ElfFile> elf_;
|
D | cmd_record.cpp | 1947 std::unique_ptr<ElfFile> elf = ElfFile::Open(filename); in DumpDebugUnwindFeature() 2029 if (auto elf = ElfFile::Open(p); elf && elf->VaddrToOff(addr1, &off1) && Realpath(p, &path)) { in ParseOneAddrFilter() 2043 if (auto elf = ElfFile::Open(p); elf && elf->VaddrToOff(addr1, &off1) && Realpath(p, &path)) { in ParseOneAddrFilter() 2058 if (auto elf = ElfFile::Open(p); elf && elf->VaddrToOff(addr1, &off1) && in ParseOneAddrFilter() 2068 if (auto elf = ElfFile::Open(path); elf) { in ParseOneAddrFilter()
|
D | JITDebugReader.cpp | 492 auto elf = ElfFile::Open(art_lib_path, &status); in GetDescriptorsLocation() 698 auto elf = ElfFile::Open(data.data(), jit_entry.symfile_size, &status); in ReadJITCodeDebugInfo()
|
D | cmd_inject.cpp | 482 if (auto elf = ElfFile::Open(dso->GetDebugFilePath(), &status); elf) { in GetFirstLoadSegmentVaddr()
|
D | cmd_record_test.cpp | 990 auto elf = ElfFile::Open(sleep_exec_path); in TEST()
|