fn parse_header(data: &[u8]) -> Result<Elf64Header, &'static str>Expand description
Parse and validate the ELF64 file header from raw bytes.
Uses xmas-elf for magic/class/machine/version validation, then copies
the fields we need into a local Copy struct.