Closed 0x34d closed 1 year ago
We require contributors to sign our Contributor License Agreement. In order for us to review and merge your code, please fill https://forms.gle/5635zjphDo5JEJQSA to get added. Your document will be manually checked by the maintainer. Be patient...
We require contributors to sign our Contributor License Agreement. In order for us to review and merge your code, please fill https://forms.gle/5635zjphDo5JEJQSA to get added. Your document will be manually checked by the maintainer. Be patient...
We require contributors to sign our Contributor License Agreement. In order for us to review and merge your code, please fill https://forms.gle/5635zjphDo5JEJQSA to get added. Your document will be manually checked by the maintainer. Be patient...
Already signed it.
@cla-bot check
The cla-bot has been summoned, and re-checked this pull request!
@0x34d thank you for the PR but I'm sure that this fuzzer code will be abandoned once merged. This code is only useful if maintained by people who know how to write fuzzing tests and it should be included in a CI.
I do understand. Well, fuzzing of project can be done by oss-fuzz. I will not give my words, but I can add some new targets. Can you hold the PR merge? These days I'm learning Autotools. So, compiling fuzzing targets can be done in a much easier way.
Regards Arjun.
Hi @0x34d,
I merged #669 and now your work on libmodbus fuzzer is now part of your CI.
The last run (https://github.com/stephane/libmodbus/actions/runs/3567020621/jobs/5994200530) raised an issue about a non-existing directory (fuzz
from https://github.com/google/oss-fuzz/blob/master/projects/libmodbus/build.sh#L18).
Could you have a look at the issue, please?
Yes, Fuzz is not available in the root dir of libmodbus.
There are two available fix:
Update: It should have failed there.
Step 5/6 : COPY fuzz/ $SRC/libmodbus/fuzz/
Give me 1-2 days, let me see what I can do.
well, my PR is working fine. https://github.com/google/oss-fuzz/pull/9131 Merge this, then we will see. https://github.com/stephane/libmodbus/pull/658
Sorry, I don't understand what you want to merge in libmodbus project between the closed PR and the external code :/
Alright, Let's start it again.
Possibly error that you are reporting will be gone. https://github.com/stephane/libmodbus/actions/runs/3567020621/jobs/5994200530
I don't see any other option rather than that.
Arjun.
Sorry but I don't want to merge code I'm not able to maintain (it contains zip files) and a different license. The second point seems to delete files added by #658 :/
My goal here was to only fix the CI that uses the oss-fuzz branch but not merge the fuzz programs.
My goal here was to only fix the CI that uses the oss-fuzz branch but not merge the fuzz programs.
Well, in that case, open an issue in OSS-Fuzz. Sorry, I'm not understanding what's going on and I'm unable to fix it.
Regards Arjun.
Hi, stephane
The bug is in:
2022-11-28 17:10:47,428 - root - INFO - Running: docker run --rm --privileged --shm-size=2g --platform linux/amd64 -e FUZZING_ENGINE=libfuzzer -e CIFUZZ=True -e SANITIZER=address -e ARCHITECTURE=x86_64 -e FUZZING_LANGUAGE=c -e OUT=/github/workspace/build-out --volumes-from d96866fa1a2b gcr.io/oss-fuzz/libmodbus /bin/bash -c 'cp -r /src/libmodbus /github/workspace/storage/libmodbus'.
2022-11-28 17:10:47,968 - root - DEBUG - Stderr of command "git checkout -f f6689ba621d18a446ea2162079d9c84be246d310" is: Note: switching to 'f6689ba621d18a446ea2162079d9c84be246d310'.
when switching the branch. fuzz
folder disappears.
---> 4be8994ab1eb
Step 5/6 : COPY fuzz/ $SRC/libmodbus/fuzz/
There are two way's to fix.
For Everything related to oss-fuzz.