Added -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS='-g -fsanitize=address' -DCMAKE_C_FLAGS='-g -fsanitize=address' to the cmake call in scripts/build.bash, does that cover everything important?
Already getting a bunch of heap-use-after-free failures during ctest that way, are you able to reproduce that?
Added
-DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS='-g -fsanitize=address' -DCMAKE_C_FLAGS='-g -fsanitize=address'
to thecmake
call inscripts/build.bash
, does that cover everything important?Already getting a bunch of heap-use-after-free failures during
ctest
that way, are you able to reproduce that?(Tested on your branch f7af90de754, with patch from above still applied)
ooanalyzer
run still going, might take a while. Never used rr before, but if this doesn't yield anything I can take a stab at it.Originally posted by @srett in https://github.com/cmu-sei/pharos/issues/231#issuecomment-1181756610