aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/cgiparam/fuzz/main.cpp
blob: 69d82b5f32f9fcba8038afd5784fe2b6a0a58144 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#include <library/cpp/cgiparam/cgiparam.h>

extern "C" int LLVMFuzzerTestOneInput(const ui8* data, size_t size) {
    try {
        TCgiParameters(TStringBuf((const char*)data, size));
    } catch (...) {
        // ¯\_(ツ)_/¯
    }

    return 0; // Non-zero return values are reserved for future use.
}