Abstract

Fuzz testing is an indispensable test-generation tool in software security. Fuzz testing uses automated directed randomness to explore a variety of execution paths in software, trying to expose defects such as buffer overflows. Since cyber-physical systems (CPS) are often safety-critical, testing models of CPS can also expose faults. However, while existing coverage-guided fuzz testing methods are effective for software, results can be disappointing when applied to CPS, where systems have continuous states and inputs are applied at different points in time. In this work, we propose three changes to customize coverage-guided fuzz testing methods to better leverage characteristics of CPS. First, we introduce a notion of coverage to be used to evaluate a fuzz testing algorithm's effectiveness for a particular CPS, analogous to often-used code coverage metrics of a software system. Second, this modified coverage metric is used in a customized power schedule, which selects which previous input sequences hold the most promise to find failures in new system states. Third, we modify the input mutation strategy used to reason with the causal nature of a CPS. Our proposed system, which we call CPS-Fuzz, is compared with three other fuzz testing frameworks on a autonomous car racing software and provides a superior coverage score by generating more crashes at different positions around the track.

Keywords:
Fuzz testing Computer science Code coverage Leverage (statistics) Symbolic execution Test case White-box testing Software Reliability engineering Schedule Software system Metric (unit) Machine learning Software construction Engineering Programming language Operating system

Metrics

10
Cited By
4.03
FWCI (Field Weighted Citation Impact)
44
Refs
0.90
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Software Testing and Debugging Techniques
Physical Sciences →  Computer Science →  Software
Software Reliability and Analysis Research
Physical Sciences →  Computer Science →  Software
Software System Performance and Reliability
Physical Sciences →  Computer Science →  Computer Networks and Communications

Related Documents

JOURNAL ARTICLE

AFL2oop: Loop Coverage Guided Greybox Fuzz Testing

Haochen JinLiwei ZhengZhanqi Cui

Journal:   Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering Year: 2023 Vol: 2023 Pages: 250-255
JOURNAL ARTICLE

Coverage-guided fuzz testing method based on reinforcement learning seed scheduling

J. TaoChao HongYun FuYiwei YangLipeng WeiZhihong LiangJunrong Liu

Journal:   Journal of Physics Conference Series Year: 2024 Vol: 2816 (1)Pages: 012107-012107
© 2026 ScienceGate Book Chapters — All rights reserved.