[libFuzzer] extend the weak memcmp/strcmp/strncmp interceptors to receive the result...
authorKostya Serebryany <kcc@google.com>
Tue, 12 Jan 2016 00:43:42 +0000 (00:43 +0000)
committerKostya Serebryany <kcc@google.com>
Tue, 12 Jan 2016 00:43:42 +0000 (00:43 +0000)
commitd89bfb65a8efc9791df9b6308cd57a10085fd32f
tree563523f05fde78fbad7a96cebd283427f80f737a
parent132f8670a3b60601ac94b30b8a19f748f060fc46
[libFuzzer] extend the weak memcmp/strcmp/strncmp interceptors to receive the result of the computations. With that, don't do any mutations if memcmp/etc returned 0

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257423 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Fuzzer/FuzzerTraceState.cpp