GCC Pointer Initialization Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Is there any option/patch for gcc/g++ which will enable the
initialization of pointers and of allocated/freed memory with
constants like Microsoft's compiler does?
i.e.
Pattern 	       Description
0xFDFDFDFD 	No man's land (normally outside of a process)
0xDDDDDDDD 	Freed memory
0xCDCDCDCD 	Uninitialized (global)
0xCCCCCCCC 	Uninitialized locals (on the stack)

Thanks.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux