Zhiyu Duan, Yujia Li, Pubo Ma, Xiaodong Gou, Shunkun Yang
{"title":"一种基于进化策略的多层故障触发框架,用于自动生成测试用例","authors":"Zhiyu Duan, Yujia Li, Pubo Ma, Xiaodong Gou, Shunkun Yang","doi":"10.1109/QRS-C57518.2022.00045","DOIUrl":null,"url":null,"abstract":"The powerful technique, symbolic execution, has become a promising approach for analyzing deep complex software failure modes recently. However, as the software scale grows rapidly in intelligent automatic control system, these methods unavoidably suffer the curse of path explosion and low global coverage. To solve the problem, an evolutionary strategy guided symbolic execution framework is proposed for triggering hard-to-excite input-relevant faults. A novel alternate asynchronous search strategy is adopted to enhance the breadth-search capability of symbol execution. Furthermore, by combining ANGR, a popular symbolic execution engine, and genetic algorithm, this method synchronously triggers the potentially hidden hybrid fault modes at different levels in the software architecture. Case studies on the SIR test suite demonstrate that the GA-enhanced symbolic execution greatly improves coverage and accelerates test convergence. Among them, the coverage rate has increased by up to 23.7%. With a baseline of 95% line coverage, the proposed method can reduce the number of iterations by at least 43.3%.","PeriodicalId":183728,"journal":{"name":"2022 IEEE 22nd International Conference on Software Quality, Reliability, and Security Companion (QRS-C)","volume":"65 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A Multi-Layer Fault Triggering Framework based on Evolutionary Strategy Guided Symbolic Execution for Automated Test Case Generation\",\"authors\":\"Zhiyu Duan, Yujia Li, Pubo Ma, Xiaodong Gou, Shunkun Yang\",\"doi\":\"10.1109/QRS-C57518.2022.00045\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The powerful technique, symbolic execution, has become a promising approach for analyzing deep complex software failure modes recently. However, as the software scale grows rapidly in intelligent automatic control system, these methods unavoidably suffer the curse of path explosion and low global coverage. To solve the problem, an evolutionary strategy guided symbolic execution framework is proposed for triggering hard-to-excite input-relevant faults. A novel alternate asynchronous search strategy is adopted to enhance the breadth-search capability of symbol execution. Furthermore, by combining ANGR, a popular symbolic execution engine, and genetic algorithm, this method synchronously triggers the potentially hidden hybrid fault modes at different levels in the software architecture. Case studies on the SIR test suite demonstrate that the GA-enhanced symbolic execution greatly improves coverage and accelerates test convergence. Among them, the coverage rate has increased by up to 23.7%. With a baseline of 95% line coverage, the proposed method can reduce the number of iterations by at least 43.3%.\",\"PeriodicalId\":183728,\"journal\":{\"name\":\"2022 IEEE 22nd International Conference on Software Quality, Reliability, and Security Companion (QRS-C)\",\"volume\":\"65 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-12-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 IEEE 22nd International Conference on Software Quality, Reliability, and Security Companion (QRS-C)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/QRS-C57518.2022.00045\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE 22nd International Conference on Software Quality, Reliability, and Security Companion (QRS-C)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/QRS-C57518.2022.00045","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
A Multi-Layer Fault Triggering Framework based on Evolutionary Strategy Guided Symbolic Execution for Automated Test Case Generation
The powerful technique, symbolic execution, has become a promising approach for analyzing deep complex software failure modes recently. However, as the software scale grows rapidly in intelligent automatic control system, these methods unavoidably suffer the curse of path explosion and low global coverage. To solve the problem, an evolutionary strategy guided symbolic execution framework is proposed for triggering hard-to-excite input-relevant faults. A novel alternate asynchronous search strategy is adopted to enhance the breadth-search capability of symbol execution. Furthermore, by combining ANGR, a popular symbolic execution engine, and genetic algorithm, this method synchronously triggers the potentially hidden hybrid fault modes at different levels in the software architecture. Case studies on the SIR test suite demonstrate that the GA-enhanced symbolic execution greatly improves coverage and accelerates test convergence. Among them, the coverage rate has increased by up to 23.7%. With a baseline of 95% line coverage, the proposed method can reduce the number of iterations by at least 43.3%.