A Vulnerability Detection Method for Intermediate Code Based on a Relational Dependency Graph

With the advancement of information technology, the rapid increase in software systems has led to a growing demand for research on vulnerability detection. In recent years, the fast-paced development of deep learning has introduced new approaches and directions for this field. Existing source code vulnerability detection methods often fail to explicitly preserve the semantic information related to vulnerabilities in the source code, leading to difficulties in extracting vulnerable code features and high false-positive rates in detection. To address these issues, this study proposes a vulnerability detection method for intermediate code based on a relational dependency graph (RDG). After converting the source code into an intermediate representation, it is mapped to an RDG, which accurately expresses the data and control flow dependencies within the program. This approach retains critical node features and refines the types of control flow and data flow edges. By leveraging this method, it becomes possible to trace program data and control dependencies, understand data flow directions, and analyze interactions between different parts of the program, enabling the precise identification and interpretation of potential security vulnerabilities. Drawing on concepts from code property graphs (CPG), this method enhances the understanding and capture of complex relationships between nodes in graph-structured data. By performing vulnerability detection on intermediate code, this approach avoids false positives and negatives caused by language or platform-specific differences, thereby enabling deeper identification and interpretation of complex vulnerability patterns in source code. Experimental results on the SARD dataset demonstrate that the proposed method achieves a high precision rate of 98.7% for detecting command injection vulnerabilities (CWE78), significantly outperforming traditional methods.

Authors

Institutions

Publication Details

Published
2024-12-17
DOI
https://doi.org/10.1109/trustcom63139.2024.00277
Primary Topic
Software Reliability and Analysis Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Vulnerability Detection Method for Intermediate Code Based on a Relational Dependency Graph

Wenbo Liu, Bing Xia, Yu Dong, Chongjun Tang et al.
Software Reliability and Analysis Research
article

A Vulnerability Detection Method for Intermediate Code Based on a Relational Dependency Graph

Wenbo Liu, Bing Xia, Yu Dong, Chongjun Tang, Shihao Chu
article en

Abstract

With the advancement of information technology, the rapid increase in software systems has led to a growing demand for research on vulnerability detection. In recent years, the fast-paced development of deep learning has introduced new approaches and directions for this field. Existing source code vulnerability detection methods often fail to explicitly preserve the semantic information related to vulnerabilities in the source code, leading to difficulties in extracting vulnerable code features and high false-positive rates in detection. To address these issues, this study proposes a vulnerability detection method for intermediate code based on a relational dependency graph (RDG). After converting the source code into an intermediate representation, it is mapped to an RDG, which accurately expresses the data and control flow dependencies within the program. This approach retains critical node features and refines the types of control flow and data flow edges. By leveraging this method, it becomes possible to trace program data and control dependencies, understand data flow directions, and analyze interactions between different parts of the program, enabling the precise identification and interpretation of potential security vulnerabilities. Drawing on concepts from code property graphs (CPG), this method enhances the understanding and capture of complex relationships between nodes in graph-structured data. By performing vulnerability detection on intermediate code, this approach avoids false positives and negatives caused by language or platform-specific differences, thereby enabling deeper identification and interpretation of complex vulnerability patterns in source code. Experimental results on the SARD dataset demonstrate that the proposed method achieves a high precision rate of 98.7% for detecting command injection vulnerabilities (CWE78), significantly outperforming traditional methods.

Zhongyuan University of Technology (CN)
Reduced inequalities
Openalex Percentile: Top 71%
Software Reliability and Analysis Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.