Searched refs:ElfMagic (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | ELF.cpp | 79 if (memcmp(Buffer.data(), ELF::ElfMagic, strlen(ELF::ElfMagic)) != 0) in createLinkGraphFromELFObject()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | ELF.h | 45 static const char ElfMagic[] = {0x7f, 'E', 'L', 'F', '\0'}; variable 79 return (memcmp(e_ident, ElfMagic, strlen(ElfMagic))) == 0; in checkMagic() 105 return (memcmp(e_ident, ElfMagic, strlen(ElfMagic))) == 0; in checkMagic()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.cpp | 158 return memcmp(magic, ElfMagic, strlen(ElfMagic)) == 0; in MagicBytesMatch()
|
/freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/ |
H A D | ELFObjHandler.cpp | 55 ElfHeader.e_ident[EI_MAG0] = ElfMagic[EI_MAG0]; in initELFHeader() 56 ElfHeader.e_ident[EI_MAG1] = ElfMagic[EI_MAG1]; in initELFHeader() 57 ElfHeader.e_ident[EI_MAG2] = ElfMagic[EI_MAG2]; in initELFHeader() 58 ElfHeader.e_ident[EI_MAG3] = ElfMagic[EI_MAG3]; in initELFHeader()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | ELFTypes.h | 526 return (memcmp(e_ident, ELF::ElfMagic, strlen(ELF::ElfMagic))) == 0;
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | ELFObjectWriter.cpp | 280 W.OS << ELF::ElfMagic; // e_ident[EI_MAG0] to e_ident[EI_MAG3] in writeHeader()
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | InputFiles.cpp | 88 if (!mb.getBuffer().starts_with(ElfMagic)) in getELFKind()
|