With the C++-ization of the parser, some functions were renamed or
eliminated; this patch fixes the relevant valgrind false positive suppression
pattern to match.

Signed-off-by: Steve Beattie <st...@nxnw.org>
---
 parser/tst/valgrind_simple.py |   11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

Index: b/parser/tst/valgrind_simple.py
===================================================================
--- a/parser/tst/valgrind_simple.py
+++ b/parser/tst/valgrind_simple.py
@@ -45,15 +45,10 @@ VALGRIND_SUPPRESSIONS = '''
     valgrind-serialize_profile-obsessive-overreads
     Memcheck:Addr4
     fun:_Z*sd_serialize_profile*
-    fun:_Z*sd_serialize_codomain*
-    fun:_Z*load_codomain*
-    fun:_Z*__load_flattened_hat*
     ...
-    fun:twalk
-    fun:_Z*load_flattened_hats*
-    fun:_Z*sd_serialize_codomain*
-    fun:_Z*load_codomain*
-    fun:_Z*__load_policy*
+    fun:_Z*__sd_serialize_profile*
+    fun:_Z*load_profile*
+    fun:_Z*load_policy_list*
 }'''
 
 


-- 
AppArmor mailing list
AppArmor@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to