HomePhabricator

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

Authored by hctim on Jul 16 2019, 1:06 PM.

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

llvm-svn: 366253

Details

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