mirror of
				https://github.com/coredns/coredns.git
				synced 2025-11-04 03:03:14 -05: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
 | 
						|
}
 |