Remove the 'src:*third_party/libxml/*' line from tools/cfi/blacklist.txt and build unit_tests with 'is_cfi=true use_cfi_icall=true use_cfi_diag=true'. Run the tests and you will receive the following CFI failure:
../../third_party/libxml/src/encoding.c:1344:10: runtime error: control flow integrity check for type 'char *(const char *)' failed during indirect function call
out/cfi-icall/../../third_party/libxml/src/xmlstring.c:66: note: xmlStrdup defined here
If you blacklist that failure, you will receive the following failure:
../../third_party/libxml/src/xmlIO.c:3342:8: runtime error: control flow integrity check for type 'int (void *, char *, int)' failed during indirect function call
(/usr/local/google/home/vtsyrklevich/Development/chromium/src/out/cfi-icall/unit_tests+0x5a45220): note: xmlNop defined here
Comment 1 by vtsyrklevich@chromium.org
, Nov 21 2017