Searched refs:ElfMagic (Results 1 – 4 of 4) sorted by relevance
/external/llvm/include/llvm/Support/ |
D | ELF.h | 46 static const char ElfMagic[] = { 0x7f, 'E', 'L', 'F', '\0' }; variable 79 return (memcmp(e_ident, ElfMagic, strlen(ElfMagic))) == 0; in checkMagic() 103 return (memcmp(e_ident, ElfMagic, strlen(ElfMagic))) == 0; in checkMagic()
|
/external/lldb/source/Plugins/ObjectFile/ELF/ |
D | ELFHeader.cpp | 145 return memcmp(magic, ElfMagic, strlen(ElfMagic)) == 0; in MagicBytesMatch()
|
/external/llvm/include/llvm/Object/ |
D | ELFTypes.h | 426 return (memcmp(e_ident, ELF::ElfMagic, strlen(ELF::ElfMagic))) == 0;
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldELF.cpp | 1530 if (Buffer->getBufferSize() < strlen(ELF::ElfMagic)) in isCompatibleFormat() 1532 return (memcmp(Buffer->getBufferStart(), ELF::ElfMagic, in isCompatibleFormat() 1533 strlen(ELF::ElfMagic))) == 0; in isCompatibleFormat()
|