Issue #714 Added the fuzzy test. (#1011)
* Issue #714 Added the fuzzy test. sumarry: 1. Added a new parameter "fuzzer" to nebula_add_test(cmake). Turn on this parameter indicates that the current test is a fuzzy test. 2. Currently only a simple fuzzy test has been added for paser module. 3. The current fuzzy test only supports Clang, so if the compiler was gcc it will skip. * Move the fuzzer test from the "test" directory to the "fuzzing" directory. * added the missed cmake file. * 1. Added a document for fuzz test 2. Added the AFL dictionary for fuzzy test * Fixed conflict. * address @dutor's comment. * Add a new cmake option ENABLE_FUZZ_TEST to control whether to enable the fuzz test.
Showing
- CMakeLists.txt 17 additions, 2 deletionsCMakeLists.txt
- src/parser/test/CMakeLists.txt 4 additions, 0 deletionssrc/parser/test/CMakeLists.txt
- src/parser/test/fuzzing/CMakeLists.txt 7 additions, 0 deletionssrc/parser/test/fuzzing/CMakeLists.txt
- src/parser/test/fuzzing/ParserFuzzer.cpp 16 additions, 0 deletionssrc/parser/test/fuzzing/ParserFuzzer.cpp
- src/parser/test/fuzzing/README.md 11 additions, 0 deletionssrc/parser/test/fuzzing/README.md
- src/parser/test/fuzzing/nebula.dict 180 additions, 0 deletionssrc/parser/test/fuzzing/nebula.dict
src/parser/test/fuzzing/CMakeLists.txt
0 → 100644
src/parser/test/fuzzing/ParserFuzzer.cpp
0 → 100644
src/parser/test/fuzzing/README.md
0 → 100644
src/parser/test/fuzzing/nebula.dict
0 → 100644
Please register or sign in to comment