summaryrefslogtreecommitdiffstats
path: root/valgrind.supp
blob: 1a4520829e71d370ac948c361192d46795203373 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# pacman suppressions for valgrind.
#
# To have valgrind use this file (and have pactest use it as well),
# just create a ~/.valgrindrc containing the following line:
# --suppressions=/full/path/to/valgrind.supp
#
# Format of this file is:
# {
#     name_of_suppression
#     tool_name:supp_kind
#     (optional extra info for some suppression types)
#     caller0 name, or /name/of/so/file.so
#     caller1 name, or ditto
#     (optionally: caller2 name)
#     (optionally: caller3 name)
#  }
#
# For Memcheck, the supp_kinds are:
#
#     Param Value1 Value2 Value4 Value8 Value16
#     Free Addr1 Addr2 Addr4 Addr8 Addr16
#     Cond (previously known as Value0)
#
# and the optional extra info is:
#     if Param: name of system call param
#     if Free: name of free-ing fn)

{
   pacman-dlrelocate
   Memcheck:Cond
   fun:_dl_relocate_object
   obj:*ld-2.?.so
}

{
   pacman-msgsnd
   Memcheck:Param
   msgsnd(msgp->mtext)
   fun:*
}

{
   pacman-utimensat
   Memcheck:Param
   utimensat(filename)
   fun:*
}