You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How could I modify the files in oss-fuzz/infra/base-images/base-builder, such as compile_go_fuzzer and apply it to the compilation? When I run the command line in https:/istio/istio/tree/master/tests/fuzz/README.md :
I set my GOPATH=$HOME/go. In oss-fuzz/infra/base-images/base-builder/compile_go_fuzzer, there are some $GOPATH to directly find the position of go sources. However, as I run compile_go_fuzzer istio.io/istio/tests/fuzz func1 func2, the output is like, for example: /usr/local/bin/compile_go_fuzzer: line 28: cd: /root/go/src/istio.io/istio/tests/fuzz: No such file or directory istio.io/istio/tests/fuzz istio.io/istio/tests/fuzz Running go-fuzz -tags gofuzz -func FuzzNewBootstrapServer -o fuzz_new_bootstrap_server.aistio.io/istio/tests/fuzz
So I'm comfused about this. How to modify the compile_go_fuzzer and apply the modification into the compilation?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
How could I modify the files in oss-fuzz/infra/base-images/base-builder, such as compile_go_fuzzer and apply it to the compilation? When I run the command line in https:/istio/istio/tree/master/tests/fuzz/README.md :
python infra/helper.py build_fuzzers istio ~/go/src/istio.io/istio
There are something wrong during the running time. In istio.io/istio/tests/fuzz/oss_fuzz_build.sh, some commands are like:
compile_go_fuzzer istio.io/istio/tests/fuzz func1 func2
I set my GOPATH=$HOME/go. In oss-fuzz/infra/base-images/base-builder/compile_go_fuzzer, there are some $GOPATH to directly find the position of go sources. However, as I run compile_go_fuzzer istio.io/istio/tests/fuzz func1 func2, the output is like, for example:
/usr/local/bin/compile_go_fuzzer: line 28: cd: /root/go/src/istio.io/istio/tests/fuzz: No such file or directory
istio.io/istio/tests/fuzz
istio.io/istio/tests/fuzz
Running go-fuzz -tags gofuzz -func FuzzNewBootstrapServer -o fuzz_new_bootstrap_server.a
istio.io/istio/tests/fuzz
So I'm comfused about this. How to modify the compile_go_fuzzer and apply the modification into the compilation?
Beta Was this translation helpful? Give feedback.
All reactions