mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:47:44 +00:00
Docs: Add info about -T and -t to crash(1)
This commit is contained in:
parent
8ccbd7002b
commit
189f234b47
1 changed files with 3 additions and 1 deletions
|
@ -25,10 +25,12 @@ kinds of crashes.
|
||||||
* `-M`: Read a pointer from uninitialized memory, then write to it.
|
* `-M`: Read a pointer from uninitialized memory, then write to it.
|
||||||
* `-F`: Read a pointer from memory freed using `free()`, then write to it.
|
* `-F`: Read a pointer from memory freed using `free()`, then write to it.
|
||||||
* `-r`: Write to read-only memory.
|
* `-r`: Write to read-only memory.
|
||||||
|
* `-T`: Make a syscall while using an invalid stack pointer.
|
||||||
|
* `-t`: Trigger a page fault while using an invalid stack pointer.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ crash -F
|
$ crash -F
|
||||||
Shell: crash(33) exitied due to signal "Segmentation violation"
|
Shell: crash(33) exitied due to signal "Segmentation violation"
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue