RIFF: Reduced Instruction Footprint for Coverage-Guided Fuzzing

被引:0
|
作者
Wang, Mingzhe [1 ]
Liang, Jie [1 ]
Zhou, Chijin [1 ]
Jiang, Yu [1 ]
Wang, Rui [2 ]
Sun, Chengnian [3 ]
Sun, Jiaguang [1 ]
机构
[1] Tsinghua Univ, Beijing, Peoples R China
[2] Capital Normal Univ, Beijing, Peoples R China
[3] Waterloo Univ, Waterloo, ON, Canada
关键词
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Coverage-guided fuzzers use program coverage measurements to explore different program paths efficiently. The coverage pipeline consists of runtime collection and post-execution processing procedures. First, the target program executes instrumentation code to collect coverage information. Then the fuzzer performs an expensive analysis on the collected data, yet most program executions lead to no increases in coverage. Inefficient implementations of these steps significantly reduce the fuzzer's overall throughput. In this paper, we propose RIFF, a highly efficient program coverage measurement mechanism to reduce fuzzing overhead. For the target program, RIFF moves computations originally done at runtime to instrumentation-time through static program analysis, thus reducing instrumentation code to a bare minimum. For the fuzzer, RIFF processes coverage with different levels of granularity and utilizes vector instructions to improve throughput. We implement RIFF in state-of-the-art fuzzers such as AFL and MOpt and evaluate its performance on real-world programs in Google's FuzzBench and fuzzer-test-suite. The results show that RIFF improves coverage measurement efficiency of fuzzers by 23x and 6x during runtime collection and post-execution processing, respectively. As a result, the fuzzers complete 147% more executions, and use only 6.53 hours to reach the 24-hour coverage of baseline fuzzers on average.
引用
收藏
页码:147 / 159
页数:13
相关论文
共 50 条
  • [1] Verifying Instruction Set Simulators using Coverage-guided Fuzzing
    Herdt, Vladimir
    Grosse, Daniel
    Le, Hoang M.
    Drechsler, Rolf
    [J]. 2019 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE), 2019, : 360 - 365
  • [2] SPINALFUZZ: Coverage-Guided Fuzzing for SpinalHDL Designs
    Ruep, Katharina
    Grosse, Daniel
    [J]. 2022 IEEE EUROPEAN TEST SYMPOSIUM (ETS 2022), 2022,
  • [3] REFuzz: A Remedy for Saturation in Coverage-Guided Fuzzing
    Lyu, Qian
    Zhang, Dalin
    Da, Rihan
    Zhang, Hailong
    [J]. ELECTRONICS, 2021, 10 (16)
  • [4] Coverage-guided Fuzzing for Feedforward Neural Networks
    Xie, Xiaofei
    Chen, Hongxu
    Li, Yi
    Ma, Lei
    Liu, Yang
    Zhao, Jianjun
    [J]. 34TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2019), 2019, : 1162 - 1165
  • [5] Enhancing Coverage-Guided Fuzzing via Phantom Program
    Wu, Mingyuan
    Chen, Kunqiu
    Luo, Qi
    Xiang, Jiahong
    Qi, Ji
    Chen, Junjie
    Cui, Heming
    Zhang, Yuqun
    [J]. PROCEEDINGS OF THE 31ST ACM JOINT MEETING EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, ESEC/FSE 2023, 2023, : 1037 - 1049
  • [6] TensorFuzz: Debugging Neural Networks with Coverage-Guided Fuzzing
    Odena, Augustus
    Olsson, Catherine
    Andersen, David G.
    Goodfellow, Ian
    [J]. INTERNATIONAL CONFERENCE ON MACHINE LEARNING, VOL 97, 2019, 97
  • [7] Coverage-guided fuzzing for deep reinforcement learning systems
    Wan, Xiaohui
    Li, Tiancheng
    Lin, Weibin
    Cai, Yi
    Zheng, Zheng
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2024, 210
  • [8] Tardis: Coverage-Guided Embedded Operating System Fuzzing
    Shen, Yuheng
    Xu, Yiru
    Sun, Hao
    Liu, Jianzhong
    Xu, Zichen
    Cui, Aiguo
    Shi, Heyuan
    Jiang, Yu
    [J]. IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2022, 41 (11) : 4563 - 4574
  • [9] CoCoFuzzing: Testing Neural Code Models With Coverage-Guided Fuzzing
    Wei, Moshi
    Huang, Yuchao
    Yang, Jinqiu
    Wang, Junjie
    Wang, Song
    [J]. IEEE TRANSACTIONS ON RELIABILITY, 2023, 72 (03) : 1276 - 1289
  • [10] Forkfuzz: Leveraging the Fork-Awareness in Coverage-Guided Fuzzing
    Maugeri, Marcello
    Daniele, Cristian
    Bella, Giampaolo
    [J]. COMPUTER SECURITY. ESORICS 2023 INTERNATIONAL WORKSHOPS, CPS4CIP, PT II, 2024, 14399 : 291 - 308