mirror of
https://github.com/php/php-fuzzing-sapi.git
synced 2026-03-24 01:02:16 +01:00
17 lines
594 B
Plaintext
17 lines
594 B
Plaintext
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)
|