]>
Commit | Line | Data |
---|---|---|
3d1f044b A |
1 | // © 2019 and later: Unicode, Inc. and others. |
2 | // License & terms of use: http://www.unicode.org/copyright.html | |
3 | ||
4 | #include <string> | |
5 | ||
6 | #include "locale_util.h" | |
7 | #include "unicode/uloc.h" | |
8 | ||
9 | extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { | |
10 | const std::string input = MakeZeroTerminatedInput(data, size); | |
11 | ||
12 | uloc_isRightToLeft(input.c_str()); | |
13 | ||
14 | return 0; | |
15 | } |