Locally, when building and running code I use -fsanitize=address
and -fsanitize=undefined
flags. Does anybody know any way to use these flags via pragmas, such that I can use them on testing servers(not necessarily codeforces)? I had to install an additional library for the -fsanitize=undefined
to work, so I guess it will be trickier to run, but answers about either of the flags individually will be greatly appreciated as well.