From a34791cc02949d22d2b4a5f7e0ddc63d617dd6d0 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 19 Dec 2019 12:51:29 +0100 Subject: add -S for stack smashing --- fail.1 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'fail.1') diff --git a/fail.1 b/fail.1 index 8026683..fb7b3ec 100644 --- a/fail.1 +++ b/fail.1 @@ -1,4 +1,4 @@ -.Dd January 11, 2019 +.Dd December 19, 2019 .Dt FAIL 1 .Os .Sh NAME @@ -6,7 +6,7 @@ .Nd crash in various possible ways .Sh SYNOPSIS .Nm -.Op Fl 123DORabcdikrst +.Op Fl 123DORSabcdikrst .Sh DESCRIPTION .Nm crashes in various possible ways to @@ -50,6 +50,11 @@ heavily to test GCC's .Fl fstack-clash-protection .Pc . +.It Fl S +Smash the stack using +.Xr strcpy 3 , +to test GCC's +.Fl fstack-protector . .It Fl a Call .Xr abort 3 . -- cgit 1.4.1