Having explained how GCC options like -fstack-protector works in my preceding article , it's time to explain how to set the stack non executable and what does that mean.

To illustrate this, I will use the following program :

#include <stdio.h>

#include <stdlib.h>

#include <string.h>