How to create the condition of stack overflow in GNU/linux?
a recursive function with no way out should do the trick
pseudo-code, my c is a bit rusty
void stack_overflow()
{
stack_overflow();
}
I'd recommend reading the phrack magazine article "Smashing the stack for fun and profit". It also contains sample code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With