xref: /php-src/sapi/fuzzer/generate_all.php (revision 1584352e)
1<?php
2require __DIR__ . '/generate_unserialize_dict.php';
3require __DIR__ . '/generate_mbstring_dict.php';
4require __DIR__ . '/generate_unserializehash_corpus.php';
5require __DIR__ . '/generate_parser_corpus.php';
6
7require __DIR__ . '/generate_corpus_util.php';
8
9$baseDir = __DIR__ . '/../..';
10generate_corpus_from_phpt(
11    __DIR__ . '/corpus/execute',
12    ["$baseDir/Zend/tests", "$baseDir/ext/reflection"]
13);
14generate_corpus_from_phpt(
15    __DIR__ . '/corpus/function-jit',
16    ["$baseDir/Zend/tests", "$baseDir/ext/opcache/tests/jit"]
17);
18generate_corpus_from_phpt(
19    __DIR__ . '/corpus/tracing-jit',
20    ["$baseDir/Zend/tests", "$baseDir/ext/opcache/tests/jit"]
21);
22