I used to use with C a replacement for malloc() that would initialize the memory to 0xDEADBEEF. It was amazing how many bugs were forced into the open.<p>These days, valgrind is a much better option for doing this.