Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
97 tokens/sec
GPT-4o
53 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
5 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

D2A: A Dataset Built for AI-Based Vulnerability Detection Methods Using Differential Analysis (2102.07995v1)

Published 16 Feb 2021 in cs.SE, cs.AI, and cs.LG

Abstract: Static analysis tools are widely used for vulnerability detection as they understand programs with complex behavior and millions of lines of code. Despite their popularity, static analysis tools are known to generate an excess of false positives. The recent ability of Machine Learning models to understand programming languages opens new possibilities when applied to static analysis. However, existing datasets to train models for vulnerability identification suffer from multiple limitations such as limited bug context, limited size, and synthetic and unrealistic source code. We propose D2A, a differential analysis based approach to label issues reported by static analysis tools. The D2A dataset is built by analyzing version pairs from multiple open source projects. From each project, we select bug fixing commits and we run static analysis on the versions before and after such commits. If some issues detected in a before-commit version disappear in the corresponding after-commit version, they are very likely to be real bugs that got fixed by the commit. We use D2A to generate a large labeled dataset to train models for vulnerability identification. We show that the dataset can be used to build a classifier to identify possible false alarms among the issues reported by static analysis, hence helping developers prioritize and investigate potential true positives first.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (9)
  1. Yunhui Zheng (11 papers)
  2. Saurabh Pujar (14 papers)
  3. Burn Lewis (2 papers)
  4. Luca Buratti (13 papers)
  5. Edward Epstein (2 papers)
  6. Bo Yang (427 papers)
  7. Jim Laredo (8 papers)
  8. Alessandro Morari (10 papers)
  9. Zhong Su (8 papers)
Citations (103)

Summary

We haven't generated a summary for this paper yet.