Re: [edk2-devel] Unit Test and sanitizers

2022-02-26 Thread Marvin Häuser
Hey Andrew, +1 Linux Clang sanitizers not only work but actually have more advanced techniques here and there over macOS and Windows. GCC definitely has some level of support, but if I recall correctly it was not as nice for some reason. I think MSVC only has ASan and it's not very nice. I'm

[edk2-devel] Unit Test and sanitizers

2022-02-23 Thread Andrew Fish via groups.io
Just throwing out an idea for the edk2 unit tests. At least for clang you can turn on the sanitizer via a simple command line flag to the compiler. So seems it would make sense to turn on it for unit tests? I’m not sure if the Linux clang, and maybe even some versions of gcc support this too? N