Skip to content

Get and log the source code of the fuzz target and build script. - #1065

Merged
AmPaschal merged 6 commits into
google:mainfrom
AmPaschal:log-fuzz-target
Jun 13, 2025
Merged

Get and log the source code of the fuzz target and build script.#1065
AmPaschal merged 6 commits into
google:mainfrom
AmPaschal:log-fuzz-target

Conversation

@AmPaschal

@AmPaschal AmPaschal commented May 19, 2025

Copy link
Copy Markdown
Collaborator

This Pull Request modifies oss-fuzz-gen to retrieve and log the fuzz target and build script, used in each fuzzing cycle, in the experiment's final report.
This is to facilitate debugging and improve fuzzing transparency during fuzz target generation.

This commit also modifies the create_ossfuzz_project to return the path of the generated oss-fuzz project so it can read the files from the project.
Finally, this commit adds the retrieved sources to the report log.
Comment thread stage/execution_stage.py Outdated
Comment thread experiment/evaluator.py

@oliverchang oliverchang left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey @AmPaschal , thanks for this change! Can you please add some context / reasoning behind this change in the PR description?

@AmPaschal

AmPaschal commented May 23, 2025

Copy link
Copy Markdown
Collaborator Author

hey @AmPaschal , thanks for this change! Can you please add some context / reasoning behind this change in the PR description?

I have updated the PR description.

@AmPaschal
AmPaschal requested review from jonathanmetzman and removed request for jonathanmetzman May 23, 2025 13:18
@DonggeLiu

Copy link
Copy Markdown
Collaborator

/gcbrun exp -n pa -m vertex_ai_gemini-2-5-pro-chat -ag

@DonggeLiu

Copy link
Copy Markdown
Collaborator

/gcbrun

@oliverchang

Copy link
Copy Markdown
Collaborator

/gcbrun exp -n pa -m vertex_ai_gemini-2-5-pro-chat -ag

@AmPaschal

Copy link
Copy Markdown
Collaborator Author

/gcbrun exp -n pamusuo -m vertex_ai_gemini-2-5-pro-chat -ag

Comment thread stage/execution_stage.py Outdated
Comment thread stage/execution_stage.py
@AmPaschal

Copy link
Copy Markdown
Collaborator Author

/gcbrun exp -n pamusuo -m vertex_ai_gemini-2-5-pro-chat -ag -b quick-test

@AmPaschal
AmPaschal merged commit 48a0d49 into google:main Jun 13, 2025
gabe-sherman pushed a commit to FuturesLab/oss-fuzz-gen-plain that referenced this pull request Jan 6, 2026
…gle#1065)

This Pull Request modifies oss-fuzz-gen to retrieve and log the fuzz
target and build script, used in each fuzzing cycle, in the experiment's
final report.
This is to facilitate debugging and improve fuzzing transparency during
fuzz target generation.
MarkLee131 pushed a commit to MarkLee131/logicfuzz that referenced this pull request Jun 18, 2026
…gle#1065)

This Pull Request modifies oss-fuzz-gen to retrieve and log the fuzz
target and build script, used in each fuzzing cycle, in the experiment's
final report.
This is to facilitate debugging and improve fuzzing transparency during
fuzz target generation.
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

Successfully merging this pull request may close these issues.

3 participants