diff options
author | Leah Neukirchen <leah@vuxu.org> | 2019-12-19 12:51:29 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2019-12-19 12:51:29 +0100 |
commit | a34791cc02949d22d2b4a5f7e0ddc63d617dd6d0 (patch) | |
tree | 62deadf77ae4bb9e3ca46faaebcc332144282429 /README | |
parent | f2a8f228da6b1a73f40abc5a5e83433d67c38943 (diff) | |
download | fail-a34791cc02949d22d2b4a5f7e0ddc63d617dd6d0.tar.gz fail-a34791cc02949d22d2b4a5f7e0ddc63d617dd6d0.tar.xz fail-a34791cc02949d22d2b4a5f7e0ddc63d617dd6d0.zip |
add -S for stack smashing
Diffstat (limited to 'README')
-rw-r--r-- | README | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/README b/README index bf5a812..7c766ec 100644 --- a/README +++ b/README @@ -4,7 +4,7 @@ NAME fail – crash in various possible ways SYNOPSIS - fail [-123DORabcdikrst] + fail [-123DORSabcdikrst] DESCRIPTION fail crashes in various possible ways to help you debug how other @@ -32,6 +32,8 @@ DESCRIPTION -R Trigger an infinite recursion that uses alloca(3) heavily (to test GCC's -fstack-clash-protection). + -S Smash the stack using strcpy(3), to test GCC's -fstack-protector. + -a Call abort(3). -b Trigger SIGBUS by accessing mmap(2) memory beyond the end of a @@ -69,4 +71,4 @@ LICENSE http://creativecommons.org/publicdomain/zero/1.0/ -Void Linux January 11, 2019 Void Linux +Void Linux December 19, 2019 Void Linux |