Searched refs:ElfStatus (Results 1 – 9 of 9) sorted by relevance
/system/extras/simpleperf/ |
D | read_elf_test.cpp | 67 ElfStatus status; in TEST() 69 ASSERT_EQ(status, ElfStatus::NO_ERROR); in TEST() 70 ASSERT_EQ(ElfStatus::NO_ERROR, elf->GetBuildId(&build_id)); in TEST() 76 ElfStatus status; in TEST() 79 ASSERT_EQ(status, ElfStatus::NO_ERROR); in TEST() 80 ASSERT_EQ(ElfStatus::NO_ERROR, elf->GetBuildId(&build_id)); in TEST() 108 ElfStatus status; in TEST() 110 ASSERT_EQ(ElfStatus::NO_ERROR, status); in TEST() 111 ASSERT_EQ(ElfStatus::NO_ERROR, in TEST() 118 ElfStatus status; in TEST() [all …]
|
D | read_elf.cpp | 49 std::ostream& operator<<(std::ostream& os, const ElfStatus& status) { in operator <<() 51 case ElfStatus::NO_ERROR: in operator <<() 54 case ElfStatus::FILE_NOT_FOUND: in operator <<() 57 case ElfStatus::READ_FAILED: in operator <<() 60 case ElfStatus::FILE_MALFORMED: in operator <<() 63 case ElfStatus::NO_SYMBOL_TABLE: in operator <<() 66 case ElfStatus::NO_BUILD_ID: in operator <<() 69 case ElfStatus::BUILD_ID_MISMATCH: in operator <<() 72 case ElfStatus::SECTION_NOT_FOUND: in operator <<() 84 ElfStatus IsValidElfFile(int fd, uint64_t file_offset) { in IsValidElfFile() [all …]
|
D | read_elf.h | 35 enum class ElfStatus { enum 46 std::ostream& operator<<(std::ostream& os, const ElfStatus& status); 48 ElfStatus GetBuildIdFromNoteFile(const std::string& filename, BuildId* build_id); 83 static std::unique_ptr<ElfFile> Open(const std::string& filename, ElfStatus* status) { in Open() 88 const BuildId* expected_build_id, ElfStatus* status); 89 static std::unique_ptr<ElfFile> Open(const char* data, size_t size, ElfStatus* status); 96 virtual ElfStatus GetBuildId(BuildId* build_id) = 0; 99 virtual ElfStatus ParseSymbols(const ParseSymbolCallback& callback) = 0; 102 virtual ElfStatus ReadSection(const std::string& section_name, std::string* content) = 0; 111 ElfStatus IsValidElfFile(int fd, uint64_t file_offset = 0);
|
D | dso.cpp | 99 ElfStatus status; in CollectBuildIdInDir() 101 if (status == ElfStatus::NO_ERROR && elf->GetBuildId(&build_id) == ElfStatus::NO_ERROR) { in CollectBuildIdInDir() 118 ElfStatus status; in CheckDebugFilePath() 125 if (status != ElfStatus::NO_ERROR && status != ElfStatus::NO_BUILD_ID) { in CheckDebugFilePath() 422 ElfStatus result, const std::string& path, const std::string& debug_file_path, in ReportReadElfSymbolResult() 424 if (result == ElfStatus::NO_ERROR) { in ReportReadElfSymbolResult() 426 } else if (result == ElfStatus::NO_SYMBOL_TABLE) { in ReportReadElfSymbolResult() 530 ElfStatus status; in GetMinExecutableVaddr() 588 ElfStatus status; in LoadSymbolsImpl() 614 ElfStatus status; in KernelDso() [all …]
|
D | environment.cpp | 191 ElfStatus result = GetBuildIdFromNoteFile("/sys/kernel/notes", build_id); in GetKernelBuildId() 192 if (result != ElfStatus::NO_ERROR) { in GetKernelBuildId() 195 return result == ElfStatus::NO_ERROR; in GetKernelBuildId() 201 return GetBuildIdFromNoteFile(notefile, build_id) == ElfStatus::NO_ERROR; in GetModuleBuildId()
|
D | read_apk.cpp | 100 if (IsValidElfFile(ahelper->GetFd(), found_entry.offset) != ElfStatus::NO_ERROR) { in FindElfInApkByOffsetWithoutCache()
|
D | JITDebugReader.cpp | 491 ElfStatus status; in GetDescriptorsLocation() 697 ElfStatus status; in ReadJITCodeDebugInfo()
|
D | ETMDecoder.cpp | 289 ElfStatus status; in GetMemoryBuffer() 789 ElfStatus status; in Init()
|
D | cmd_inject.cpp | 481 ElfStatus status; in GetFirstLoadSegmentVaddr()
|