A question about -fsanitize and pragmas

Revision en1, by farkon00, 2024-06-13 15:20:47

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 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.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English farkon00 2024-06-13 15:35:47 4 Ooops, forgot to type a word
en1 English farkon00 2024-06-13 15:20:47 477 Initial revision (published)