A milestone - the first TESTFRAME capture

Hal Murray hmurray at megapathdsl.net
Tue Dec 8 20:46:59 UTC 2015


Congratulations.

esr at thyrsus.com said:
> I think I've worked out a way not to have to capture random-number calls. 

Could you please say more.

There are two types of random number generators.  I'll call them real and 
pseudo.

You could avoid intercepting calls to get pseudo random numbers if you 
intercept the calls that set the internal state.  Most places use the default 
initialization so you would probably have to tweak the initialization a bit, 
but that shouldn't be hard.

Doing something similar with a real random number generator won't work 
because there is entropy being injected via some back door that you can't 
intercept.  You could potentially replace the whole real random number 
package at link time with your own pseudo random package, but then you can't 
run a real server to generate interesting data.


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list