From 1180f633e27b60b0c1dd160ea91803bd82798c44 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 27 Sep 2013 12:13:21 +0200 Subject: [PATCH] Add DrMemory suppress file The suppress file currently suppresses: - bug #978 - bug #979 Plus a seemingly harmeless warning that happens during libmagic init. DrMemory is a valgrind like memory checker: http://www.drmemory.org/ --- qa/Makefile.am | 2 +- qa/drmemory.suppress | 51 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 qa/drmemory.suppress diff --git a/qa/Makefile.am b/qa/Makefile.am index b299e41959..e5f77dc83a 100644 --- a/qa/Makefile.am +++ b/qa/Makefile.am @@ -1,2 +1,2 @@ SUBDIRS = coccinelle -EXTRA_DIST = wirefuzz.pl sock_to_gzip_file.py +EXTRA_DIST = wirefuzz.pl sock_to_gzip_file.py drmemory.suppress diff --git a/qa/drmemory.suppress b/qa/drmemory.suppress new file mode 100644 index 0000000000..c01d086cf8 --- /dev/null +++ b/qa/drmemory.suppress @@ -0,0 +1,51 @@ +UNADDRESSABLE ACCESS +name=magic issue, not important +libc.so.6!__strnlen_sse2 +libc.so.6!_IO_vfprintf_internal +libc.so.6!__GI___vasprintf_chk +libc.so.6!__asprintf_chk +libmagic.so.1!? +libmagic.so.1!file_apprentice +libmagic.so.1!magic_load +suricata!main + +LEAK +name=bug #979 (1) +suricata!B2gAddPattern +suricata!B2gAddPatternCS +suricata!AlpProtoAdd +suricata!Register*Parsers +suricata!RegisterAppLayerParsers +suricata!AppLayerDetectProtoThreadInit + +LEAK +name=bug #979 (2) +suricata!B2gAddPattern +suricata!B2gAddPatternCS +suricata!AlpProtoAdd +suricata!RegisterAppLayerParsers +suricata!AppLayerDetectProtoThreadInit + +LEAK +name=bug #979 (3) +* +suricata!AppLayerInsertNewProbingParserSingleElement +suricata!AppLayerInsertNewProbingParserElement +suricata!AppLayerRegisterProbingParser +suricata!RegisterSSLParsers +suricata!RegisterAppLayerParsers +suricata!AppLayerDetectProtoThreadInit + +LEAK +name=bug #978 +* +suricata!SMTPLocalStorageAlloc +suricata!AppLayerGetProtocolParserLocalStorage +suricata!AlpProtoFinalizeThread +suricata!AlpProtoFinalize2Thread +suricata!StreamTcpReassembleInitThreadCtx +suricata!StreamTcpThreadInit +suricata!TmThreadsSlotPktAcqLoop +libpthread.so.0!start_thread +libc.so.6!__clone +