aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/string_utils/base64/fuzz/uneven/main.cpp
blob: 915e81a7e5eed2a082b0187991e2b9853108f9d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include <library/cpp/string_utils/base64/base64.h>

#include <util/system/types.h>
#include <util/system/yassert.h>

extern "C" int LLVMFuzzerTestOneInput(const ui8* data, size_t size) {
    const TStringBuf example{reinterpret_cast<const char*>(data), size};
    Y_UNUSED(Base64DecodeUneven(example));
    return 0;
}