On 13 January 2016 at 11:44,  <[email protected]> wrote:
> On Wed, 13 Jan 2016, Zoltán Herczeg wrote:
>
>> I don't really know much about suppressing valgrind errors.
>
>> >$ cat valgrind.supp
>> >{
>> >  PCRE2 JIT wide loads
>> >  Memcheck:Cond
>> >  obj:???
>> >}
>
> This suppressor does it for me:
>
> {
>    name
>    Memcheck:Addr16
>    obj:*
>    obj:*
>    obj:*
> }

I saw that one in the PCRE2 source, but that's a different error
(about a too-wide load, vs. use of uninitialized bytes).  Anyway, that
one will suppress all Addr16 errors, even in non-JIT code, because
obj:* matches everything.  obj:??? like I had in the initial email
matches only unknown objects.

-- 
Tavian Barnes

-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to