• ricea's avatar
    Support split chunk input for WebSocketFrameParser fuzzer · 105ae61b
    ricea authored
    net::WebSocketFrameParser keeps state between calls as a WebSocket frame header
    can span multiple reads from the underlying socket. Up until now, the fuzzer
    only simulated one read. By passing the input in multiple chunks, the coverage
    of the fuzzer is increased.
    
    Also increase max_len to 256. As the per-iteration setup cost is quite high for
    this fuzzer, a larger input length makes the coverage from each iteration higher
    without significantly harming speed.
    
    R=yhirano
    BUG=
    
    Review-Url: https://codereview.chromium.org/2309723002
    Cr-Commit-Position: refs/heads/master@{#417224}
    105ae61b
websocket_frame_parser_fuzzer.cc 880 Bytes