mlsanityData to 7 Oct 2026

Vulnerability Detection in C/C++ Code with Deep Learning

arXiv 2405.12384 ↗First posted 20 May 2024cs.CR cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Deep learning has been shown to be a promising tool in detecting software vulnerabilities. In this work, we train neural networks with program slices extracted from the source code of C/C++ programs to detect software vulnerabilities. The program slices capture the syntax and semantic characteristics of vulnerability-related program constructs, including API function call, array usage, pointer usage, and arithmetic expression. To achieve a strong prediction model for both vulnerable code and non-vulnerable code, we compare different types of training data, different optimizers, and different types of neural networks. Our result shows that combining different types of characteristics of source code and using a balanced number of vulnerable program slices and non-vulnerable program slices produce a balanced accuracy in predicting both vulnerable code and non-vulnerable code. Among different neural networks, BGRU with the ADAM optimizer performs the best in detecting software vulnerabilities with an accuracy of 92.49%.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 11 of its 52 references that are in the map. First posted on arXiv 20 May 2024.

Builds on

11 of 52 references.

References · 11

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  3. 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 266
  4. 2018SySeVR: A Framework for Using Deep Learning to Detect Software Vulnerabilitiescited by 91
  5. 2021Vulnerability Detection with Fine-grained Interpretationscited by 56
  6. 2022LineVD: Statement-level Vulnerability Detection using Graph Neural Networkscited by 35
  7. 2018Semantically Enhanced Software Traceability Using Deep Learning Techniquescited by 22
  8. 2022MVD: Memory-Related Vulnerability Detection Based on Flow-Sensitive Graph Neural Networkscited by 12
  9. 2021Dynamic Vulnerability Detection on Smart Contracts Using Machine Learningcited by 4
  10. 2017SAIC: Identifying Configuration Files for System Configuration Managementcited by 1
  11. 2017Ocasta: Clustering Configuration Settings For Error Recoverycited by 1

Built on by

Not cited yet.