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

Merge experimental/c-cpp with core #450

Open
DavidKorczynski opened this issue Jul 8, 2024 · 1 comment
Open

Merge experimental/c-cpp with core #450

DavidKorczynski opened this issue Jul 8, 2024 · 1 comment
Assignees

Comments

@DavidKorczynski
Copy link
Collaborator

Merge the logic that is used to generate oss-fuzz integrations from scratch (https://github.com/google/oss-fuzz-gen/tree/main/experimental/c-cpp) with the core oss-fuzz-gen logic. The primary goal is to enable using the core prompt generation logic in combination with auto-building procedures and to make sure improvements in one benefits both.

@DavidKorczynski
Copy link
Collaborator Author

DavidKorczynski commented Jul 8, 2024

Refs for merging the code bases: #440 (comment) and #440 (comment)

DavidKorczynski added a commit that referenced this issue Jul 9, 2024
Refactors the from-scratch logic by:
- Adding a container for build workers
- Removing unused code
- Facelifting string formatting since it was added to the CI

Note, in the `manager` and `build_generator` we can't remove the use of
`List` and `Dict` since it relies on the Python from OSS-Fuzz, which
hasn't migrated to `list` and `dict` yet.

This is working towards
#450

---------

Signed-off-by: David Korczynski <[email protected]>
DavidKorczynski added a commit that referenced this issue Jul 14, 2024
Make the code cleaner and work towards
#450

Signed-off-by: David Korczynski <[email protected]>
DavidKorczynski added a commit that referenced this issue Jul 31, 2024
Also adds argparse logic.

This is working towards end-to-end combination with core OFG.

Ref: #450

Signed-off-by: David Korczynski <[email protected]>
arthurscchan pushed a commit that referenced this issue Jul 31, 2024
Also adds argparse logic.

This is working towards end-to-end combination with core OFG.

Ref: #450

Signed-off-by: David Korczynski <[email protected]>

---------

Signed-off-by: David Korczynski <[email protected]>
arthurscchan pushed a commit that referenced this issue Aug 1, 2024
arthurscchan pushed a commit that referenced this issue Aug 21, 2024
This adds a script that performs end-to-end generation. Specifically,
the script will generate OSS-Fuzz projects given GitHub URLs to an
arbitrary project, find the top performing projects and then pass these
to OSS-Fuzz-gen core for further harness generation.

There is still more work to do, such as combining all results into one
larger OSS-Fuzz project, as well adjusting the UI to be a bit more
meaningful for non-oss-fuzz-integrated projects. This will happen in
follow-ups.

Ref: #450

---------

Signed-off-by: David Korczynski <[email protected]>
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

1 participant