In this work, we present RIMFuzz, which employs a real-time impact-aware mutation strategy for library API fuzzing. Specifically, RIMFuzz infers the real-time impact of APIs on coverage during fuzzing, while capturing the benefits of mutations on the impact. Based on the dynamic feedback that sequence and value mutation bring to the impact, RIMFuzz adjusts the probability of selecting them accordingly. Moreover, both the activated impact of each API and the number of times the API has been selected are considered to determine which object is to be operated by distinct mutators. The experimental results show that RIMFuzz outperforms baselines in code coverage and can be applied to test real-world libraries at a minor development cost. With the help of RIMFuzz, we reported 11 new bugs to the corresponding maintainers, of which 9 have been fixed.
@article{wang2025rimfuzz, title={RIMFuzz: real-time impact-aware mutation for library API fuzzing}, author={Wang, Xiaoke and Zhao, Lei}, journal={Journal of King Saud University Computer and Information Sciences}, volume={37}, number={4}, pages={1--17}, year={2025}, publisher={Springer} }