Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/php/php-fuzzing-sapi

PHP Fuzzing SAPI
https://github.com/php/php-fuzzing-sapi

Last synced: about 2 months ago
JSON representation

PHP Fuzzing SAPI

Awesome Lists containing this project

README

        

Fuzzing SAPI for PHP

Installation

For installation put this code into a directory sapi/fuzzer inside a PHP
source tree, then run `./buildconf` and `./configure` PHP using the
--enable-fuzzer switch.

You need llvm/clang's libFuzzer to be around.

When running `make` it creates these binaries in `sapi/fuzzer/`:
* php-fuzz-parser - fuzzing language parser
* php-fuzz-unserialize - fuzzing unserialize() function
* php-fuzz-json - fuzzing JSON parser
* php-fuzz-exif - fuzzing exif_read_data() function (use --enable-exif)
* php-fuzz-mbstring - fuzzing mb_ereg[i] (requires --enable-mbstring)