2 ms·
With gcc you can use e.g. "-fsanitize=undefined,address -fsanitize-undefined-trap-on-error". In my opinion, any C or C++ program must always be compiled with s
by adrian_b 3y ago
With gcc you can use e.g. "-fsanitize=undefined,address -fsanitize-undefined-trap-on-error".
In my opinion, any C or C++ program must always be compiled with such options by default, both for debug and release builds.
Only when an undesirable influence on performance is measured, the compilation options can be relaxed, but only for those functions where this matters.