ASan AddressSanitizer: add ignore list v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Mon, 24 Sep 2018 16:25:53 +0200
branchv_0
changeset 5 0c07be8dad00
parent 4 1622c087f3ea
child 6 5acb6b487caf
ASan AddressSanitizer: add ignore list
asan-ignore.txt
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/asan-ignore.txt	Mon Sep 24 16:25:53 2018 +0200
@@ -0,0 +1,13 @@
+# There migth be memory leaks ouside our program in shared libraries.
+# We want to ignore them and focus on leaks in our code.
+
+# To use this ignore list, run with:
+# LSAN_OPTIONS=suppressions=asan-ignore.txt
+# In Netbeans it should be set in the project properties / Run / Environment
+
+# Would ignore all memory leaks:
+# leak:.*
+
+# Ignore particular libraries:
+leak:/lib/x86_64-linux-gnu/libdbus-1.so
+leak:/usr/lib/x86_64-linux-gnu/libfontconfig.so