8 lines
218 B
Rust
8 lines
218 B
Rust
#![no_main]
|
|
use libfuzzer_sys::fuzz_target;
|
|
use crftng_intrprtrs::lexer;
|
|
|
|
fuzz_target!(|input: (&str, Option<&str>)| {
|
|
let mut lexer = lexer::Lexer::new(input.0, input.1);
|
|
let _ = lexer.scan_tokens().ok();
|
|
});
|