It seems optimizatin of the code will make it indistinquisable from explicit initialization.
So what you want is -ftrivial-auto-var-init=$POISON where POISON is something like 0xA5 or 'deaddead' and memcheck is told the value used for POISON. The programmer should specify a value that is highly unlikely to be a legitimate value. _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users