Re: non-PIC build broken on oss-fuzz

From: Date: Mon, 09 Sep 2019 08:03:03 +0000
Subject: Re: non-PIC build broken on oss-fuzz
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-106913@lists.php.net to get a copy of this message
Hi! On 9/9/19 12:57 AM, Dmitry Stogov wrote: > how do you add "-pie" flag? I do not. I just compile PHP. The script used to configure and build it is here: https://github.com/google/oss-fuzz/blob/master/projects/php/build.sh There are no special flags there as far as I can see. The fuzzing SAPI lives here: https://github.com/php/php-fuzzing-sapi The compiler used is clang. You can reproduce the build by using Docker and these instructions: https://google.github.io/oss-fuzz/getting-started/new-project-guide/#testing-locally Specifically: python infra/helper.py build_image php python infra/helper.py build_fuzzers --sanitizer address php or, if you want to see the details, instead of second command, use: python infra/helper.py shell php and then: compile -- Stas Malyshev smalyshev@gmail.com

« previous php.internals (#106913) next »