You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you don't, then you're basically doing many extra rounds sometimes because you generate a negative number which is masked because you compute with unsigned.
I have ported your code to Java, and it now passes the bidirectional verifier.
The text was updated successfully, but these errors were encountered:
https://github.com/robertdavidgraham/masscan/blob/master/src/rand-blackrock.c
FYI the error is that % rounds towards zero, and does not generate nonnegative equivalence classes.
If you rewrite using e.g. LongMath.mod() as per http://code.google.com/p/guava-libraries/wiki/MathExplained then the bidirectional verification code you have works.
If you don't, then you're basically doing many extra rounds sometimes because you generate a negative number which is masked because you compute with unsigned.
I have ported your code to Java, and it now passes the bidirectional verifier.
The text was updated successfully, but these errors were encountered: