blob: e7b09f0f55d353ebdf0a750c35fd3a05a85aa5b8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <util/string/strip.h>
#include <util/charset/wide.h>
extern "C" int LLVMFuzzerTestOneInput(const ui8* data, size_t size) {
TUtf16String w((const wchar16*)data, size / 2);
Collapse(w);
TString s((const char*)data, size);
CollapseInPlace(s);
return 0; // Non-zero return values are reserved for future use.
}
|