mirror of
				https://github.com/coredns/coredns.git
				synced 2025-11-03 02:33:21 -05:00 
			
		
		
		
	This can't be used in its current form; revert the entire PR.
Revert "fuzzing: allow setup function to be called (#3175)"
This reverts commit 62451fd3eb.
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			183 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			183 B
		
	
	
	
		
			Go
		
	
	
	
	
	
// +build gofuzz
 | 
						|
 | 
						|
package chaos
 | 
						|
 | 
						|
import (
 | 
						|
	"github.com/coredns/coredns/plugin/pkg/fuzz"
 | 
						|
)
 | 
						|
 | 
						|
// Fuzz fuzzes cache.
 | 
						|
func Fuzz(data []byte) int {
 | 
						|
	c := Chaos{}
 | 
						|
	return fuzz.Do(c, data)
 | 
						|
}
 |