I have a long-time-running server program, and I want to use asan to instrument this program for memory leaks.
CXXFLAGS+="-fsanitize=address -fno-omit-frame-pointer -fsanitize-recover=address" LDFLAGS+="-lasan" # start the program LD_PRELOAD=libasan.so.5 ASAN_OPTIONS=halt_on_error=false:alloc_dealloc_mismatch=0 ./bin/server > asan_report 2>&1 &
But it seems asan only report for once
I want it to report periodically, how to do that ?
Source: Windows Questions C++