mlsanityData to 14 Oct 2026

Code2Image: Intelligent Code Analysis by Computer Vision Techniques and Application to Vulnerability Prediction

arXiv 2105.03131 ↗First posted 7 May 2021cs.SE cs.CR cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

Intelligent code analysis has received increasing attention in parallel with the remarkable advances in the field of machine learning (ML) in recent years. A major challenge in leveraging ML for this purpose is to represent source code in a useful form that ML algorithms can accept as input. In this study, we present a novel method to represent source code as image while preserving semantic and syntactic properties, which paves the way for leveraging computer vision techniques to use for code analysis. Indeed the method makes it possible to directly enter the resulting image representation of source codes into deep learning (DL) algorithms as input without requiring any further data pre-processing or feature extraction step. We demonstrate feasibility and effectiveness of our method by realizing a vulnerability prediction use case over a public dataset containing a large number of real-world source code samples with performance evaluation in comparison to the state-of-art solutions. Our implementation is publicly available.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 8 of its 33 references that are in the map. First posted on arXiv 7 May 2021.

Builds on

8 of 33 references.

References · 8

  1. 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 272
  2. 2018code2vec: Learning Distributed Representations of Codecited by 250
  3. 2017Learning to Represent Programs with Graphscited by 220
  4. 2018code2seq: Generating Sequences from Structured Representations of Codecited by 179
  5. 2018Automated Vulnerability Detection in Source Code Using Deep Representation Learningcited by 114
  6. 2020Learning to map source code to software vulnerability using code-as-a-graphcited by 9
  7. 2019Semantic Source Code Models Using Identifier Embeddingscited by 6
  8. 2021Awareness of Secure Coding Guidelines in the Industry -- A first data analysiscited by 1

Built on by

Cited by year

Citing papers per year: 2021: 1; 2022: 1.

2 papers.