Searched refs:IsValidElfPath (Results 1 – 4 of 4) sorted by relevance
141 TEST(read_elf, IsValidElfPath) { in TEST() argument142 ASSERT_NE(ElfStatus::NO_ERROR, IsValidElfPath("/dev/zero")); in TEST()144 ASSERT_EQ(ElfStatus::READ_FAILED, IsValidElfPath(tmp_file.path)); in TEST()146 ASSERT_EQ(ElfStatus::FILE_MALFORMED, IsValidElfPath(tmp_file.path)); in TEST()147 ASSERT_EQ(ElfStatus::NO_ERROR, IsValidElfPath(GetTestData(ELF_FILE))); in TEST()
88 ElfStatus IsValidElfPath(const std::string& filename) { in IsValidElfPath() function222 ElfStatus result = IsValidElfPath(filename); in GetBuildIdFromElfFile()403 ElfStatus result = IsValidElfPath(filename); in ParseSymbolsFromElfFile()452 ElfStatus result = IsValidElfPath(filename); in ReadMinExecutableVirtualAddressFromElfFile()477 ElfStatus result = IsValidElfPath(filename); in ReadSectionFromElfFile()
79 ElfStatus IsValidElfPath(const std::string& filename);
752 static bool IsValidElfPath(const std::string& filename) { in IsValidElfPath() function859 if (!IsValidElfPath(filename)) { in ReadDebugFrameFromFile()