浏览代码

Docs: Add info about -T and -t to crash(1)

Andreas Kling 5 年之前
父节点
当前提交
189f234b47
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      Base/usr/share/man/man1/crash.md

+ 3 - 1
Base/usr/share/man/man1/crash.md

@@ -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"
-```
+```