crash(1) - SerenityOS man pages

#Name

crash - intentionally perform an illegal operation

#Synopsis

$ /usr/Tests/Kernel/crash [options]

#Description

This program is used to test how the Serenity kernel handles userspace crashes, and can be used to simulate many different kinds of crashes.

Some crash tests are only available on certain architectures.

Some crash tests are excluded from the -A test, since depending on the hardware or implementation they may or may not crash.

#Options

All architectures:

x86_64 only:

AArch64 and x86_64 only:

#Examples

$ crash -F
Testing: "Write to freed memory"
Shell: Job 1 (crash -F) Segmentation violation

#See Also