This will definitely have a positive effect on code quality.
Not even mentioning it should be a little bit easier to configure IDEs like CLion for working with Linux source tree.
This will definitely have a positive effect on code quality.
Not even mentioning it should be a little bit easier to configure IDEs like CLion for working with Linux source tree.
[0] https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.h...
It is developed by google[0] afaik. The link says it is present in LLVM and gcc. I don't know what makes the difference (may be License?). On the contrary I have felt gcc better for my work. I have been following a clang bug[1] for long and have seen no fix so far.
[0] https://github.com/google/sanitizers/wiki/AddressSanitizer
Dynamic alloca overflow detection
Symbol size changing for global variables
Adaptive global redzone sizes
Invalid pointer pairs detection
Support for no_sanitize attribute
Support for dead stripping of globals on Linux
I might be out of date on some or even all, so please correct me where I'm wrong. Thank you in advance.
Address sanitizer was "ported" to the kernel a while ago; not sure if UBSAN is or will be in the future.
Specifically, this sounds like it is just preferring the other toolchain. Are there literally things that don't have equivalents?