[PATCH] D56125: [Sanitizer] Intercept arc4random_buf on FreeBSD/NetBSD

David CARLIER via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 28 06:36:37 PST 2018


devnexen updated this revision to Diff 179633.
devnexen added a comment.

- Adding arc4random_uniform.
- arc4random_stir might not be necessary in most of day-to-day code, might be even more with Chacha* than Rc4 implementations, but for the sake of test, we can try to "redistribute" a bit the cards.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56125/new/

https://reviews.llvm.org/D56125

Files:
  lib/sanitizer_common/sanitizer_common_interceptors.inc
  lib/sanitizer_common/sanitizer_platform_interceptors.h
  test/sanitizer_common/TestCases/Posix/arc4random.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56125.179633.patch
Type: text/x-patch
Size: 3549 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181228/0ae34a9e/attachment.bin>


More information about the llvm-commits mailing list