Functions | Variables
suicide.cpp File Reference
#include <backward_ros/backward.hpp>
#include <cstdio>
#include <sys/resource.h>
#include "test.hpp"
Include dependency graph for suicide.cpp:

Go to the source code of this file.

Functions

void abort_abort_I_repeat_abort_abort ()
 
void badass_function ()
 
int bye_bye_stack (int i)
 
int divide_by_zero ()
 
 TEST_ABORT (calling_abort)
 
 TEST_DIVZERO (divide_by_zero)
 
 TEST_SEGFAULT (invalid_read)
 
 TEST_SEGFAULT (invalid_write)
 
 TEST_SEGFAULT (stackoverflow)
 
int you_shall_not_pass ()
 

Variables

volatile int zero = 0
 

Function Documentation

◆ abort_abort_I_repeat_abort_abort()

void abort_abort_I_repeat_abort_abort ( )

Definition at line 56 of file suicide.cpp.

◆ badass_function()

void badass_function ( )

Definition at line 32 of file suicide.cpp.

◆ bye_bye_stack()

int bye_bye_stack ( int  i)

Definition at line 82 of file suicide.cpp.

◆ divide_by_zero()

int divide_by_zero ( )

Definition at line 69 of file suicide.cpp.

◆ TEST_ABORT()

TEST_ABORT ( calling_abort  )

Definition at line 62 of file suicide.cpp.

◆ TEST_DIVZERO()

TEST_DIVZERO ( divide_by_zero  )

Definition at line 76 of file suicide.cpp.

◆ TEST_SEGFAULT() [1/3]

TEST_SEGFAULT ( invalid_read  )

Definition at line 50 of file suicide.cpp.

◆ TEST_SEGFAULT() [2/3]

TEST_SEGFAULT ( invalid_write  )

Definition at line 38 of file suicide.cpp.

◆ TEST_SEGFAULT() [3/3]

TEST_SEGFAULT ( stackoverflow  )

Definition at line 86 of file suicide.cpp.

◆ you_shall_not_pass()

int you_shall_not_pass ( )

Definition at line 43 of file suicide.cpp.

Variable Documentation

◆ zero

volatile int zero = 0

Definition at line 67 of file suicide.cpp.



backward_ros
Author(s):
autogenerated on Tue Mar 1 2022 23:50:48