Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSS-Fuzz Build Fuzzers in Workspace Issue #11636

Open
dburkhart07 opened this issue Feb 25, 2024 · 4 comments
Open

OSS-Fuzz Build Fuzzers in Workspace Issue #11636

dburkhart07 opened this issue Feb 25, 2024 · 4 comments

Comments

@dburkhart07
Copy link

I am trying to set up a project where I use OSS-fuzz to extend cJSON's code coverage. As I am super new to this field, I am following a video for reference, which watching it may help:
https://www.youtube.com/watch?v=7bvRbESPdlM

Basically my error is approximately at 5:45 in the video. I go to build the fuzzers in the workspace after setting up the OSS-Fuzz, and I am given this output followed by an error:
Error image

I am uncertain as to how this error is coming up as to what it means. For context, my VSCode is version 1.86.2, and I am running this on Linux. I am uncertain what could be wrong with the Dockerfile as the error says because the code (including dockerfile) I got was the exact same one from the video. Any suggestions on where this error could be coming from/how to fix it?

@DavidKorczynski
Copy link
Collaborator

DavidKorczynski commented Feb 25, 2024

Hmm, the error looks like an issue that happens on MAC? Are you on a mac? just saw you said you're running on Linux.

It looks like a Docker issue, can you confirm that you can build OSS-Fuzz images using the following set of commands:

git clone https://github.com/google/oss-fuzz
cd oss-fuzz
python3 infra/helper.py build_fuzzers cjson

@DavidKorczynski
Copy link
Collaborator

DavidKorczynski commented Feb 25, 2024

Ref: looks to be another Mac issue #11489 Just saw it's being run on Linux.

@dburkhart07
Copy link
Author

@DavidKorczynski

I am having trouble with that final command out of the 3 that you posted. When I run it, I receive this warning, followed by this error:

Warning:
image

Error:
image

@DavidKorczynski
Copy link
Collaborator

Looks like you're using podman? I don't think we support this #4774 (comment) However, in the same thread there may be some guidance to get things working: #4774 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants