Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dread_elf_test.cpp141 TEST(read_elf, IsValidElfPath) { in TEST() argument
142 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()
Dread_elf.cpp88 ElfStatus IsValidElfPath(const std::string& filename) { in IsValidElfPath() function
222 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()
Dread_elf.h79 ElfStatus IsValidElfPath(const std::string& filename);
/system/core/libbacktrace/
DBacktraceOffline.cpp752 static bool IsValidElfPath(const std::string& filename) { in IsValidElfPath() function
859 if (!IsValidElfPath(filename)) { in ReadDebugFrameFromFile()