MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / getSingleSymbolString

Method getSingleSymbolString

system/lib/wasmfs/fuzzer/random.cpp:70–72  ·  view source on GitHub ↗

Returns a random length string of the same character.

Source from the content-addressed store, hash-verified

68
69// Returns a random length string of the same character.
70std::string Random::getSingleSymbolString(uint32_t length) {
71 return std::string(length, getString(1)[0]);
72}
73
74} // namespace wasmfs

Callers 1

executeMethod · 0.80

Calls 2

stringFunction · 0.50
getStringFunction · 0.50

Tested by

no test coverage detected