mirror of
				https://github.com/bblanchon/ArduinoJson.git
				synced 2025-11-04 00:21:36 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			306 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			306 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash
 | 
						|
# This script mimics an invocation from https://github.com/google/oss-fuzz
 | 
						|
 | 
						|
cd $(dirname $0)
 | 
						|
export CXX='clang++'
 | 
						|
export CXXFLAGS='-fsanitize-coverage=trace-pc-guard -fsanitize=address'
 | 
						|
export LIB_FUZZING_ENGINE=-lFuzzer
 | 
						|
make OUT=.
 | 
						|
./json_fuzzer my_corpus seed_corpus -max_len=1024 -timeout=10
 |