Files
test/tools/config/analysis/lsan.supp
Bastien Montagne 4d58f01424 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.
2023-03-01 16:24:59 +01:00

17 lines
279 B
Plaintext

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*