php-src/sapi/fuzzer
2019-09-16 16:04:09 +02:00
..
corpus
config.m4
fuzzer-exif.c Add fuzzer SAPIs to the core 2019-09-16 16:04:09 +02:00
fuzzer-json.c Add fuzzer SAPIs to the core 2019-09-16 16:04:09 +02:00
fuzzer-mbstring.c Add fuzzer SAPIs to the core 2019-09-16 16:04:09 +02:00
fuzzer-parser.c Add fuzzer SAPIs to the core 2019-09-16 16:04:09 +02:00
fuzzer-sapi.c Add fuzzer SAPIs to the core 2019-09-16 16:04:09 +02:00
fuzzer-sapi.h Add fuzzer SAPIs to the core 2019-09-16 16:04:09 +02:00
fuzzer-unserialize.c Add fuzzer SAPIs to the core 2019-09-16 16:04:09 +02:00
fuzzer.h Add fuzzer SAPIs to the core 2019-09-16 16:04:09 +02:00
json.dict
Makefile.frag
README

Fuzzing SAPI for PHP

Enable fuzzing targets with --enable-fuzzer switch.

Your compiler should support -fsanitize=address and you need
to have Fuzzer library 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)