Enhancing Semantic Understanding in Pointer Analysis using Large Language Models
Pointer analysis has been studied for over four decades. However, existing frameworks continue to suffer from the propagation of incorrect facts. A major limitation stems from their insufficient semantic understanding of code, resulting in overly conservative treatment of user-defined functions. Recent advances in large language models (LLMs) present new opportunities to bridge this gap. In this paper, we propose LMPA (LLM-enhanced Pointer Analysis), a vision that integrates LLMs into pointer analysis to enhance both precision and scalability. LMPA identifies user-definedfunctions that resemble system APIs and models them accordingly, thereby mitigating erroneous cross-calling-context propagation. Furthermore, it enhances summary-based analysis by inferring initial points-to sets and introducing a novel summary strategy augmented with natural language. Finally, we discuss the key challenges involved in realizing this vision.
Authors
- Kailong Wang (ORCID: https://orcid.org/0000-0002-3977-6573)
- Yao Guo (ORCID: https://orcid.org/0000-0001-5064-5286)
- Ding Li (ORCID: https://orcid.org/0000-0001-7558-9137)
- Ling Shi (ORCID: https://orcid.org/0000-0002-2023-0247)
- Baijun Cheng
- Xiangqun Chen (ORCID: https://orcid.org/0000-0002-7366-5906)
- Haoyu Wang (ORCID: https://orcid.org/0000-0003-1100-8633)
Institutions
- Nanyang Technological University (SG)
- Peking University (CN)
- Huazhong University of Science and Technology (CN)
Publication Details
- Published
- 2025-10-09
- DOI
- https://doi.org/10.1145/3759425.3763393
- Primary Topic
- Advanced Malware Detection Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00