News for hackers. Stuff that matters.
Re:A NoSQL Database with ACID Transactions by gruseom on Monday March 04, 2013 @01:22PM (#5319595)
How does the Python program know what the random Flow code is supposed to do?
Re:A NoSQL Database with ACID Transactions by Dave_Rosenthal on Monday March 04, 2013 @02:16PM (#5320094)
Hmm, that's the tricky bit to explain in a quick post. It has an independent code interpreter that works on the internal representation of the fuzzed code. The output of that internal representation in fed through the Flow compiler (then C++). There is basically a "check([random number])" statement on every other line of code which should be reached in a known order. We compare the check log of the fuzz tester's interpreter to the check log of the compiled code.
Re:A NoSQL Database with ACID Transactions by gngeal on Monday March 04, 2013 @02:19PM (#5320123)
I guess that the Python program generates some sort of internal AST that is either trivial or at least easier to interpret than the fuzz code (enhanced C++, blah...) generated from the AST.