Blacklist grpc_core::InlinedVector for CFI cast check
grpc_core::InlinedVector has a few (reinterpret|static)_casts that look benign but will trigger CFI bad cast check. I've tried to suppress the check by adding "-fno-sanitize=cfi-..." when building the gRPC lib (http://crrev.com/c/1660194), but it doesn't seem to have any effect on the canary ChromeOS build. As suggested by pcc@, this CL blacklists the whole inlined_vector.h file for CFI cast check. For longer term, we will need to fix InlinedVector to prevent it from casting the element before initializing it. This is tracked in github. Bug: 972108 Change-Id: Ic90631f9e66d15e1a3c8d073c99bfb69a6400103 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1665554Reviewed-by:Peter Collingbourne <pcc@chromium.org> Commit-Queue: Yuwei Huang <yuweih@chromium.org> Cr-Commit-Position: refs/heads/master@{#670300}
Showing
Please register or sign in to comment