[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [csmith-dev] arc4random on Windows/Visual Studio?



> Does Visual Studio's runtime include a working `arc4random_buf'?
>
> I'm leaning toward incorporating the following patch from the OpenBSD folks,
> which uses `arc4random_buf' determine the (nodeterministic) seed for the
> (deterministic) random-number generator:

Yesterday, I pushed up a commit that makes the relevant changes in a portable
manner.

(I still don't know if VS includes `arc4random_buf', but I imagine that it does
not.  If it does, and we need to look for it in a special manner, please let me
know.)

Eric.

-- 
-------------------------------------------------------------------------------
Eric Eide <eeide@cs.utah.edu>  .         University of Utah School of Computing
http://www.cs.utah.edu/~eeide/ . +1 (801) 585-5512 voice, +1 (801) 581-5843 FAX