[cfi] Blacklist libhevc
BUG: 74612083
03-13 13:52:10.696 6245 6275 I : external/libhevc/decoder/ihevcd_inter_pred.c:417:17: runtime error: control flow integrity check for type 'void (void *, void *, int, int, signed char *, int, int)' failed during indirect function call
03-13 13:52:10.696 6245 6275 I :
<line 417> func_ptr1(func_src, func_dst, func_src_strd, func_dst_strd,
func_coeff, func_ht, func_wd);
Change-Id: Ib2322047f4d33d33876725493022489d9cd6022c
diff --git a/Android.bp b/Android.bp
index 579771c..d74fb76 100644
--- a/Android.bp
+++ b/Android.bp
@@ -388,4 +388,12 @@
],
},
},
+
+ sanitize: {
+ cfi: true,
+ diag: {
+ cfi: true,
+ },
+ blacklist: "cfi_blacklist.txt",
+ },
}