43 unsigned char stack[100];
51 execute(
"Executing within the data segment", (
int(*)(
int))
data);
53 execute(
"Executing on stack segment", (
int(*)(
int))
stack);
56 execute(
"Executing on the heap with protection PAGE_READWRITE", (
int(*)(
int))
heap);
58 execute(
"Executing on the heap with protection PAGE_EXECUTE", (
int(*)(
int))
heap);
#define _SEH_GetExceptionCode()
GLint GLint GLint GLint GLint x
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
#define memcpy(s1, s2, n)
void execute(char *message, int(*func)(int))
LPVOID NTAPI VirtualAlloc(IN LPVOID lpAddress, IN SIZE_T dwSize, IN DWORD flAllocationType, IN DWORD flProtect)
BOOL NTAPI VirtualProtect(IN LPVOID lpAddress, IN SIZE_T dwSize, IN DWORD flNewProtect, OUT PDWORD lpflOldProtect)