Barry Smith <[email protected]> writes: > Note that currently when running optimized with valgrind; valgrind > only sees the one_big_malloc so can miss lots of overwrite and > underwrites within the chunks malloced. By making everything runtime > we can let valgrind have more information and manage correctness of > each sub chunk.
I agree that it's good to defer as much as possible to runtime. I sorely wish I knew of a good way to implement a -debug option (short of LD_PRELOADing the debug library). I'm not happy about Matt's increasingly complicated macros, but I'm not going to fight it any more.
pgp9qFRfDqh2H.pgp
Description: PGP signature
