Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
fuzz_http_parser.cpp File Reference

Fuzzes the HTTP request parser with arbitrary bytes, checking its invariants. More...

#include "httpparser_p.h"
#include <cstdint>
#include <cstdlib>

Functions

void anonymous_namespace{fuzz_http_parser.cpp}::require (bool condition)
 Aborts (so libFuzzer reports the input) if condition is false.
int LLVMFuzzerTestOneInput (const uint8_t *data, size_t size)
 libFuzzer entry point: parses data as a stream of pipelined requests.

Detailed Description

Fuzzes the HTTP request parser with arbitrary bytes, checking its invariants.