-
Notifications
You must be signed in to change notification settings - Fork 185
WIP: Combine changes from function analyzer (PR 1107) and crash analyzer (PR 1109) #1111
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
base: main
Are you sure you want to change the base?
Conversation
This commit includes the following tasks: - implements a function analyzer agent using the ADK library. - implements a function that gets a function's source using the FuzzIntrospector API. - Provides this function as a tool to the function analyzer agent. - Adds basic prompt templates for the agent. - Creates a test file that can be used to access the agent independently.
…nction-analyzer-main
…s-fuzz-gen into introspector-tool
…s not need to perform any operation while waiting for results from the agent.
This commit refactors the agentic workflow so that the function's source is retrieved deterministically and included in the agemt. The prompts are also more specific on what requirements should be extracted.
…s-fuzz-gen into introspector-tool
First, the context retriever agent retrieves the source code of the function and its children for analysis. Then, the requirements extractor agent
…raw result and the list of requirements. The commit also updates function_analyzer_test to process multiple benchmarks in a provided file and write the results to a results file.
…trospector-tool
…alysis result to google cloud storage.
…nalyzer to get the model name dynamically.
…tion and its context are first retrieved, and passed to the agent in the prompt.
…lyzer to other agents. Modified the prototyper to consume requirements from function analyzer.
It's a bit confusing we use CHAT for both chat and ask utility functions. This changes so it's clear from the logging when each of them is used. Signed-off-by: David Korczynski <[email protected]>
This PR mainly implements a crash analyzer that can interact with LLDB in the multi-agent framework, and supports GPT. In addition, this PR attempts to fix the problem of not replacing the fuzz target and build script. This PR is under testing. The main logic is no longer changing, and minor bugs are being fixed. TODO: Optimize the process of agent interaction with LLDB. Solve the problem of missing debugging information for some projects. Try to add LLM-based static methods to enhance the crash analyzer. --------- Co-authored-by: Dongge Liu <[email protected]>
Fixing broken OSS-Fuzz projects is a common task and something we could leverage OFG to do. This adds an initial agent-based approach for doing this and it has already been used to fix google/oss-fuzz#13389 and other projects locally. ``` oss-fuzz-generator fix-build --project PROJECT_NAME --model ${MODEL} ``` --------- Signed-off-by: David Korczynski <[email protected]>
- Works better with C/CXX - Improve prompt writings - Improve OSS-Fuzz build_fuzzers/check_build validation - Improves code quality --------- Signed-off-by: David Korczynski <[email protected]>
Signed-off-by: David Korczynski <[email protected]>
Signed-off-by: David Korczynski <[email protected]>
Signed-off-by: David Korczynski <[email protected]>
Signed-off-by: David Korczynski <[email protected]>
…1086) Signed-off-by: David Korczynski <[email protected]>
…nticAnalysis result
/gcbrun exp -n pamusuo -m vertex_ai_gemini-2-5-pro-chat -ag -b quick-test |
/gcbrun exp -n pamusuo -m vertex_ai_gemini-2-5-pro-chat -ag -b quick-test |
/gcbrun exp -n pamusuo -m vertex_ai_gemini-2-5-pro-chat -ag |
/gcbrun exp -n pamusuo1 -m vertex_ai_gemini-2-5-pro-chat -ag |
…rge-fa-ca-enhancer-changes
…tegrate-pct-in-fa
…d even when function wasnt found.
/gcbrun exp -n pa -m vertex_ai_gemini-2-5-pro-chat -ag |
…-fuzz-gen into integrate-pct-in-fa
…uzz-gen into merge-fa-ca-enhancer-changes
/gcbrun exp -n pa -m vertex_ai_gemini-2-5-pro-chat -ag |
/gcbrun exp -n pamusuo -m vertex_ai_gemini-2-5-pro-chat -ag -b quick-test |
This PR is created to test changes from multiple branches. Will be closed after testing, while the individual PRs will proceed to code review.