Re: [pcre-dev] PCRE2 10.21 JIT matching causes Valgrind erro…

Página superior
Eliminar este mensaje
Autor: Tavian Barnes
Fecha:  
A: Giuseppe D'Angelo
Cc: pcre-dev
Asunto: Re: [pcre-dev] PCRE2 10.21 JIT matching causes Valgrind errors
On 13 January 2016 at 12:52, Giuseppe D'Angelo <dangelog@???> wrote:
> On Tue, Jan 12, 2016 at 10:55 PM, Tavian Barnes <tavianator@???>
> wrote:
>>
>> $ valgrind -q ./foo
>
>
> This call is very suspicious. You should pass --smc-check=all-non-file to
> Valgrind, otherwise it can't understand the JIT-generation of code.


Since valgrind 3.11, --smc-check=all-non-file is the default on
x86/amd64/s390x. If you're on 3.10.1 or earlier, you're right that
you need to pass it explicitly.

--
Tavian Barnes