Hashing fuzzing: introducing input diversity to improve crash detection

Menéndez, Héctor D. ORCID: https://orcid.org/0000-0002-6314-3725 and Clark, David (2021) Hashing fuzzing: introducing input diversity to improve crash detection. IEEE Transactions on Software Engineering . ISSN 0098-5589 [Article] (Published online first) (doi:10.1109/TSE.2021.3100858)

[img]
Preview
PDF - Final accepted version (with author's formatting)
Download (390kB) | Preview

Abstract

The utility of a test set of program inputs is strongly influenced by its diversity and its size. Syntax coverage has become a standard proxy for diversity. Although more sophisticated measures exist, such as proximity of a sample to a uniform distribution, methods to use them tend to be type dependent. We use r-wise hash functions to create a novel, semantics preserving, testability transformation for C programs that we call HashFuzz. Use of HashFuzz improves the diversity of test sets produced by instrumentation-based fuzzers. We evaluate the effect of the HashFuzz transformation on eight programs from the Google Fuzzer Test Suite using four state-of-the-art fuzzers that have been widely used in previous research. We demonstrate pronounced improvements in the performance of the test sets for the transformed programs across all the fuzzers that we used. These include strong improvements in diversity in every case, maintenance or small improvement in branch coverage – up to 4.8% improvement in the best case, and significant improvement in unique crash detection numbers – between 28% to 97% increases compared to test sets for untransformed programs

Item Type: Article
Research Areas: A. > School of Science and Technology > Computer Science
Item ID: 33682
Notes on copyright: © 2021 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.
Useful Links:
Depositing User: Hector Menendez Benito
Date Deposited: 27 Jul 2021 08:29
Last Modified: 05 Aug 2021 12:42
URI: https://eprints.mdx.ac.uk/id/eprint/33682

Actions (login required)

View Item View Item

Statistics

Downloads
Activity Overview
39Downloads
85Hits

Additional statistics are available via IRStats2.