pub fn is_elf(bytes: &[u8]) -> bool
Returns true if bytes start with the ELF magic.
bytes
This says nothing about class (32 vs 64) or endianness — a true return means some flavor of ELF, not necessarily one this crate supports.