diff options
author | Valery Febvre <vfebvre at easter-eggs.com> | 2004-08-04 22:03:10 +0000 |
---|---|---|
committer | Valery Febvre <vfebvre at easter-eggs.com> | 2004-08-04 22:03:10 +0000 |
commit | 5f91d044d07e4e640ab3fe354b386c313707df65 (patch) | |
tree | 0b040018450be1e9ae62a390134c43c89eed4def /tests/valgrind | |
parent | 9c5d74fc74b736b666d183c2c852de302244e402 (diff) | |
download | lasso-5f91d044d07e4e640ab3fe354b386c313707df65.tar.gz lasso-5f91d044d07e4e640ab3fe354b386c313707df65.tar.xz lasso-5f91d044d07e4e640ab3fe354b386c313707df65.zip |
Initial commit
Diffstat (limited to 'tests/valgrind')
-rw-r--r-- | tests/valgrind/nss.supp | 220 | ||||
-rw-r--r-- | tests/valgrind/openssl.supp | 63 |
2 files changed, 283 insertions, 0 deletions
diff --git a/tests/valgrind/nss.supp b/tests/valgrind/nss.supp new file mode 100644 index 00000000..8287f219 --- /dev/null +++ b/tests/valgrind/nss.supp @@ -0,0 +1,220 @@ +##----------------------------------------------------------------------## +# +# Errors to suppress by default with NSS +# +# Format of this file is: +# { +# name_of_suppression +# kind: one of Param Value1 Value2 Value4 Value8 +# Free Addr1 Addr2 Addr4 Addr8 +# Cond (previously known as Value0) +# (if Param: name of system call param, if Free: name of free-ing fn) +# caller0 name, or /name/of/so/file.so +# caller1 name, or ditto +# (optionally: caller2 name) +# (optionally: caller3 name) +# } + +##----------------------------------------------------------------------## +{ + NSS memcmp/prng_RandomUpdate + Memcheck:Cond + fun:memcmp + fun:prng_RandomUpdate +} + +{ + NSS alg_fips*/prng_RandomUpdate + Memcheck:Cond + fun:alg_fips* + fun:prng_RandomUpdate +} + +{ + NSS sec_asn1d_parse_leaf/SEC_ASN1* + Memcheck:Cond + fun:sec_asn1d* + fun:SEC_ASN1* +} + +{ + NSS DES_Do1Block + Memcheck:Value4 + fun:DES_Do1Block + fun:DES_EDE* +} + +{ + NSS *mp* + Memcheck:Cond + fun:* + fun:*mp_* +} + +{ + NSS *mp* + Memcheck:Cond + fun:*mp* + fun:* +} + +{ + NSS *mp* + Memcheck:Value4 + fun:* + fun:*mp* +} + +{ + NSS *mp* + Memcheck:Value4 + fun:*mp* + fun:*dsa* +} + +{ + NSS *alg_fips* + Memcheck:Cond + fun:*alg_fips* + fun:* +} + +{ + NSS memcmp/prng + Memcheck:Value4 + fun:memcmp + fun:*prng* +} + +{ + NSS *alg_fips* + Memcheck:Value4 + fun:*alg_fips* + fun:*prng* +} + +{ + NSS *DSA_Generate* + Memcheck:Value4 + fun:*DSA_Generate* + fun:*DSA* +} + +{ + NSS *DSA_Generate* + Memcheck:Cond + fun:*DSA_Generate* + fun:*DSA* +} + +{ + NSS *memset/SECITEM* + Memcheck:Value4 + fun:*mem* + fun:*SECITEM* +} + +{ + NSS *FreeArena* + Memcheck:Cond + fun:*Arena* + fun:*Arena* +} + +{ + NSS *memcpy/sec* + Memcheck:Cond + fun:*mem* + fun:*sec* +} + +{ + NSS *memcpy/sec* + Memcheck:Value4 + fun:*mem* + fun:*sec* +} + +{ + NSS *sec* + Memcheck:Value4 + fun:*sec* + fun:* +} + +{ + NSS *sec* + Memcheck:Cond + fun:*sec* + fun:* +} + + +{ + NSS *PL_Hash* + Memcheck:Value4 + fun:*PL_Hash* + fun:* +} + +{ + NSS *PL_Hash* + Memcheck:Cond + fun:*PL_Hash* + fun:* +} + +{ + NSS *SEC* + Memcheck:Value4 + fun:*SEC* + fun:* +} + +{ + NSS *SEC* + Memcheck:Cond + fun:*SEC* + fun:* +} + +{ + NSS *PORT* + Memcheck:Value4 + fun:*PORT* + fun:* +} + +{ + NSS *PORT* + Memcheck:Cond + fun:*PORT* + fun:* +} + +{ + NSS *DES* + Memcheck:Value4 + fun:*DES* + fun:* +} + +{ + NSS *__GI__* + Addrcheck,Memcheck:Param + write(buf) + obj:*libc-2.2*so +} + +{ + NSS xmlSecBase64* + Memcheck:Value4 + fun:xmlSecBase64* +} + +{ + NSS rijndael* + Memcheck:Value4 + fun:rijndael* +} + diff --git a/tests/valgrind/openssl.supp b/tests/valgrind/openssl.supp new file mode 100644 index 00000000..78f5b835 --- /dev/null +++ b/tests/valgrind/openssl.supp @@ -0,0 +1,63 @@ +##----------------------------------------------------------------------## +# +# Errors to suppress by default with OpenSSL +# +# Format of this file is: +# { +# name_of_suppression +# kind: one of Param Value1 Value2 Value4 Value8 +# Free Addr1 Addr2 Addr4 Addr8 +# Cond (previously known as Value0) +# (if Param: name of system call param, if Free: name of free-ing fn) +# caller0 name, or /name/of/so/file.so +# caller1 name, or ditto +# (optionally: caller2 name) +# (optionally: caller3 name) +# } + +##----------------------------------------------------------------------## +{ + OpenSSL BN_*(Cond) + Memcheck:Cond + fun:BN_* +} + +{ + OpenSSL BN_*(Value4) + Memcheck:Value4 + fun:BN_* +} + +{ + OpenSSL bn_*(Cond) + Memcheck:Cond + fun:bn_* +} + +{ + OpenSSL bn_*(Value4) + Memcheck:Value4 + fun:bn_* +} + +{ + OpenSSL AES_encrypt(Value4) + Memcheck:Value4 + fun:AES_encrypt + fun:AES_cbc_encrypt +} + +{ + OpenSSL DES_encrypt*(Value4) + Memcheck:Value4 + fun:DES_encrypt2 + fun:DES_encrypt3 +} + +{ + OpenSSL RSA_padding_add_PKCS1_type_2(Cond) + Memcheck:Cond + fun:RSA_padding_add_PKCS1_type_2 + fun:RSA_eay_public_encrypt +} + |