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

refactor build generator #911

Open
DavidKorczynski opened this issue Mar 22, 2025 · 1 comment
Open

refactor build generator #911

DavidKorczynski opened this issue Mar 22, 2025 · 1 comment
Assignees

Comments

@DavidKorczynski
Copy link
Collaborator

https://github.com/google/oss-fuzz-gen/tree/main/experimental/c-cpp is used for generating builds and also has legacy code for harness generation and evaluation. We should:

  • remove the harness generation logic
  • focus the logic only on build generation
  • make a seamless integration with OFG harness generation logic
@DavidKorczynski DavidKorczynski self-assigned this Mar 22, 2025
DavidKorczynski added a commit that referenced this issue Mar 22, 2025
AdamKorcz pushed a commit that referenced this issue Mar 22, 2025
ref: #911

---------

Signed-off-by: David Korczynski <[email protected]>
DavidKorczynski added a commit that referenced this issue Mar 22, 2025
AdamKorcz pushed a commit that referenced this issue Mar 22, 2025
ref: #911

---------

Signed-off-by: David Korczynski <[email protected]>
DavidKorczynski added a commit that referenced this issue Mar 22, 2025
AdamKorcz pushed a commit that referenced this issue Mar 22, 2025
DavidKorczynski added a commit that referenced this issue Mar 22, 2025
Makes it possible to run auto harness generation on
generated builds as part of the same command

```sh
MODEL=gpt-4o python3 -m experimental.build_generator.runner \
  -of oss-fuzz/ -i targets2.txt -o generated-3 --generate-harness
```

ref: #911

Signed-off-by: David Korczynski <[email protected]>
DavidKorczynski added a commit that referenced this issue Mar 22, 2025
Makes it possible to run auto harness generation on generated builds as
part of the same command

```sh
MODEL=gpt-4o python3 -m experimental.build_generator.runner \
  -of oss-fuzz/ -i targets2.txt -o generated-3 --generate-harness
```

ref: #911

Signed-off-by: David Korczynski <[email protected]>
@oliverchang
Copy link
Collaborator

thanks! can we close this now?

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