The underlying mechanism is a trap preventing the execution of code, DEP. In my case, I used a function pointer before initializing it.