Blacklist some vector functions for CFI.
This CL blacklists some vector functions (construct, copy, splat, move) that use reinterpret_cast on freshly allocated memory (where the object doesn't exist yet). This is technically correct, but not friendly for CFI, which enforces stricter checking to catch type confusion errors. Blacklisting these specific functions from CFI does not cause an appreciable coverage loss though, so this should be fine. Bug: 36219323 Test: Builds and boots, and the reinterpret error goes away on CFI builds. Test: All 98 libutils_tests pass Change-Id: I4944b179116bb1e1608d92697e95e182d8c0ac9f
Loading
Please register or sign in to comment