3 ms·
This has changed since 2011. Both GCC and LLVM/Clang support export CFLAGS="-ggdb -fsanitize=address" And few other "sanitizers". They add a runtime to the b
by Elv13 10y ago
This has changed since 2011. Both GCC and LLVM/Clang support
export CFLAGS="-ggdb -fsanitize=address"
And few other "sanitizers". They add a runtime to the binary so you get the backtrace, detect runtime "silent" errors (undefined behaviors) and overall help develop C/C++ programs.