google / oss-fuzz-gen

LLM powered fuzzing via OSS-Fuzz.
Apache License 2.0
841 stars 98 forks source link

JVM: Add resources closing suggestion to JVM prompts #528

Closed arthurscchan closed 1 month ago

arthurscchan commented 2 months ago

This PR fixes the prompt generation of JVM projects. It includes new requirements to close resource classes to reduce the chance of OOM in generated fuzzers before too many opened resource objects.

arthurscchan commented 2 months ago

/gcbrun exp -n ascc-jvm-pr-528-1 -m vertex_ai_gemini-1-5 -b jvm-small

arthurscchan commented 2 months ago

/gcbrun exp -n ascc-jvm-pr-528-2 -m vertex_ai_gemini-1-5 -b jvm-medium

arthurscchan commented 1 month ago

In favour of adding the API in FI, this PR is no longer needed.