[MSan] Add functions to enable/disable interceptor checks.
Summary: The motivation for this change is to make libFuzzer+MSan possible without instrumenting libFuzzer. See https://github.com/google/sanitizers/issues/958. Reviewers: eugenis Reviewed By: eugenis Subscribers: llvm-commits, kcc Differential Revision: https://reviews.llvm.org/D48890 llvm-svn: 336447
Showing
- compiler-rt/include/sanitizer/msan_interface.h 8 additions, 0 deletionscompiler-rt/include/sanitizer/msan_interface.h
- compiler-rt/lib/msan/msan_interceptors.cc 3 additions, 0 deletionscompiler-rt/lib/msan/msan_interceptors.cc
- compiler-rt/lib/msan/msan_interface_internal.h 6 additions, 0 deletionscompiler-rt/lib/msan/msan_interface_internal.h
- compiler-rt/test/msan/scoped-interceptors.cc 52 additions, 0 deletionscompiler-rt/test/msan/scoped-interceptors.cc
Loading
Please register or sign in to comment