diff options
Diffstat (limited to '')
-rw-r--r-- | debug/valgrind-suppress | 11 | ||||
-rwxr-xr-x | doval | 4 |
2 files changed, 14 insertions, 1 deletions
diff --git a/debug/valgrind-suppress b/debug/valgrind-suppress index b72d56d..d7de12f 100644 --- a/debug/valgrind-suppress +++ b/debug/valgrind-suppress @@ -1169,3 +1169,14 @@ fun:main } +{ + <insert a suppression name here> + Memcheck:Cond + fun:BN_mod_inverse +} + +{ + <insert a suppression name here> + Memcheck:Cond + fun:BN_div +} @@ -1,2 +1,4 @@ #!/bin/bash -valgrind --tool=memcheck --error-limit=no --suppressions=debug/valgrind-suppress --gen-suppressions=all --leak-check=full --show-reachable=yes --num-callers=32 $* +PROGDIR=`dirname $0` +unset LD_LIBRARY_PATH +valgrind --tool=memcheck --error-limit=no --suppressions=$PROGDIR/debug/valgrind-suppress --gen-suppressions=all --leak-check=full --show-reachable=yes --num-callers=32 $PROGDIR/openvpn "$@" |