From 210da56f6ff711ba6b92d0b83f0c2ecfc824cff0 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Fri, 11 Jan 2019 15:52:56 +0100 Subject: new fail: recurse_alloca (to test -fstack-clash-protection) --- fail.1 | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'fail.1') diff --git a/fail.1 b/fail.1 index c1ff07e..8026683 100644 --- a/fail.1 +++ b/fail.1 @@ -1,4 +1,4 @@ -.Dd February 08, 2017 +.Dd January 11, 2019 .Dt FAIL 1 .Os .Sh NAME @@ -6,7 +6,7 @@ .Nd crash in various possible ways .Sh SYNOPSIS .Nm -.Op Fl 123DOabcdikrst +.Op Fl 123DORabcdikrst .Sh DESCRIPTION .Nm crashes in various possible ways to @@ -42,6 +42,14 @@ A dot is printed after each 16MB allocation. this may lock up your machine and/or result in killing other processes, too. Use with caution. +.It Fl R +Trigger an infinite recursion that uses +.Xr alloca 3 +heavily +.Po +to test GCC's +.Fl fstack-clash-protection +.Pc . .It Fl a Call .Xr abort 3 . @@ -60,7 +68,7 @@ Execute an illegal instruction. .It Fl k Raise SIGKILL. .It Fl r -Trigger an infinite recursion. +Trigger an infinite recursion that uses less than a page of stack per level. .It Fl s Trigger a segmentation fault by writing to a null pointer. .It Fl t -- cgit 1.4.1