mirror of
				https://github.com/rust-lang/rust-analyzer.git
				synced 2025-10-31 03:54:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			197 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			197 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| #![no_main]
 | |
| use libfuzzer_sys::fuzz_target;
 | |
| use ra_syntax::fuzz::CheckReparse;
 | |
| 
 | |
| fuzz_target!(|data: &[u8]| {
 | |
|     if let Some(check) = CheckReparse::from_data(data) {
 | |
|         check.run();
 | |
|     }
 | |
| });
 | 
