Skip to content

Instantly share code, notes, and snippets.

import argparse
import re
rule_regex = re.compile(r'^{$.*?^}$', re.DOTALL | re.MULTILINE)
def filter_suppressions(input_file, output_file):
'''
Takes the output of Valgrind, run with `--gen-suppressions=all`