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

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