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

Function getSeed

system/lib/wasmfs/fuzzer/fuzzer.cpp:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27bool VERBOSE = false;
28
29uint64_t getSeed() {
30 // Return a (truly) random 64-bit value.
31 std::random_device rand;
32 return std::uniform_int_distribution<uint64_t>{}(rand);
33}
34
35struct Fuzzer {
36 void run(uint64_t seed) {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected