gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 1 | ##----------------------------------------------------------------------## |
| 2 | |
| 3 | # Errors to suppress by default for glibc 2.1.3 |
| 4 | |
| 5 | # Format of this file is: |
| 6 | # { |
| 7 | # name_of_suppression |
nethercote | 137bc55 | 2003-11-14 17:47:54 +0000 | [diff] [blame] | 8 | # tool_name:supp_kind |
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 9 | # (optional extra info for some suppression types) |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 10 | # caller0 name, or /name/of/so/file.so |
| 11 | # caller1 name, or ditto |
| 12 | # (optionally: caller2 name) |
| 13 | # (optionally: caller3 name) |
| 14 | # } |
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 15 | # |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 16 | # For Memcheck, the supp_kinds are: |
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 17 | # |
njn | c061666 | 2003-06-12 09:58:41 +0000 | [diff] [blame] | 18 | # Param Value1 Value2 Value4 Value8 Value16 |
| 19 | # Free Addr1 Addr2 Addr4 Addr8 Addr16 |
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 20 | # Cond (previously known as Value0) |
| 21 | # |
| 22 | # and the optional extra info is: |
| 23 | # if Param: name of system call param |
| 24 | # if Free: name of free-ing fn) |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 25 | |
sewardj | b0de29e | 2002-07-16 02:11:51 +0000 | [diff] [blame] | 26 | #-------- Suppress errors appearing as a result of calling |
| 27 | #-------- __libc_freeres() |
| 28 | |
| 29 | { |
| 30 | __libc_freeres/free_mem(Addr4) |
njn | 11cc925 | 2002-10-07 14:42:59 +0000 | [diff] [blame] | 31 | Addrcheck,Memcheck:Addr4 |
sewardj | b0de29e | 2002-07-16 02:11:51 +0000 | [diff] [blame] | 32 | fun:free_mem |
| 33 | fun:__libc_freeres |
| 34 | } |
| 35 | |
| 36 | |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 37 | ##----------------------------------------------------------------------## |
| 38 | |
| 39 | { |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 40 | pthread_mutex_unlock/__register_frame_info_bases |
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 41 | core:PThread |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 42 | fun:pthread_mutex_unlock |
sewardj | a601817 | 2002-06-05 00:42:45 +0000 | [diff] [blame] | 43 | fun:__register_frame_info_bases |
| 44 | } |
| 45 | |
| 46 | { |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 47 | socketcall.connect(serv_addr)/connect/*(Param) |
njn | 11cc925 | 2002-10-07 14:42:59 +0000 | [diff] [blame] | 48 | Addrcheck,Memcheck:Param |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 49 | socketcall.connect(serv_addr) |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 50 | fun:connect |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 51 | fun:* |
| 52 | } |
| 53 | |
| 54 | { |
| 55 | strrchr/_dl_map_object_from_fd/_dl_map_object(Addr4) |
njn | 11cc925 | 2002-10-07 14:42:59 +0000 | [diff] [blame] | 56 | Addrcheck,Memcheck:Addr4 |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 57 | fun:strrchr |
| 58 | fun:_dl_map_object_from_fd |
| 59 | fun:_dl_map_object |
| 60 | } |
| 61 | |
| 62 | { |
| 63 | strrchr/_dl_map_object_from_fd/_dl_map_object(Value1) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 64 | Memcheck:Value1 |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 65 | fun:strrchr |
| 66 | fun:_dl_map_object_from_fd |
| 67 | fun:_dl_map_object |
| 68 | } |
| 69 | |
| 70 | { |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 71 | llseek(result)/lseek64/_IO_file_seek(Param) |
njn | 11cc925 | 2002-10-07 14:42:59 +0000 | [diff] [blame] | 72 | Addrcheck,Memcheck:Param |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 73 | llseek(result) |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 74 | fun:lseek64 |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 75 | fun:_IO_file_seek |
| 76 | } |
| 77 | |
| 78 | { |
| 79 | __rawmemchr/_nl_*/*locale(Addr4) |
njn | 11cc925 | 2002-10-07 14:42:59 +0000 | [diff] [blame] | 80 | Addrcheck,Memcheck:Addr4 |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 81 | fun:__rawmemchr |
| 82 | fun:_nl_* |
| 83 | fun:*locale |
| 84 | } |
| 85 | |
| 86 | # new ones for RH62 ls -l |
| 87 | { |
| 88 | __strchrnul/__nss_database_lookup(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 89 | Memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 90 | fun:__strchrnul |
| 91 | fun:__nss_database_lookup |
| 92 | } |
| 93 | { |
| 94 | __strchrnul/__gethostbyname_r(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 95 | Memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 96 | fun:__strchrnul |
| 97 | fun:__gethostbyname_r |
| 98 | } |
| 99 | |
| 100 | { |
| 101 | strrchr/_dl_map*/_dl_map*(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 102 | Memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 103 | fun:strrchr |
| 104 | fun:_dl_map* |
| 105 | fun:_dl_map* |
| 106 | } |
| 107 | |
| 108 | { |
| 109 | strchr/dl_open_worker/_dl_catch_error(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 110 | Memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 111 | fun:strchr |
| 112 | fun:dl_open_worker |
| 113 | fun:_dl_catch_error |
| 114 | } |
| 115 | |
| 116 | { |
| 117 | __rawmemchr/???/__getgrgid_r(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 118 | Memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 119 | fun:__rawmemchr |
| 120 | fun:* |
| 121 | fun:__getgrgid_r |
| 122 | } |
| 123 | |
| 124 | { |
| 125 | __rawmemchr/_nl_*/*locale*(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 126 | Memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 127 | fun:__rawmemchr |
| 128 | fun:_nl_* |
| 129 | fun:*locale* |
| 130 | } |
| 131 | |
| 132 | { |
| 133 | _dl_relocate_object/dl_open_worker(Value0) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 134 | Memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 135 | fun:_dl_relocate_object |
| 136 | fun:dl_open_worker |
| 137 | } |
| 138 | |
| 139 | ##----------------------------------------------------------------------## |
| 140 | ## from a Debian machine running kernel 2.2.19 I believe |
| 141 | ## I guess most of these are the same as above really, but |
| 142 | ## Debian stripped their libc-2.1.3 |
| 143 | |
| 144 | { |
| 145 | libc-2.1.3.so/libc-2.1.3.so/libc-2.1.3.so(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 146 | Memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 147 | obj:*libc-2.1.3.so |
| 148 | obj:*libc-2.1.3.so |
| 149 | obj:*libc-2.1.3.so |
| 150 | } |
| 151 | |
| 152 | { |
| 153 | strchr/libc-2.1.3.so(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 154 | Memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 155 | fun:*strchr* |
| 156 | obj:*libc-2.1.3.so |
| 157 | } |
| 158 | |
| 159 | { |
| 160 | libc-2.1.3.so/libXt.so(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 161 | Memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 162 | obj:*libc-2.1.3.so |
| 163 | obj:*libXt.so* |
| 164 | } |
| 165 | |
| 166 | { |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 167 | socketcall.connect(serv_addr)/connect/*(Param) |
njn | 11cc925 | 2002-10-07 14:42:59 +0000 | [diff] [blame] | 168 | Addrcheck,Memcheck:Param |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 169 | socketcall.connect(serv_addr) |
| 170 | obj:*libc-2.1.3.so |
| 171 | obj:*libX11.so* |
| 172 | } |