blob: 6a14afe71c08813fc75052d190df403ca4bc6146 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include <library/cpp/monlib/encode/spack/spack_v1.h>
#include <library/cpp/monlib/encode/fake/fake.h>
#include <util/stream/mem.h>
extern "C" int LLVMFuzzerTestOneInput(const ui8* data, size_t size) {
using namespace NMonitoring;
TMemoryInput min{data, size};
auto encoder = EncoderFake();
try {
DecodeSpackV1(&min, encoder.Get());
} catch (...) {
}
return 0;
}
|