Abstract
The application of Large Language Models (LLMs) in software engineering, particularly in static analysis tasks, represents a paradigm shift in the field. In this paper, we investigate the role that current LLMs can play in improving callgraph analysis and type inference for Python programs. Using the PyCG, HeaderGen, and TypeEvalPy micro-benchmarks, we evaluate 26 LLMs, including OpenAI's GPT series and open-source models such as LLaMA. Our study reveals that LLMs show promising results in type inference, demonstrating higher accuracy than traditional methods, yet they exhibit limitations in callgraph analysis. This contrast emphasizes the need for specialized fine-tuning of LLMs to better suit specific static analysis tasks. Our findings provide a foundation for further research towards integrating LLMs for static analysis tasks.
| Original language | English |
|---|---|
| Title of host publication | FORGE '24 |
| Subtitle of host publication | Proceedings of the 2024 IEEE/ACM First International Conference on AI Foundation Models and Software Engineering |
| Place of Publication | New York, NY |
| Publisher | Association for Computing Machinery (ACM) |
| Pages | 35-39 |
| Number of pages | 5 |
| ISBN (Electronic) | 979-8-4007-0609-7 |
| DOIs | |
| Publication status | Published - 2024 |
| Event | 1st IEEE/ACM International Conference on AI Foundation Models and Software Engineering, FORGE 2024, co-located with the 46th ACM/IEEE International Conference on Software Engineering, ICSE 2024 - Lisbon, Portugal Duration: 14 Apr 2024 → 14 Apr 2024 https://conf.researchr.org/home/forge-2024 |
Conference
| Conference | 1st IEEE/ACM International Conference on AI Foundation Models and Software Engineering, FORGE 2024, co-located with the 46th ACM/IEEE International Conference on Software Engineering, ICSE 2024 |
|---|---|
| Country/Territory | Portugal |
| City | Lisbon |
| Period | 14/04/24 → 14/04/24 |
| Internet address |
Fingerprint
Dive into the research topics of 'The Emergence of Large Language Models in Static Analysis: A First Look Through Micro-Benchmarks'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver