Home
last modified time | relevance | path

Searched refs:ElfMagic (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DELF.cpp79 if (memcmp(Buffer.data(), ELF::ElfMagic, strlen(ELF::ElfMagic)) != 0) in createLinkGraphFromELFObject()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DELF.h45 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 DELFHeader.cpp158 return memcmp(magic, ElfMagic, strlen(ElfMagic)) == 0; in MagicBytesMatch()
/freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/
H A DELFObjHandler.cpp55 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 DELFTypes.h526 return (memcmp(e_ident, ELF::ElfMagic, strlen(ELF::ElfMagic))) == 0;
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DELFObjectWriter.cpp280 W.OS << ELF::ElfMagic; // e_ident[EI_MAG0] to e_ident[EI_MAG3] in writeHeader()
/freebsd/contrib/llvm-project/lld/ELF/
H A DInputFiles.cpp88 if (!mb.getBuffer().starts_with(ElfMagic)) in getELFKind()