• ahaas's avatar
    [regexp fuzzer] Let the fuzzer input select the regexp flag. · 2ba24a71
    ahaas authored
    With this CL the regexp-parser-fuzzer uses the first byte of the fuzzer
    input to select the regexp flag instead of executing each input with all
    possible flags. Thereby the fuzzer can explore more inputs and with its
    coverage metric will explore all flags only for interesting inputs.
    
    I updated all files in test/fuzzer/regexp and added a random byte at the beginning. This byte is used by the fuzzer to determine the flag.
    
    BUG=chromium:664436
    R=yangguo@chromium.org
    
    Review-Url: https://codereview.chromium.org/2511373002
    Cr-Commit-Position: refs/heads/master@{#41176}
    2ba24a71
regexp.cc 3 KB