I want to use this kind of sanitizer in gcc. How can I do this? Is such an operation possible?
I found solution for clang:
clang -fsanitize=memory -fno-omit-frame-pointer -g -O2 umr.cc
but I don't know how use this in gcc
I want to use this kind of sanitizer in gcc. How can I do this? Is such an operation possible?
I found solution for clang:
clang -fsanitize=memory -fno-omit-frame-pointer -g -O2 umr.cc
but I don't know how use this in gcc
© 2022 - 2024 — McMap. All rights reserved.
-fsanitize=address
to catch memory leaks: osc.edu/resources/getting_started/howto/… – Ison