1
1

Add LSAN suppression rules config file.

This file has been tested on linux, other platforms may need some
tweaks, and/or dedicated files.

This is used to suppress errors with builds integrating ASAN sanitazing
tools, regarding memleaks detected in some third party libraries.

To use it, define the envvar option like that:

`LSAN_OPTIONS=print_suppressions=false:suppressions=/path/to/blender/source/tools/config/analysis/lsan.supp`

This is especially usefull when running ctest.

NOTE: Will also update https://wiki.blender.org/wiki/Tools/Tests/Setup
and https://wiki.blender.org/wiki/Tools/Debugging/ASAN_Address_Sanitizer
accordingly.
This commit is contained in:
2023-03-01 16:15:33 +01:00
parent 3006140718
commit 4d58f01424

View File

@@ -0,0 +1,16 @@
leak:_PyObject_Malloc
leak:_PyObject_Realloc
leak:PyThread_allocate_lock
leak:libpython*
leak:imb_exitopenexr
leak:imb_filetypes_exit
leak:libIlm*
leak:<unknown module>
leak:libX11*
leak:libglib*
leak:libnvidia*
leak:i965_dri
leak:libdrm*
leak:radeon*
leak:libGLX*
leak:libasan*