scuffed-code/icu4c/source/test/fuzzer/locale_util.h
2019-01-28 15:55:17 -08:00

13 lines
392 B
C++

// © 2019 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
#ifndef I18N_ICU_FUZZ_LOCALE_UTIL_H_
#define I18N_ICU_FUZZ_LOCALE_UTIL_H_
#include <string>
// Takes uint8_t data from fuzzer, and makes a zero terminated string.
std::string MakeZeroTerminatedInput(const uint8_t* data, int32_t size);
#endif // I18N_ICU_FUZZ_LOCALE_UTIL_H_