Fork of https://github.com/oxigraph/oxigraph.git for the purpose of NextGraph project
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
353 B
11 lines
353 B
3 years ago
|
#![no_main]
|
||
|
use libfuzzer_sys::fuzz_target;
|
||
|
use sparesults::{QueryResultsFormat, QueryResultsParser, QueryResultsReader};
|
||
|
|
||
|
fuzz_target!(|data: &[u8]| {
|
||
|
let parser = QueryResultsParser::from_format(QueryResultsFormat::Xml);
|
||
|
if let Ok(QueryResultsReader::Solutions(solutions)) = parser.read_results(data) {
|
||
|
for _ in solutions {}
|
||
|
}
|
||
|
});
|