已合并
【录制框架】PAC、CFI排查整改 #2679
【录制框架】PAC、CFI排查整改 #2679
已合并
刘祥创建于 7月17日
2 个文件变更+12-0
@@ -15,6 +15,7 @@
15# build plugin interface15# build plugin interface
16import("//foundation/multimedia/media_foundation/config.gni")16import("//foundation/multimedia/media_foundation/config.gni")
17ohos_source_set("muxer_filter") {17ohos_source_set("muxer_filter") {
18+ branch_protector_ret = "pac_ret"
18 subsystem_name = "multimedia"19 subsystem_name = "multimedia"
19 part_name = "media_foundation"20 part_name = "media_foundation"
20 include_dirs = [21 include_dirs = [
@@ -35,4 +36,9 @@ ohos_source_set("muxer_filter") {
35 "ipc:ipc_single",36 "ipc:ipc_single",
36 ]37 ]
37 }38 }
39+ sanitize = {
40+ cfi = true
41+ cfi_cross_dso = true
42+ debug = false
43+ }
38}44}
@@ -33,6 +33,12 @@ config("histreamer_recorder_config") {
33}33}
34 34 
35ohos_source_set("histreamer_recorder") {35ohos_source_set("histreamer_recorder") {
36+ branch_protector_ret = "pac_ret"
37+ sanitize = {
38+ cfi = true
39+ cfi_cross_dso = true
40+ debug = false
41+ }
36 subsystem_name = "multimedia"42 subsystem_name = "multimedia"
37 part_name = "media_foundation"43 part_name = "media_foundation"
38 if (media_foundation_enable_recorder) {44 if (media_foundation_enable_recorder) {