Home
last modified time | relevance | path

Searched refs:IsValidElfPath (Results 1 – 3 of 3) sorted by relevance

/system/extras/simpleperf/
Dread_elf_test.cpp140 TEST(read_elf, IsValidElfPath) { in TEST() argument
141 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()
Dread_elf.h91 ElfStatus IsValidElfPath(const std::string& filename);
Dread_elf.cpp89 ElfStatus IsValidElfPath(const std::string& filename) { in IsValidElfPath() function
228 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()