JOURNAL ARTICLE

INSTRIM: Lightweight Instrumentation for Coverage-guided Fuzzing

Abstract

Empowered by instrumentation, coverage-guided fuzzing monitors the program execution path taken by an input, and prioritizes inputs based on their contribution to code coverage.Although instrumenting every basic block ensures full visibility, it slows down the fuzzer and thus the speed of vulnerability discovery.This paper shows that thanks to common program structures (e.g., directed acyclic subgraphs and simple loops) and compiler optimization (e.g., knowledge of incoming edges), it is possible to accurately reconstruct coverage information by instrumenting only a small fraction of basic blocks.Specifically, we formulate the problem as a path differentiation problem on the control flow graph, and propose an efficient algorithm to select basic blocks that need to be instrumented so that different execution paths remain differentiable.We extend AFL to support such CFG-aware instrumentation.Our experiment results confirm that, compared with full instrumentation, our CFG-aware instrumentation only needs to instrument about 20% of basic blocks while offering 1.04-1.78xspeedup during fuzzing.Finally, we highlight several technical challenges and promising research directions to further improve instrumentation for fuzzing.

Keywords:
Fuzz testing Instrumentation (computer programming) Computer science Programming language Software

Metrics

43
Cited By
8.44
FWCI (Field Weighted Citation Impact)
10
Refs
0.97
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Software Testing and Debugging Techniques
Physical Sciences →  Computer Science →  Software
Advanced Malware Detection Techniques
Physical Sciences →  Computer Science →  Signal Processing
Software Engineering Research
Physical Sciences →  Computer Science →  Information Systems

Related Documents

JOURNAL ARTICLE

CBGF: Callback Coverage Guided Fuzzing

Ho Young HwangDaesung Moon

Journal:   IEEE Access Year: 2025 Vol: 13 Pages: 68831-68840
JOURNAL ARTICLE

Tardis: Coverage-Guided Embedded Operating System Fuzzing

Yuheng ShenYiru XuHao SunJianzhong LiuZichen XuAiguo CuiHeyuan ShiYu Jiang

Journal:   IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems Year: 2022 Vol: 41 (11)Pages: 4563-4574
© 2026 ScienceGate Book Chapters — All rights reserved.