blob: 93a76518d354719587a069af7d76a5193a8e0093 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#![no_main]
use libfuzzer_sys::fuzz_target;
use xixanta::assembler::Assembler;
use xixanta::mapping::get_mapping_configuration;
fuzz_target!(|data: &[u8]| {
let config = get_mapping_configuration("empty").unwrap();
let mut asm = Assembler::new(config);
let _ = asm.assemble(std::env::current_dir().unwrap().to_path_buf(), data);
});
|