Browse code

Adds 3 valgrind suppression rules to ignore the wcsrtombs false positive in UnRAR's unicode.cpp (see line 40).

Micah Snyder (micasnyd) authored on 2019/08/01 11:25:49
Showing 1 changed files
... ...
@@ -259,3 +259,28 @@
259 259
    fun:_ZN4llvm19MachineFunctionPass13runOnFunctionERNS_8FunctionE
260 260
    fun:_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE
261 261
 }
262
+{
263
+   unrar-wcsrtombs
264
+   Memcheck:Cond
265
+   fun:internal_ascii_loop
266
+   fun:__gconv_transform_internal_ascii
267
+   fun:wcsrtombs
268
+   fun:wcsrtombs
269
+   ...
270
+}
271
+{
272
+   unrar-wcsrtombs-2
273
+   Memcheck:Cond
274
+   fun:__wcsnlen_avx2
275
+   fun:wcsrtombs
276
+   fun:wcsrtombs
277
+   ...
278
+}
279
+{
280
+   unrar-wcsrtombs-3
281
+   Memcheck:Cond
282
+   fun:__wcsnlen_sse4_1
283
+   fun:wcsrtombs
284
+   fun:wcsrtombs
285
+   ...
286
+}