Fork of https://github.com/oxigraph/oxigraph.git for the purpose of NextGraph project
10 lines
353 B
10 lines
353 B
#![no_main]
|
|
use libfuzzer_sys::fuzz_target;
|
|
use sparesults::{QueryResultsFormat, QueryResultsParser, QueryResultsReader};
|
|
|
|
fuzz_target!(|data: &[u8]| {
|
|
let parser = QueryResultsParser::from_format(QueryResultsFormat::Tsv);
|
|
if let Ok(QueryResultsReader::Solutions(solutions)) = parser.read_results(data) {
|
|
for _ in solutions {}
|
|
}
|
|
});
|
|
|