追踪感知和双策略模糊测试:利用随机科学和大型语言模型增强路径覆盖和碰撞定位

IF 4 3区 计算机科学 Q1 COMPUTER SCIENCE, HARDWARE & ARCHITECTURE
Xiaoquan Chen , Jian Liu , Yingkai Zhang , Qinsong Hu , Yupeng Han , Ruqi Zhang , Jingqi Ran , Lei Yan , Baiqi Huang , Shengtin Ma
{"title":"追踪感知和双策略模糊测试:利用随机科学和大型语言模型增强路径覆盖和碰撞定位","authors":"Xiaoquan Chen ,&nbsp;Jian Liu ,&nbsp;Yingkai Zhang ,&nbsp;Qinsong Hu ,&nbsp;Yupeng Han ,&nbsp;Ruqi Zhang ,&nbsp;Jingqi Ran ,&nbsp;Lei Yan ,&nbsp;Baiqi Huang ,&nbsp;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":"{\"title\":\"TraceAwareness and dual-strategy fuzz testing: Enhancing path coverage and crash localization with stochastic science and large language models\",\"authors\":\"Xiaoquan Chen ,&nbsp;Jian Liu ,&nbsp;Yingkai Zhang ,&nbsp;Qinsong Hu ,&nbsp;Yupeng Han ,&nbsp;Ruqi Zhang ,&nbsp;Jingqi Ran ,&nbsp;Lei Yan ,&nbsp;Baiqi Huang ,&nbsp;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}","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

摘要

本文提出了一种创新的模糊测试技术,以解决传统方法固有的路径覆盖和碰撞定位挑战。我们引入TraceAwareness,一种精确跟踪和记录程序执行路径的技术,显著提高了模糊测试效率和问题可追溯性。此外,我们提出了一种基于随机科学理论和大语言模型技术的双策略方法(DSM-SST-LLMT),将随机探索与智能分析相结合,有效地生成测试输入。实验评估表明,与afl++的35%相比,我们的技术实现了85%的边缘覆盖率,发现了3000条新路径,而afl++为800条,并识别了8个afl++没有发现的严重崩溃。我们的方法在处理复杂和多样化的输入方面表现出特别的优势,达到afl++最大路径深度的2-3倍。该研究为提高软件测试效率和可靠性提供了新的方向,在关键基础设施、基于云的系统和物联网环境中具有潜在的应用前景。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
TraceAwareness and dual-strategy fuzz testing: Enhancing path coverage and crash localization with stochastic science and large language models
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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Computers & Electrical Engineering
Computers & Electrical Engineering 工程技术-工程:电子与电气
CiteScore
9.20
自引率
7.00%
发文量
661
审稿时长
47 days
期刊介绍: 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.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信