Xiaoquan Chen , Jian Liu , Yingkai Zhang , Qinsong Hu , Yupeng Han , Ruqi Zhang , Jingqi Ran , Lei Yan , Baiqi Huang , Shengtin Ma
{"title":"TraceAwareness and dual-strategy fuzz testing: Enhancing path coverage and crash localization with stochastic science and large language models","authors":"Xiaoquan Chen , Jian Liu , Yingkai Zhang , Qinsong Hu , Yupeng Han , Ruqi Zhang , Jingqi Ran , Lei Yan , Baiqi Huang , Shengtin Ma","doi":"10.1016/j.compeleceng.2025.110266","DOIUrl":null,"url":null,"abstract":"<div><div>This paper proposes an innovative fuzzing technique to address path coverage and crash localization challenges inherent in traditional methods. We introduce TraceAwareness, a technology for precise tracking and recording of program execution paths, significantly enhancing fuzzing efficiency and issue traceability. Additionally, we present a dual-strategy method (DSM-SST-LLMT) based on stochastic science theory and large language model technology, combining random exploration with intelligent analysis for effective test input generation. Experimental evaluations demonstrate that our technique achieves 85% edge coverage compared to AFL++’s 35%, discovers 3,000 new paths versus AFL++’s 800, and identifies 8 critical crashes where AFL++ found none. Our approach shows particular strength in handling complex and diverse inputs, reaching 2-3 times the maximum path depth of AFL++. This research offers new directions for improving software testing efficiency and reliability, with potential applications in critical infrastructure, cloud-based systems, and IoT environments.</div></div>","PeriodicalId":50630,"journal":{"name":"Computers & Electrical Engineering","volume":"123 ","pages":"Article 110266"},"PeriodicalIF":4.0000,"publicationDate":"2025-03-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers & Electrical Engineering","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0045790625002095","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0
Abstract
This paper proposes an innovative fuzzing technique to address path coverage and crash localization challenges inherent in traditional methods. We introduce TraceAwareness, a technology for precise tracking and recording of program execution paths, significantly enhancing fuzzing efficiency and issue traceability. Additionally, we present a dual-strategy method (DSM-SST-LLMT) based on stochastic science theory and large language model technology, combining random exploration with intelligent analysis for effective test input generation. Experimental evaluations demonstrate that our technique achieves 85% edge coverage compared to AFL++’s 35%, discovers 3,000 new paths versus AFL++’s 800, and identifies 8 critical crashes where AFL++ found none. Our approach shows particular strength in handling complex and diverse inputs, reaching 2-3 times the maximum path depth of AFL++. This research offers new directions for improving software testing efficiency and reliability, with potential applications in critical infrastructure, cloud-based systems, and IoT environments.
期刊介绍:
The impact of computers has nowhere been more revolutionary than in electrical engineering. The design, analysis, and operation of electrical and electronic systems are now dominated by computers, a transformation that has been motivated by the natural ease of interface between computers and electrical systems, and the promise of spectacular improvements in speed and efficiency.
Published since 1973, Computers & Electrical Engineering provides rapid publication of topical research into the integration of computer technology and computational techniques with electrical and electronic systems. The journal publishes papers featuring novel implementations of computers and computational techniques in areas like signal and image processing, high-performance computing, parallel processing, and communications. Special attention will be paid to papers describing innovative architectures, algorithms, and software tools.