Unable to execute shellcode in stack with no DEP
Here is the simplest example to show my problem. Everything is in WinXp sp3 with DEP disabled.
char f() {
// shellcode starting with some NOPs,
char shellcode[400]= {
0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90,
…