Skip to content

Commit

Permalink
format template
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamKorcz committed Feb 10, 2022
1 parent b88409b commit e8d9a2f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,16 +140,21 @@ func main() {

var mainTmpl = template.Must(template.New("main").Parse(`
// Code generated by go-118-fuzz-build; DO NOT EDIT.
// +build ignore
package main
import (
"testing"
"unsafe"
target {{printf "%q" .PkgPath}}
"github.com/AdamKorcz/go-118-fuzz-build/utils"
)
// #include <stdint.h>
import "C"
//export LLVMFuzzerTestOneInput
func LLVMFuzzerTestOneInput(data *C.char, size C.size_t) C.int {
// TODO(mdempsky): Use unsafe.Slice once golang.org/issue/19367 is accepted.
Expand Down

0 comments on commit e8d9a2f

Please sign in to comment.