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.
12 lines
285 B
12 lines
285 B
3 years ago
|
#![no_main]
|
||
|
|
||
|
use libfuzzer_sys::fuzz_target;
|
||
|
|
||
|
use cranelift_codegen::{settings, verify_function};
|
||
|
use cranelift_fuzzgen::TestCase;
|
||
|
|
||
|
fuzz_target!(|testcase: TestCase| {
|
||
|
let flags = settings::Flags::new(settings::builder());
|
||
|
verify_function(&testcase.func, &flags).unwrap();
|
||
|
});
|