Searched refs:elf_magic (Results 1 – 2 of 2) sorted by relevance
/system/extras/simpleperf/ |
D | read_elf.cpp | 77 static const char elf_magic[] = {0x7f, 'E', 'L', 'F'}; in IsValidElfFile() local 82 if (memcmp(buf, elf_magic, 4) != 0) { in IsValidElfFile()
|
/system/core/libbacktrace/ |
D | BacktraceOffline.cpp | 753 static const char elf_magic[] = {0x7f, 'E', 'L', 'F'}; in IsValidElfPath() local 769 return memcmp(buf, elf_magic, 4) == 0; in IsValidElfPath()
|