[libFuzzer] Make msan.test:SimpleCmpTest succeed with less trials.
Currently SimpleCmpTest passes after 9,831,994 trials on x86_64/Linux when the number of given trials is 10,000,000, just a little bigger than that. This patch modifies SimpleCmpTest.cpp so that the test passes with less trials, reducing its chances of future failures as libFuzzer evolves. More specifically, this patch changes a 32-bit equality check to a 8-bit equality check, making this test pass at 4,635,303 trials. Differential Revision: https://reviews.llvm.org/D86382
Loading
Please sign in to comment