File size: 542 Bytes
1e94262 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | git clone \
https://github.com/php/php-src.git
#
export CFLAGS="$CFLAGS -fno-sanitize=object-size"
export CXXFLAGS="$CXXFLAGS -fno-sanitize=object-size"
export CFLAGS="$CFLAGS -DPROFITABILITY_CHECKS=0"
./buildconf --force
./configure $BUILD_FLAG \
--disable-all \
--enable-debug-assertions \
--enable-option-checking=fatal \
--enable-fuzzer \
--enable-exif \
--enable-opcache \
--without-pcre-jit \
--disable-phpdbg \
--disable-cgi \
--with-pic
make
sapi/cli/php sapi/fuzzer/generate_all.php |