paper-with-me

Papers

VulnLLMEval: A Framework for Evaluating Large Language Models in Software Vulnerability Detection and Patching

2024-09-16 · Arastoo Zibaeirad, Marco Vieira

Large Language Models (LLMs) have shown promise in tasks like code translation, prompting interest in their potential for automating software vulnerability detection (SVD) and patching (SVP). To further research in this area, establishing a benchmark is essential for evaluating the strengths and limitations of LLMs in these tasks. Despite their capabilities, questions remain regarding whether LLMs can accurately analyze complex vulnerabilities and generate appropriate patches. This paper introduces VulnLLMEval, a framework designed to assess the performance of LLMs in identifying and patching vulnerabilities in C code. Our study includes 307 real-world vulnerabilities extracted from the Linux kernel, creating a well-curated dataset that includes both vulnerable and patched code. This dataset, based on real-world code, provides a diverse and representative testbed for evaluating LLM performance in SVD and SVP tasks, offering a robust foundation for rigorous assessment. Our results reveal that LLMs often struggle with distinguishing between vulnerable and patched code. Furthermore, in SVP tasks, these models tend to oversimplify the code, producing solutions that may not be directly usable without further refinement.

📄 PDF Abstract BibTeX arXiv:2409.10756

Code (0)

등록된 구현이 없습니다.

Tasks

C++ codeCode TranslationVulnerability Detection

Methods 이 논문이 사용한 방법론

Patching Activation patching studies the model's computation by altering its latent representations, the token embeddings in transformer-based language models, during the inference process

Similar Papers 제목 키워드 기반

RITFIS: Robust input testing framework for LLMs-based intelligent software

2024-02-21 · Mingxuan Xiao, Yan Xiao, Hai Dong, Shunhui Ji 외

The dependence of Natural Language Processing (NLP) intelligent software on Large Language Models (LLMs) is increasingly prominent, underscoring the necessity for robustness testing. Current testing methods focus solely …

Combinatorial Optimizationsoftware testing

Assessing LLMs for Front-end Software Architecture Knowledge

2025-02-26 · L. P. Franciscatto Guerra, N. Ernst

Large Language Models (LLMs) have demonstrated significant promise in automating software development tasks, yet their capabilities with respect to software design tasks remains largely unclear. This study investigates t…

Patched RTC: evaluating LLMs for diverse software development tasks

2024-07-23 · Asankhaya Sharma

This paper introduces Patched Round-Trip Correctness (Patched RTC), a novel evaluation technique for Large Language Models (LLMs) applied to diverse software development tasks, particularly focusing on "outer loop" activ…

Bug fixingModel Selection

Interactive Evaluation of Large Language Models for Multi-Requirement Software Engineering Tasks

2025-08-26 · Dimitrios Rontogiannis, Maxime Peyrard, Nicolas Baldwin, Martin Josifoski 외 arxiv

Standard single-turn, static benchmarks fall short in evaluating the nuanced capabilities of Large Language Models (LLMs) on complex tasks such as software engineering. In this work, we propose a novel interactive evalua…

A System for Automated Unit Test Generation Using Large Language Models and Assessment of Generated Test Suites

2024-08-14 · Andrea Lops, Fedelucio Narducci, Azzurra Ragone, Michelantonio Trizio 외

Unit tests represent the most basic level of testing within the software testing lifecycle and are crucial to ensuring software correctness. Designing and creating unit tests is a costly and labor-intensive process that …

Code Generationsoftware testing