Tools
post.txt
Associated article: Postmortem Debugging
Tags: C/C++ Tools
Published source code accompanying the article by Stefan Woerthmueller in which he presents a post-mortem analysis approach that lets you identify and resolve hidden errors, but with little impact on the program.
Post-Mortem Debugging
by Stefan Woerthmueller
Listing One
int FunctionC(int x, int y)
{
char *p = (char *)0xBADC0DE; // Ummm!!, a dirty bad thing
// Create a access vioaltion
char c = *p;
return 0;
}
int FunctionB(int x)
{
return FunctionC(x, 16);
}
int FunctionA()
{
...


