[PATCH] D73136: [libFuzzer] Add INFO output when LLVMFuzzerCustomMutator is found.

Jonathan Metzman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 21 13:19:42 PST 2020


metzman accepted this revision.
metzman added a comment.
This revision is now accepted and ready to land.

LGTM. This seems like a generic way of handling this and is especially useful when using LD_PRELOAD to load custom mutators since iirc LD_PRELOAD doesn't make so much noise when it fails.



================
Comment at: compiler-rt/lib/fuzzer/FuzzerDriver.cpp:201
+    Printf("INFO: found LLVMFuzzerCustomMutator (%p). "
+           "Disabling -len_control by default.\n", EF->LLVMFuzzerCustomMutator);
+  }
----------------
Maybe drop "by default" I don't think they can opt out right?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73136/new/

https://reviews.llvm.org/D73136





More information about the llvm-commits mailing list