# go114-fuzz-build **Repository Path**: ryuo/go114-fuzz-build ## Basic Information - **Project Name**: go114-fuzz-build - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-04-27 - **Last Updated**: 2022-04-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Intro go114-fuzz-build is a mostly-drop-in replacement for [go-fuzz-build](github.com/dvyukov/go-fuzz-build)'s `-libfuzzer` build mode, but uses cmd/compile's native libfuzzer instrumentation (included experimentally since Go 1.14) instead of source-to-source transformation. # Example 1. Install go114-fuzz-build: ``` sh $ go get -u github.com/mdempsky/go114-fuzz-build ``` 2. Build Kubernetes fuzz target with go114-fuzz-build and link against libFuzzer: ``` sh $ git clone --depth=1 git clone --depth 1 https://github.com/kubernetes/kubernetes.git $ cd kubernetes $ go114-fuzz-build -o yaml_FuzzSigYaml.a -func FuzzSigYaml ./test/fuzz/yaml $ clang -o yaml_FuzzSigYaml yaml_FuzzSigYaml.a -fsanitize=fuzzer ```