Document detail
ID

oai:arXiv.org:2408.04344

Topic
Computer Science - Software Engine...
Author
Cheng, Baijun Zhang, Cen Wang, Kailong Shi, Ling Liu, Yang Wang, Haoyu Guo, Yao Li, Ding Chen, Xiangqun
Category

Computer Science

Year

2024

listing date

11/6/2024

Keywords
call language semantic
Metrics

Abstract

In contemporary software development, the widespread use of indirect calls to achieve dynamic features poses challenges in constructing precise control flow graphs (CFGs), which further impacts the performance of downstream static analysis tasks.

To tackle this issue, various types of indirect call analyzers have been proposed.

However, they do not fully leverage the semantic information of the program, limiting their effectiveness in real-world scenarios.

To address these issues, this paper proposes Semantic-Enhanced Analysis (SEA), a new approach to enhance the effectiveness of indirect call analysis.

Our fundamental insight is that for common programming practices, indirect calls often exhibit semantic similarity with their invoked targets.

This semantic alignment serves as a supportive mechanism for static analysis techniques in filtering out false targets.

Notably, contemporary large language models (LLMs) are trained on extensive code corpora, encompassing tasks such as code summarization, making them well-suited for semantic analysis.

Specifically, SEA leverages LLMs to generate natural language summaries of both indirect calls and target functions from multiple perspectives.

Through further analysis of these summaries, SEA can determine their suitability as caller-callee pairs.

Experimental results demonstrate that SEA can significantly enhance existing static analysis methods by producing more precise target sets for indirect calls.

;Comment: Accepted by ASE'24

Cheng, Baijun,Zhang, Cen,Wang, Kailong,Shi, Ling,Liu, Yang,Wang, Haoyu,Guo, Yao,Li, Ding,Chen, Xiangqun, 2024, Semantic-Enhanced Indirect Call Analysis with Large Language Models

Document

Open

Share

Source

Articles recommended by ES/IODE AI

Differentiating interstitial lung diseases from other respiratory diseases using electronic nose technology
breath test diagnostic test biomarker electronic nose interstitial lung diseases obstructive lung disease lung cancer clinical patients ild 0 technology copd auc asthma cancer ci test 95% respiratory diseases 00 enose