Fix memory leaks & data races in tests (#4772)
* Add a few pre-made sanitizer suppressions * Test Sanitization: Fix threading issues * Test Sanitization: Allow deletion of PubSub We still don't delete it in main code, but this allows us to try deleting it in tests. * Test Sanitization: Fix some memory leaks * fix gtest clang-tidy warning * const emojis test :-)
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
# Ignore openssl issues
|
||||
interceptor_via_lib:libcrypto.so.3
|
||||
@@ -0,0 +1,3 @@
|
||||
# Ignore openssl issues
|
||||
leak:libcrypto.so.3
|
||||
leak:CRYPTO_zalloc
|
||||
@@ -0,0 +1,17 @@
|
||||
race:libdbus-1.so.3
|
||||
deadlock:libdbus-1.so.3
|
||||
race:libglib-2.0.so.0
|
||||
race:libgio-2.0.so.0
|
||||
|
||||
# Not sure about these suppression
|
||||
# race:qscopedpointer.h
|
||||
# race:qarraydata.cpp
|
||||
# race:qarraydata.h
|
||||
# race:qarraydataops.h
|
||||
# race:libQt6Core.so.6
|
||||
# race:libQt6Gui.so.6
|
||||
# race:libQt6XcbQpa.so.6
|
||||
# race:libQt6Network.so.6
|
||||
|
||||
# very not sure about this one
|
||||
# race:qstring.h
|
||||
@@ -0,0 +1,2 @@
|
||||
enum:NetworkResult.hpp
|
||||
enum:gtest.h
|
||||
Reference in New Issue
Block a user