crash: Add "-X" option for attempting to execute non-executable memory

This commit is contained in:
Andreas Kling 2019-12-25 11:52:21 +01:00
commit 33efeaf71a
Notes: sideshowbarker 2024-07-19 10:41:23 +09:00
2 changed files with 17 additions and 1 deletions

View file

@ -30,6 +30,7 @@ kinds of crashes.
* `-S`: Make a syscall from writeable memory.
* `-x`: Read from recently freed memory. (Tests an opportunistic malloc guard.)
* `-y`: Write to recently freed memory. (Tests an opportunistic malloc guard.)
* `-X`: Attempt to execute non-executable memory. (Not mapped with PROT\_EXEC.)
## Examples