blob: e0a16e8e204be94f860fce3f4ec0029fca4e9395 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/rand_util.h"
#include "tools/ipc_fuzzer/fuzzer/rand_util.h"
namespace ipc_fuzzer {
std::mt19937* g_mersenne_twister = nullptr;
void InitRand() {
g_mersenne_twister =
new std::mt19937(static_cast<uint32_t>(base::RandUint64()));
}
} // namespace ipc_fuzzer