Home
last modified time | relevance | path

Searched refs:RandomState (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/gwp_asan/
H A Dguarded_pool_allocator.cpp354 uint32_t RandomState = getThreadLocals()->RandomState; in getRandomUnsigned32() local
355 RandomState ^= RandomState << 13; in getRandomUnsigned32()
356 RandomState ^= RandomState >> 17; in getRandomUnsigned32()
357 RandomState ^= RandomState << 5; in getRandomUnsigned32()
358 getThreadLocals()->RandomState = RandomState; in getRandomUnsigned32()
359 return RandomState; in getRandomUnsigned32()
/llvm-project-15.0.7/compiler-rt/lib/gwp_asan/platform_specific/
H A Dguarded_pool_allocator_tls.h22 : RandomState(0xacd979ce), NextSampleCounter(0), RecursiveGuard(false) {} in ThreadLocalPackedVariables()
27 uint32_t RandomState; member
H A Dguarded_pool_allocator_posix.cpp41 getThreadLocals()->RandomState = in initPRNG()
H A Dguarded_pool_allocator_fuchsia.cpp20 _zx_cprng_draw(&getThreadLocals()->RandomState, sizeof(uint32_t)); in initPRNG()