As software systems grow in complexity, particularly in safety-critical domains, detecting defects early is crucial to prevent severe failures. Among existing automated defect detection methods, rule-based systems excel at catching well-understood mistakes but are hard to generalize beyond their predefined rules. To address this challenge, we introduce \textsc{DslGen}, a novel approach that automatically extracts high-quality defect patterns from singular defect repair examples by leveraging large language models (LLMs). Specifically, it first infers the semantic intent of a defect repair for capturing the defect’s essential characteristics via LLM-powered analysis, then generates precise constraint rules to define the defect pattern. Unlike prior methods, \textsc{DslGen} does not require numerous examples or rigid abstraction schemes, enabling robust generalization even from a single fix. To evaluate the effectiveness of \textsc{DslGen}, we evaluated it in two distinct scenarios: (1) controlled experiments and (2) a simulated real-world defect detection pipeline. In the controlled setting, results show that \textsc{DslGen} outperforms all baselines, achieving a precision up to 81.1% and a recall of over 73.0%. In the simulated scenario, \textsc{DslGen} also performed best with an average improvement of 425.1% over state-of-the-art competitors (including \text{GPT-4o}). A user study with 15 experienced developers further confirmed \textsc{DslGen}’s practicality, with participants praising the readability and generalizability of its generated DSLs and expressing strong adoption intent.
Wed 14 OctDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
14:00 - 16:00 | Testing and Analysis: Static and Dynamic Analysis 1Research Papers / Journal First at Forum 2 Chair(s): Dirk Beyer LMU Munich | ||
14:00 15mResearch paper | Every Scenario Matters: Scenario-Guided White-Box Testing for Static Code Checkers Powered by LLMs Research Papers Jun Liu Institute of Software at Chinese Academy of Sciences; University of Chinese Academy of Sciences, Liqiang Ji Institute of Software at Chinese Academy of Sciences; University of Chinese Academy of Sciences, Jiwei Yan Institute of Software, Chinese Academy of Sciences, Linjie Pan Huawei Technologies, Jinsong Ren Huawei Technologies, Jun Yan Institute of Software at Chinese Academy of Sciences; Beijing Key Laboratory of Intelligent Software Engineering; University of Chinese Academy of Sciences, Jian Zhang Institute of Software at Chinese Academy of Sciences; University of Chinese Academy of Sciences DOI | ||
14:15 15mTalk | Intent-Aware Defect Pattern Extraction from Singular Examples Journal First Jiachen Han Tianjin university, Fengjie Li Tianjin University, Jiajun Jiang Tianjin University, Ruihang Fan Tianjin University, Yingfei Xiong Peking University, Linjie Pan Huawei Technologies, Bilian Wang Huawei Cloud Computing Technologies Co. Ltd., Junjie Chen Tianjin University DOI | ||
14:30 15mTalk | Conflict Extraction in Probabilistic Datalog Analyses Research Papers Siyu Chen Purdue University, Chungha Sung Amazon Web Services, Xuyang Li Purdue University, Jingbo Wang Purdue University DOI | ||
14:45 15mTalk | Large Language Model Enabled Symbolic Execution for Automated Functional Analysis Research Papers Meixi Liu National University of Defense Technology, Zhenbang Chen National University of Defense Technology, Xudong Wang National University of Defense Technology, Ziran He National University of Defense Technology, Jiachen Gu National University of Defense Technology, Minghui Chen National University of Defense Technology, Lei Wang National University of Defense Technology, Wei Dong National University of Defense Technology DOI | ||
15:00 15mTalk | Orbis: Guiding Symbolic Execution Techniques to Maximize Option-Related Branch Coverage Research Papers Minjong Kim Sungkyunkwan University, Sungjae Hwang Sungkyunkwan University, Sooyoung Cha Sungkyunkwan University DOI Pre-print | ||
15:15 15mTalk | SIMD-Accelerated Sparse Bit-Vectors for Pointer Analysis Research Papers DOI | ||
15:30 15mTalk | IncSFS: Incremental Full-Sparse Flow-Sensitive Pointer Analysis for C/C++ Research Papers Kunlin Liu National University of Defense Technology, Zhenbang Chen National University of Defense Technology, Piyi Zu National University of Defense Technology, Yide Du National University of Defense Technology, Ji Wang National University of Defense Technology DOI | ||
15:45 15mTalk | PELSE: Asymmetric-Evidence-Guided MCU Peripheral Model Synthesis Research Papers Guohao Wu Beijing University of Posts and Telecommunications, Chunlin Wang Fudan University, Rui Yao Beijing Institute of Computer Technology and Applications, Feng Hong Beijing Institute of Computer Technology and Applications, Hongliang Liang Beijing University of Posts and Telecommunications, Qiuping Yi Beijing University of Posts and Telecommunications DOI | ||