Home
last modified time | relevance | path

Searched refs:elf_magic (Results 1 – 2 of 2) sorted by relevance

/system/extras/simpleperf/
Dread_elf.cpp48 static const char elf_magic[] = {0x7f, 'E', 'L', 'F'}; in IsValidElfFile() local
50 return android::base::ReadFully(fd, buf, 4) && memcmp(buf, elf_magic, 4) == 0; in IsValidElfFile()
/system/core/libbacktrace/
DBacktraceOffline.cpp628 static const char elf_magic[] = {0x7f, 'E', 'L', 'F'}; in IsValidElfPath() local
644 return memcmp(buf, elf_magic, 4) == 0; in IsValidElfPath()