Expand description
sadness-generator is a simple crate that provides multiple ways to make
any program it is executed in very sad.
Enums§
- Sadness
Flavor - How you would like your sadness.
Constants§
- SEGFAULT_
ADDRESS - This is the fixed address used to generate a segfault. It’s possible that this address can be mapped and writable by the your process in which case a crash may not occur
Functions§
- raise_
abort ⚠ SadnessFlavor::Abort- raise_
bus ⚠ SadnessFlavor::Bus- raise_
floating_ ⚠point_ exception SadnessFlavor::DivideByZero- raise_
illegal_ ⚠instruction SadnessFlavor::Illegal- raise_
segfault ⚠ SadnessFlavor::Segfault- raise_
stack_ ⚠overflow SadnessFlavor::StackOverflow- raise_
stack_ ⚠overflow_ in_ non_ rust_ thread SadnessFlavor::StackOverflow- raise_
stack_ ⚠overflow_ in_ non_ rust_ thread_ longjmp SadnessFlavor::StackOverflow- raise_
stack_ ⚠overflow_ in_ non_ rust_ thread_ normal SadnessFlavor::StackOverflow- raise_
trap ⚠ SadnessFlavor::Trap