mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-04 18:13:42 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			192 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			192 B
		
	
	
	
		
			Go
		
	
	
	
	
	
//go:build gofuzz
 | 
						|
// +build gofuzz
 | 
						|
 | 
						|
package ini
 | 
						|
 | 
						|
import (
 | 
						|
	"bytes"
 | 
						|
)
 | 
						|
 | 
						|
func Fuzz(data []byte) int {
 | 
						|
	b := bytes.NewReader(data)
 | 
						|
 | 
						|
	if _, err := Parse(b); err != nil {
 | 
						|
		return 0
 | 
						|
	}
 | 
						|
 | 
						|
	return 1
 | 
						|
}
 |