gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 1 | |
| 2 | ##----------------------------------------------------------------------## |
| 3 | |
| 4 | # Errors to suppress by default with glibc 2.2.4 |
| 5 | |
| 6 | # Format of this file is: |
| 7 | # { |
| 8 | # name_of_suppression |
| 9 | # kind: one of Param Value1 Value2 Value4 Value8 |
| 10 | # Free Addr1 Addr2 Addr4 Addr8 |
| 11 | # Cond (previously known as Value0) |
| 12 | # (if Param: name of system call param, if Free: name of free-ing fn) |
| 13 | # caller0 name, or /name/of/so/file.so |
| 14 | # caller1 name, or ditto |
| 15 | # (optionally: caller2 name) |
| 16 | # (optionally: caller3 name) |
| 17 | # } |
| 18 | |
| 19 | |
| 20 | # even more glibc suppressions ? |
| 21 | { |
| 22 | libc-2.2.4.so/libc-2.2.4.so/libc-2.2.4.so(Cond) |
| 23 | Cond |
| 24 | obj:*libc-2.2.4.so |
| 25 | obj:*libc-2.2.4.so |
| 26 | obj:*libc-2.2.4.so |
| 27 | } |
| 28 | { |
| 29 | libc-2.2.4.so/libc-2.2.4.so/libc-2.2.4.so(Value4) |
| 30 | Value4 |
| 31 | obj:*libc-2.2.4.so |
| 32 | obj:*libc-2.2.4.so |
| 33 | obj:*libc-2.2.4.so |
| 34 | } |
| 35 | |
| 36 | ##### glibc 2.2.5 stuff perhaps? |
| 37 | ##### suppressions for coolo |
| 38 | { |
| 39 | strchr/dl_open_worker(Cond) |
| 40 | Cond |
| 41 | fun:strchr |
| 42 | fun:dl_open_worker |
| 43 | } |
| 44 | { |
| 45 | __rawmemchr/internal_getgrgid_r(Cond) |
| 46 | Cond |
| 47 | fun:__rawmemchr |
| 48 | fun:internal_getgrgid_r |
| 49 | } |
| 50 | { |
| 51 | _IO_vfprintf/__strnlen(Cond) |
| 52 | Cond |
| 53 | fun:__strnlen |
| 54 | fun:_IO_vfprintf |
| 55 | } |
| 56 | { |
| 57 | __strchrnul/gethostbyname*(Cond) |
| 58 | Cond |
| 59 | fun:__strchrnul |
| 60 | fun:gethostbyname* |
| 61 | } |
| 62 | |
| 63 | |
| 64 | ##---- |
| 65 | { |
| 66 | strlen/*dl_map_object*(Cond) |
| 67 | Cond |
| 68 | fun:strlen |
| 69 | fun:*dl_map_object* |
| 70 | } |
| 71 | |
| 72 | { |
| 73 | strlen/*dl_open_worker*(Cond) |
| 74 | Cond |
| 75 | fun:strlen |
| 76 | fun:*dl_open_worker* |
| 77 | } |
| 78 | |
| 79 | { |
| 80 | *rawmemchr*/*nss*(Cond) |
| 81 | Cond |
| 82 | fun:*rawmemchr* |
| 83 | fun:*nss* |
| 84 | } |
| 85 | |
| 86 | { |
| 87 | *strchrnul*/*nss*(Cond) |
| 88 | Cond |
| 89 | fun:*strchrnul* |
| 90 | fun:*nss* |
| 91 | } |
| 92 | |
| 93 | # gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98) |
| 94 | # on Red Hat 7.2 (x86) miscompiles __mpn_construct_double in |
| 95 | # __mpn_construct_double (../sysdeps/ieee754/dbl-64/mpn2dbl.c:45) |
| 96 | # (glibc-2.2.4) to read and write below %esp. Hence the following |
| 97 | # two: |
| 98 | { |
| 99 | __mpn_construct_double/*(Addr4) |
| 100 | Addr4 |
| 101 | fun:__mpn_construct_double |
| 102 | fun:* |
| 103 | } |
| 104 | { |
| 105 | __mpn_construct_double/*(Addr8) |
| 106 | Addr8 |
| 107 | fun:__mpn_construct_double |
| 108 | fun:* |
| 109 | } |
| 110 | |
| 111 | # More of the same (gcc bug, I'm pretty sure) |
| 112 | { |
| 113 | __fabs/*(Addr4) |
| 114 | Addr4 |
| 115 | fun:__fabs |
| 116 | fun:* |
| 117 | } |
| 118 | { |
| 119 | __fabs/*(Addr8) |
| 120 | Addr8 |
| 121 | fun:__fabs |
| 122 | fun:* |
| 123 | } |
| 124 | |
| 125 | |
| 126 | # Not sure what this is about ... but anyway |
| 127 | { |
| 128 | pthread_sighandler/*(Addr4) |
| 129 | Addr4 |
| 130 | fun:pthread_sighandler |
| 131 | fun:* |
| 132 | } |
| 133 | |
| 134 | |
| 135 | # More glibc stuff, AFAICS |
| 136 | |
| 137 | { |
| 138 | __strnlen/__argz_stringify/_nl_make_l10nflist(Cond) |
| 139 | Cond |
| 140 | fun:__strnlen |
| 141 | fun:__argz_stringify |
| 142 | fun:_nl_make_l10nflist |
| 143 | } |
| 144 | |
| 145 | #-------------- |
| 146 | { |
| 147 | _dl_relocate_object/dl_open_worker/_dl_catch_error(Cond) |
| 148 | Cond |
| 149 | fun:_dl_relocate_object |
| 150 | fun:dl_open_worker |
| 151 | fun:_dl_catch_error |
| 152 | } |
| 153 | { |
| 154 | _dl_relocate_object/libc-2.2.4.so/_dl_catch_error(Cond) |
| 155 | Cond |
| 156 | fun:_dl_relocate_object |
| 157 | obj:*libc-2.2.4.so |
| 158 | fun:_dl_catch_error |
| 159 | } |
| 160 | |
| 161 | { |
| 162 | strrchr/_dl_map_object_from_fd/_dl_map_object(Cond) |
| 163 | Cond |
| 164 | fun:strrchr |
| 165 | fun:_dl_map_object_from_fd |
| 166 | fun:_dl_map_object |
| 167 | } |
| 168 | |
| 169 | #------------------- |
| 170 | { |
| 171 | socketcall.connect(serv_addr)/__libc_connect/* |
| 172 | Param |
| 173 | socketcall.connect(serv_addr) |
| 174 | fun:__libc_connect |
| 175 | fun:* |
| 176 | } |
| 177 | { |
| 178 | socketcall.connect(serv_addr)/libc-2.2.4.so/libc-2.2.4.so |
| 179 | Param |
| 180 | socketcall.connect(serv_addr) |
| 181 | obj:*libc-2.2.4.so |
| 182 | obj:*libc-2.2.4.so |
| 183 | } |
| 184 | |
| 185 | #---------------------- |
| 186 | { |
| 187 | write(buf)/__libc_write/libX11.so.6.2/libX11.so.6.2(Param) |
| 188 | Param |
| 189 | write(buf) |
| 190 | fun:__libc_write |
| 191 | obj:/usr/X11R6/lib/libX11.so.6.2 |
| 192 | obj:/usr/X11R6/lib/libX11.so.6.2 |
| 193 | } |
| 194 | { |
| 195 | write(buf)/libc-2.2.4.so/libX11.so.6.2/libX11.so.6.2(Param) |
| 196 | Param |
| 197 | write(buf) |
| 198 | obj:*libc-2.2.4.so |
| 199 | obj:/usr/X11R6/lib/libX11.so.6.2 |
| 200 | obj:/usr/X11R6/lib/libX11.so.6.2 |
| 201 | } |
| 202 | |
| 203 | #{ |
| 204 | # llseek(result)/__libc_lseek64/_IO_file_seek(Param) |
| 205 | # Param |
| 206 | # llseek(result) |
| 207 | # fun:__libc_lseek64 |
| 208 | # fun:_IO_file_seek |
| 209 | #} |
| 210 | |
| 211 | { |
| 212 | writev(vector[...])/__writev/libX11.so.6.2/libX11.so.6.2 |
| 213 | Param |
| 214 | writev(vector[...]) |
| 215 | fun:__writev |
| 216 | obj:/usr/X11R6/lib/libX11.so.6.2 |
| 217 | obj:/usr/X11R6/lib/libX11.so.6.2 |
| 218 | } |
| 219 | |
| 220 | #---------------- |
| 221 | { |
| 222 | __rawmemchr/libXt.so.6.0/libXt.so.6.0 |
| 223 | Cond |
| 224 | fun:__rawmemchr |
| 225 | obj:/usr/X11R6/lib/libXt.so.6.0 |
| 226 | obj:/usr/X11R6/lib/libXt.so.6.0 |
| 227 | } |
| 228 | { |
| 229 | libc-2.2.4.so/libXt.so.6.0/libXt.so.6.0 |
| 230 | Cond |
| 231 | obj:*libc-2.2.4.so |
| 232 | obj:/usr/X11R6/lib/libXt.so.6.0 |
| 233 | obj:/usr/X11R6/lib/libXt.so.6.0 |
| 234 | } |
| 235 | |
| 236 | ##----------------------------------------------------------------------## |
| 237 | |