1CORE(5) File Formats Manual CORE(5)
2
3
4
6 core - format of core image file
7
9 UNIX writes out a core image of a terminated process when any of vari‐
10 ous errors occur. See signal(2) for the list of reasons; the most com‐
11 mon are memory violations, illegal instructions, bus errors, and user-
12 generated quit signals. The core image is called `core' and is written
13 in the process's working directory (provided it can be; normal access
14 controls apply).
15
16 The first 1024 bytes of the core image are a copy of the system's per-
17 user data for the process, including the registers as they were at the
18 time of the fault; see the system listings for the format of this area.
19 The remainder represents the actual contents of the user's core area
20 when the core image was written. If the text segment is write-pro‐
21 tected and shared, it is not dumped; otherwise the entire address space
22 is dumped.
23
24 In general the debugger adb(1) is sufficient to deal with core images.
25
27 adb(1), signal(2)
28
29
30
31 CORE(5)