MCPcopy Create free account
hub / github.com/coreboot/coreboot / iself

Function iself

util/cbfstool/elfheaders.c:109–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107
108
109static int iself(const void *input)
110{
111 const Elf32_Ehdr *ehdr = input;
112 return !memcmp(ehdr->e_ident, ELFMAG, 4);
113}
114
115/* Get the ident array, so we can figure out
116 * endian-ness, word size, and in future other useful

Callers 2

parse_elfFunction · 0.70
elf_writer_initFunction · 0.70

Calls 1

memcmpFunction · 0.50

Tested by

no test coverage detected