[all-commits] [llvm/llvm-project] 9659b8: [libFuzzer] Make msan.test:SimpleCmpTest succeed w...

Dokyung Song via All-commits all-commits at lists.llvm.org
Mon Aug 24 07:46:31 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9659b81b2ad8f3b4951ef46e2d90120bdf00fe6f
      https://github.com/llvm/llvm-project/commit/9659b81b2ad8f3b4951ef46e2d90120bdf00fe6f
  Author: Dokyung Song <dokyungs at google.com>
  Date:   2020-08-24 (Mon, 24 Aug 2020)

  Changed paths:
    M compiler-rt/test/fuzzer/SimpleCmpTest.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list