It seems that the -fmudflap
feature was removed from GCC.
Thus my question: what to use instead of it for dynamically analyzing programs for out-of-bound read/writes, uninitialized reads and such issues?
(and perhaps as a side question: why was it removed?)
The approach of mudflap (instrumentalizing generated code inside the compiler) looks quite elegant.
Background
Other tools instrumentalize on a machine-code level (e.g. Purify), on a source-code level (e.g. Insure) or instrumentalize during the emulation of a CPU (e.g. Valgrind).
The mudflap approach has the potential to find errors which can't be detected by valgrind or purify (e.g. stack based array access errors). It is also more lightweight than other approaches.
I am searching for an open source solution.