From 3c39a1936612dac94ce3d866f6b7399d56a24051 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 17 Dec 2019 15:59:42 +0100 Subject: [PATCH] [php] Enable memory sanitizer (#3141) --- projects/php/build.sh | 1 + projects/php/project.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/projects/php/build.sh b/projects/php/build.sh index c5871162a..0dd2a79e5 100755 --- a/projects/php/build.sh +++ b/projects/php/build.sh @@ -37,6 +37,7 @@ export CXXFLAGS="$CXXFLAGS -fno-sanitize=object-size" --enable-json \ --enable-exif \ --enable-mbstring \ + --without-pcre-jit \ --disable-phpdbg \ --disable-cgi \ --with-pic diff --git a/projects/php/project.yaml b/projects/php/project.yaml index bccd56b75..552002989 100644 --- a/projects/php/project.yaml +++ b/projects/php/project.yaml @@ -6,6 +6,7 @@ auto_ccs: sanitizers: - address - undefined + - memory architectures: - x86_64 - i386