5 int main(int argc
, char **argv
)
9 int *ptr
= (unsigned int *)0xABADC0DE;
13 if (!stricmp("illegal", argv
[1]))
17 ptr
= (int *)atol(argv
[2]);
25 printf("Attempting to divide by zero...\n");
27 printf("Done, result is: %d!\n", c
);
30 printf("Trying illegal access at 0x%p now...\n", ptr
);
32 printf("Done, result is: %d!\n", a
);