mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 16:21:58 +01: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 62451fd3eb68cef5dcdafe6e4228f08cf52d84fc.
		
			
				
	
	
		
			13 lines
		
	
	
		
			173 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			173 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // +build gofuzz
 | |
| 
 | |
| package cache
 | |
| 
 | |
| import (
 | |
| 	"github.com/coredns/coredns/plugin/pkg/fuzz"
 | |
| )
 | |
| 
 | |
| // Fuzz fuzzes cache.
 | |
| func Fuzz(data []byte) int {
 | |
| 	return fuzz.Do(New(), data)
 | |
| }
 |