yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #14884
AddressSanitizer is enabled in the CI-pipeline
Dear Yade developers,
last weekend [1] we enabled the new target in the pipeline: make_asan.
Also the new Yade option ENABLE_ASAN was added into the Cmake.
Documentation is updated correspondingly.
ASAN - is the abbreviation of AddressSanitizer [2] - memory error detector,
which finds heap corruptions, memory overflows etc.
Generally, Yade is being compiled with special compiler flags and then
'-test' and
'--check' steps are being executed. If you add a new engine or any other
class, which is executed by "--test" or "--check" step, you can see in
the pipeline, whether your code is not doing something weird with the
memory.
It can help to increase the software stability, correctness of the results
and general quality of the software.
If you see some problems with this step in the pipeline - please let me know.
[1] https://gitlab.com/yade-dev/trunk/merge_requests/331
[2] https://github.com/google/sanitizers/wiki/AddressSanitizer
Best regards
Anton
Follow ups