mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-29 17:24:20 -04:00 
			
		
		
		
	* update all +build statements Signed-off-by: MQasimSarfraz <syed.qasim.sarfraz@gmail.com> * remove old +build style Signed-off-by: MQasimSarfraz <syed.qasim.sarfraz@gmail.com>
		
			
				
	
	
		
			13 lines
		
	
	
		
			185 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			185 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| //go:build gofuzz
 | |
| 
 | |
| package test
 | |
| 
 | |
| // Fuzz fuzzes a corefile.
 | |
| func Fuzz(data []byte) int {
 | |
| 	_, _, _, err := CoreDNSServerAndPorts(string(data))
 | |
| 	if err != nil {
 | |
| 		return 1
 | |
| 	}
 | |
| 	return 0
 | |
| }
 |