Straightforward implementation of getrandom syscall and libc
hooks.
Test Plan: Local MSAN failures caused by uninstrumented getrandom
calls stop failing.
Patch by Andrew Krieger.
Differential D65551
[compiler-rt] Implement getrandom interception akrieger on Jul 31 2019, 6:11 PM. Authored by
Details Straightforward implementation of getrandom syscall and libc Test Plan: Local MSAN failures caused by uninstrumented getrandom Patch by Andrew Krieger.
Diff Detail
Event TimelineComment Actions Can you please add some trivial test under compiler-rt/test/sanitizer_common ? You can't check sanitization there, just check that does not crash and return reasonable results Comment Actions @vitalybuka thanks for the quick review and accept. I need someone to commit this for me - can you do that or should I find someone else to push this for me? |