[PATCH] D56125: [Sanitizer] Intercept arc4random_buf / arc4random_addrandom on FreeBSD/NetBSD
David CARLIER via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 28 07:47:13 PST 2018
devnexen marked an inline comment as done.
devnexen added inline comments.
================
Comment at: test/sanitizer_common/TestCases/Posix/arc4random.cc:13
+ for (auto i = 0; i < buflen; i ++)
+ printf("%" PRIx8, buf[i]);
+ printf("'\n");
----------------
krytarowski wrote:
> `printf("%" PRIx8, (unsigned char)buf[i]);`
The buf itself is unsigned char pointer (print_buf sig.)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56125/new/
https://reviews.llvm.org/D56125
More information about the llvm-commits
mailing list