This knob is useful for downstream users who want that some of their
libc functions to not be intercepted.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h | ||
---|---|---|
605 | SANITIZER_OVERRIDE_INTERCEPTORS? |
Comment Actions
Out of interest, how do you run tests after disabling interception of a function with this? Won't the test for that function fail then?
Comment Actions
To answer my own question: One option is to use something like e.g. LIT_FILTER_OUT='^SanitizerCommon-(a|l|m|ub|t)san-x86_64-Linux :: (Linux/crypt_r.cpp|Posix/crypt.cpp)$' ninja check-sanitizer.
SANITIZER_OVERRIDE_INTERCEPTORS?
The current name sounds like an interceptor for a function named override.