surrealpatch/sdk/fuzz/fuzz_targets/fuzz_sql_parser.rs

9 lines
129 B
Rust
Raw Permalink Normal View History

#![no_main]
use libfuzzer_sys::fuzz_target;
fuzz_target!(|data: &str| {
// Don't crash.
_ = surrealdb::sql::parse(data);
});