pkg.re/essentialkaos/ek.10@v12.41.0+incompatible/fmtc/fuzz.go (about)

     1  //go:build gofuzz
     2  // +build gofuzz
     3  
     4  package fmtc
     5  
     6  // ////////////////////////////////////////////////////////////////////////////////// //
     7  //                                                                                    //
     8  //                         Copyright (c) 2022 ESSENTIAL KAOS                          //
     9  //      Apache License, Version 2.0 <https://www.apache.org/licenses/LICENSE-2.0>     //
    10  //                                                                                    //
    11  // ////////////////////////////////////////////////////////////////////////////////// //
    12  
    13  func Fuzz(data []byte) int {
    14  	Sprint(string(data))
    15  	return 0
    16  }