{
  "id": "magic/elf-core",
  "family": "magic",
  "slug": "elf-core",
  "title": "ELF core dump (ET_CORE)",
  "summary": "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.",
  "kind": "signature",
  "aliases": [
    "elf-core magic",
    ".core",
    ".coredump"
  ],
  "status": "de-facto",
  "verification": "verified",
  "tier": "B",
  "source_url": "https://en.wikipedia.org/wiki/List_of_file_signatures",
  "source_version": "Wikipedia List of file signatures, retrieved 2026-05-29",
  "retrieved_date": "2026-05-29",
  "see_also": [],
  "ext_type": "file-signature@1",
  "ext": {
    "magic_hex": "7F 45 4C 46",
    "offset": 0,
    "magic_ascii": "",
    "extensions": [
      "core",
      "coredump"
    ],
    "mime": "application/x-coredump",
    "spec": "ELF core dump (gcore, systemd-coredump)",
    "notes": [
      "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."
    ]
  },
  "updated": "2026-05-29"
}
