Skip to content
  • Maria Kustova's avatar
    image-fuzzer: Fuzzing functions for qcow2 images · 6d5e9372
    Maria Kustova authored
    
    
    The fuzz submodule of the qcow2 image generator contains fuzzing functions for
    image fields.
    Each fuzzing function contains a list of constraints and a call of a helper
    function that randomly selects a fuzzed value satisfied to one of constraints.
    For now constraints include only known as invalid or potentially dangerous
    values. But after investigation of code coverage by fuzz tests they will be
    expanded by heuristic values based on inner checks and flows of a program
    under test.
    
    Now fuzzing of a header, header extensions and a backing file name is
    supported.
    
    Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
    Signed-off-by: default avatarMaria Kustova <maria.k@catit.be>
    Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
    6d5e9372