mirror of
				https://github.com/coredns/coredns.git
				synced 2025-11-04 03:03:14 -05:00 
			
		
		
		
	
		
			
	
	
		
			14 lines
		
	
	
		
			181 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			14 lines
		
	
	
		
			181 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								// +build fuzz
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								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)
							 | 
						||
| 
								 | 
							
								}
							 |