[PATCH] D83987: [libFuzzer] Disable implicit builtin knowledge about memcmp-like functions when -fsanitize=fuzzer-no-link is given.

Mitch Phillips via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 16 15:07:07 PDT 2020


hctim added inline comments.


================
Comment at: clang/lib/Driver/SanitizerArgs.cpp:1092
+  // libFuzzer wants to intercept calls to certain library functions, so the
+  // following -fno-builtin-* flags disable implicit builtin knowledge about
+  // those functions. Other sanitizers effectively do the same thing by marking
----------------
I'd say "the following -fno-builtin-* flags force the compiler to emit interposable libcalls to these functions"


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83987





More information about the cfe-commits mailing list