Searched refs:IsValidElfPath (Results 1 – 3 of 3) sorted by relevance
140 TEST(read_elf, IsValidElfPath) { in TEST() argument141 ASSERT_NE(ElfStatus::NO_ERROR, IsValidElfPath("/dev/zero")); in TEST()143 ASSERT_EQ(ElfStatus::READ_FAILED, IsValidElfPath(tmp_file.path)); in TEST()145 ASSERT_EQ(ElfStatus::FILE_MALFORMED, IsValidElfPath(tmp_file.path)); in TEST()146 ASSERT_EQ(ElfStatus::NO_ERROR, IsValidElfPath(GetTestData(ELF_FILE))); in TEST()
91 ElfStatus IsValidElfPath(const std::string& filename);
89 ElfStatus IsValidElfPath(const std::string& filename) { in IsValidElfPath() function228 ElfStatus result = IsValidElfPath(filename); in GetBuildIdFromElfFile()441 ElfStatus result = IsValidElfPath(filename); in ParseSymbolsFromElfFile()536 ElfStatus result = IsValidElfPath(filename); in ReadMinExecutableVirtualAddressFromElfFile()569 ElfStatus result = IsValidElfPath(filename); in ReadSectionFromElfFile()