summaryrefslogtreecommitdiff
path: root/Kernel/CoreDump.h
AgeCommit message (Collapse)Author
2020-12-15Kernel: Make CoreDump::m_num_program_headers constAndreas Kling
This makes it an error to assign to it after construction.
2020-12-15Kernel: Don't take LexicalPath as argumentAndreas Kling
LexicalPath is a big and heavy class that's really meant as a helper for extracting parts of a path, not for storage or passing around. Instead, pass paths around as strings and use LexicalPath locally as needed.
2020-12-14Kernel: Pass full path of output coredump file to CoreDumpItamar
2020-12-14LibELF: Refactor coredump notes section structuresItamar
2020-12-14Kernel: Generate a coredump file when a process crashesItamar
When a process crashes, we generate a coredump file and write it in /tmp/coredumps/. The coredump file is an ELF file of type ET_CORE. It contains a segment for every userspace memory region of the process, and an additional PT_NOTE segment that contains the registers state for each thread, and a additional data about memory regions (e.g their name).