wire / magic /
elf-core
ELF core dump (ET_CORE) An ELF core dump uses the same ELF magic (0x7F 'ELF') but with e_type = ET_CORE (4). The program headers are PT_NOTE segments containing process state (registers, memory maps, etc.) in NT_PRSTATUS, NT_PRPSINFO, NT_AUXV, and (for threads) NT_PRSTATUS per thread.
magic kind signature status de-facto verification verified tier B file-signature@1
aka: elf-core magic · .core · .coredump
file signature magic: 7F 45 4C 46⧉ copy @ offset 0
.core .coredump application/x-coredump
spec: ELF core dump (gcore, systemd-coredump)
Same ELF magic as executables: 0x7F 'E' 'L' 'F'. e_type = 4 (ET_CORE). PT_NOTE segments contain: NT_PRSTATUS (general registers, signal info), NT_PRPSINFO (process info: pid, comm, ...), NT_AUXV (auxiliary vector), NT_FILE (mapped files), and (per thread) NT_PRSTATUS. Core dumps are generated by the kernel on SIGSEGV/SIGABRT/etc. when ulimit -c allows. systemd-coredump stores dumps in /var/lib/systemd/coredump/ with metadata.
agent: curl -H 'accept: application/json' wire.phall.io/magic/elf-core⧉ copy
or /magic/elf-core.json ⧉ copy
wire.phall.io ⌘K search main ✓