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