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

Etusivu
Poista viesti
Lähettäjä: Tavian Barnes
Päiväys:  
Vastaanottaja: Giuseppe D'Angelo
Kopio: pcre-dev
Aihe: 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