[PATCH] D66391: [Sanitizer] arc4random interception on Mac
Julian Lettner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 19 09:46:06 PDT 2019
yln added a comment.
I am not sure, but should we now call `REAL(arc...)` below?
compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp:1180:
bool GetRandom(void *buffer, uptr length, bool blocking) {
if (!buffer || !length || length > 256)
return false;
// arc4random never fails.
arc4random_buf(buffer, length);
return true;
}
Repository:
rCRT Compiler Runtime
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66391/new/
https://reviews.llvm.org/D66391
More information about the llvm-commits
mailing list