This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by hctim on Jul 9 2019, 3:17 PM.

Details

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.

Event Timeline

hctim created this revision.Jul 9 2019, 3:17 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 9 2019, 3:17 PM
Herald added subscribers: llvm-commits, Restricted Project, kubamracek. · View Herald Transcript
hctim updated this revision to Diff 208827.Jul 9 2019, 3:19 PM
  • Removed unneccessary static cast.
kcc accepted this revision.Jul 16 2019, 12:47 PM

LGTM

This revision is now accepted and ready to land.Jul 16 2019, 12:47 PM
This revision was automatically updated to reflect the committed changes.