New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
std::shuffle leads to different behavior on Windows & Linux #170
Comments
Actually, I also found that std::uniform_int_distribution has annoying behaviors I wasn't aware of (sigh):
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just discovered that std::shuffle's implementation is not defined by the standard so its behavior might differ per libc implementation.
I am definitely observing different behaviors w/ the same seeds on Windows / Ubuntu. MutationDispatcher::Mutate_ShuffleBytes from libfuzzer uses it which leads to the generation of different testcases even w/ the same seeds, ugh:
The text was updated successfully, but these errors were encountered: