1 //===-- random.h ------------------------------------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #ifndef GWP_ASAN_RANDOM_H_
10 #define GWP_ASAN_RANDOM_H_
15 // xorshift (32-bit output), extremely fast PRNG that uses arithmetic operations
16 // only. Seeded using walltime.
17 uint32_t getRandomUnsigned32();
18 } // namespace gwp_asan
20 #endif // GWP_ASAN_RANDOM_H_