In this commit, the simple fuzzing tests for the isc_lex_gettoken() and isc_lex_getmastertoken() functions have been added. As part of this commit, the initialization has been moved from fuzz.h constructor/destructor to LLVMFuzzerInitialize() in each fuzz test. The main.c of no-fuzzing and AFL modes have been modified to run the LLVMFuzzerInitialize() at the start of the main() function mimicking the libfuzzer mode of operation.
7 lines
30 B
Plaintext
7 lines
30 B
Plaintext
text
|
|
to
|
|
be
|
|
processed
|
|
by
|
|
lexer
|