core(4) CLIX core(4)
NAME
core - Core image file format
DESCRIPTION
The CLIX operating system writes a core image of a terminated process when
certain errors occur. See signal for the list of reasons; the most common
are memory violations, illegal instructions, bus errors, and user-
generated quit signals. The core image is called core and is written to
the process' working directory (if allowed; normal access controls apply).
A process with an effective user ID different from the real user ID does
not produce a core image.
The first section of the core image is a copy of the system's per-user
data for the process, including the registers as they were at the time of
the fault. The size of this section depends on the parameter usize, which
is defined in <sys/param.h>. The remainder of the image represents the
actual contents of the user's core area when the core was written
(excluding the text area). For a paged image file, the dump of the data
segment begins after any portion overlapped with the text section. Each
segment in the core file begins on a page boundary.
The format of the information in the first section is described by the
user structure of the system, defined in <sys/user.h>. Not included in
this file are the locations of the registers; these are outlined in
<sys/reg.h>.
RELATED INFORMATION
Commands: adb(1), dbg(1), sdb(1), nocore(8)
Functions: setuid(2), signal(2)
2/94 - Intergraph Corporation 1