Use https://github.com/SophieHYe/PreciseBugs and consider some examples where only one file is modified (and the function is not too large). Get 3-5 examples per CWE and use it as few-shot learning to improve the prompt.
Can also be used in the sanitizer report to improve the CWE classification.
Use https://github.com/SophieHYe/PreciseBugs and consider some examples where only one file is modified (and the function is not too large). Get 3-5 examples per CWE and use it as few-shot learning to improve the prompt.
Can also be used in the sanitizer report to improve the CWE classification.