[PATCH] D56125: [Sanitizer] Intercept arc4random_buf on FreeBSD/NetBSD
Kamil Rytarowski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 28 04:30:25 PST 2018
krytarowski added inline comments.
================
Comment at: test/sanitizer_common/TestCases/Posix/arc4random.cc:11
+ printf("arc4random\n");
+ time_t now = ::time(nullptr);
+ char buf[10];
----------------
If we want `::time()` we probably should switch to ctime cstdio cstdlib headers.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56125/new/
https://reviews.llvm.org/D56125
More information about the llvm-commits
mailing list