Fork of https://github.com/oxigraph/oxigraph.git for the purpose of NextGraph project
11 lines
199 B
11 lines
199 B
![]()
3 years ago
|
#![no_main]
|
||
|
use libfuzzer_sys::fuzz_target;
|
||
|
use spargebra::Query;
|
||
|
use std::str;
|
||
|
|
||
|
fuzz_target!(|data: &[u8]| {
|
||
|
if let Ok(data) = str::from_utf8(data) {
|
||
|
Query::parse(data, None);
|
||
|
}
|
||
|
});
|