You can build your project with -fsanitize=address -fsanitize-recover=address
flags, and run with environment variable ASAN_OPTIONS=halt_on_error=0
.
Source: https://github.com/google/sanitizers/wiki/AddressSanitizer
You can build your project with -fsanitize=address -fsanitize-recover=address
flags, and run with environment variable ASAN_OPTIONS=halt_on_error=0
.
Source: https://github.com/google/sanitizers/wiki/AddressSanitizer