HomePhabricator

[GWP-ASan] Add thread ID to PRNG seed.

Description

[GWP-ASan] Add thread ID to PRNG seed.

Summary:
Adds thread ID to PRNG seed for increased entropy. In particular, this allows
multiple runs in quick succession that will have different PRNG seeds, allowing
for better demos/testing.

Reviewers: kcc

Reviewed By: kcc

Subscribers: kubamracek, #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D64453

Details

Committed
hctimJul 16 2019, 1:06 PM
Reviewer
kcc
Differential Revision
D64453: [GWP-ASan] Add thread ID to PRNG seed.
Parents
rL366252: [AMDGPU] Change register type for v32 vectors
Branches
Unknown
Tags
Unknown