Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
27
bool VERBOSE = false;
28
29
uint64_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
35
struct Fuzzer {
36
void run(uint64_t seed) {
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected