...

Text file src/github.com/transparency-dev/merkle/.clusterfuzzlite/build.sh

Documentation: github.com/transparency-dev/merkle/.clusterfuzzlite

     1# https://google.github.io/oss-fuzz/getting-started/new-project-guide/go-lang/#buildsh
     2# undocumented dependency
     3go install github.com/AdamKorcz/go-118-fuzz-build@c5484365413eb6c532d2dbd0d16b553988ce6852
     4go get github.com/AdamKorcz/go-118-fuzz-build/testing@c5484365413eb6c532d2dbd0d16b553988ce6852
     5
     6# workaround https://github.com/AdamKorcz/go-118-fuzz-build/issues/2
     7mv testonly/constants.go        testonly/constants_fuzz.go
     8mv testonly/reference_test.go   testonly/reference_test_fuzz.go
     9mv testonly/tree_test.go        testonly/tree_test_fuzz.go
    10mv testonly/tree.go             testonly/tree_fuzz.go
    11
    12# necessary to list each fuzz test explicitly
    13compile_native_go_fuzzer github.com/transparency-dev/merkle/compact FuzzRangeNodes FuzzRangeNodes
    14compile_native_go_fuzzer github.com/transparency-dev/merkle/testonly FuzzConsistencyProofAndVerify FuzzConsistencyProofAndVerify
    15compile_native_go_fuzzer github.com/transparency-dev/merkle/testonly FuzzInclusionProofAndVerify FuzzInclusionProofAndVerify
    16compile_native_go_fuzzer github.com/transparency-dev/merkle/testonly FuzzHashAtAgainstReferenceImplementation FuzzHashAtAgainstReferenceImplementation
    17compile_native_go_fuzzer github.com/transparency-dev/merkle/testonly FuzzInclusionProofAgainstReferenceImplementation FuzzInclusionProofAgainstReferenceImplementation
    18compile_native_go_fuzzer github.com/transparency-dev/merkle/testonly FuzzConsistencyProofAgainstReferenceImplementation FuzzConsistencyProofAgainstReferenceImplementation

View as plain text