aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/cgiparam/fuzz/main.cpp
blob: 2981d851b0efb6106c630b497bd23904709f1a03 (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.
}