Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dread_elf_test.cpp87 TEST(read_elf, IsValidElfPath) { in TEST() argument
88 ASSERT_FALSE(IsValidElfPath("/dev/zero")); in TEST()
89 ASSERT_FALSE(IsValidElfPath("/sys/devices/system/cpu/online")); in TEST()
90 ASSERT_TRUE(IsValidElfPath(GetTestData(ELF_FILE))); in TEST()
Dread_elf.cpp53 bool IsValidElfPath(const std::string& filename) { in IsValidElfPath() function
184 if (!IsValidElfPath(filename)) { in GetBuildIdFromElfFile()
288 if (!IsValidElfPath(filename)) { in ParseSymbolsFromElfFile()
333 if (!IsValidElfPath(filename)) { in ReadMinExecutableVirtualAddressFromElfFile()
378 if (!IsValidElfPath(filename)) { in ReadSectionFromElfFile()
Dread_elf.h60 bool IsValidElfPath(const std::string& filename);
/system/core/libbacktrace/
DBacktraceOffline.cpp627 static bool IsValidElfPath(const std::string& filename) { in IsValidElfPath() function
734 if (!IsValidElfPath(filename)) { in ReadDebugFrameFromFile()