1# Copyright (C) 2023 HiHope Open Source Organization .
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6# http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14# audio_framework : //foundation/multimedia/audio_framework
15bypass_audio_framework = [
16  "audio_capturer_gateway",
17  "oh_audio_capturer_test",
18  "oh_audio_capturer_lowlatency_test",
19  "audio_opensles_player_test",
20  "audio_renderer_gateway",
21  "oh_audio_renderer_test",
22  "audio_opensles_recorder_test",
23  "audio_capturer_test",
24  "audio_renderer_test",
25  "audio_toneplayer_test",
26  "audio_latency_accuracy_test",
27  "audio_render_mode_callback_test",
28  "audio_process_client_test",
29  "audio_voip_test",
30  "audio_hdi_device_test",
31  "audio_policy_test",
32  "audio_interrupt_test",
33  "audio_service_playback_test",
34  "interrupt_multi_renderer_test",
35  "audio_faststream_playback_test",
36  "audio_blendmode_test",
37  "audio_service_record_test",
38  "audio_multichannel_test",
39  "audio_schedule",
40  "ohaudio",
41  "opensles",
42  "audio_common",
43  "audio_dump",
44  "audio",
45  "audio_client",
46  "audio_policy_service",
47  "audio_capturer",
48  "audio_renderer",
49  "audio_process_service",
50  "audio_toneplayer",
51  "audio_service",
52  "audio_policy_client",
53  "module-loopback",
54  "module-inner-capturer-sink",
55  "module-hdi-sink",
56  "module-receiver-sink",
57  "module-hdi-source",
58  "audio_utils",
59  "audio_bluetooth_client",
60  "pulse_audio_service_adapter",
61  "audio_capturer_source",
62  "audio_renderer_sink",
63  "playback_capturer",
64  "audio_effect",
65  "fast_audio_capturer_source",
66  "fast_audio_renderer_sink",
67  "remote_audio_capturer_source",
68  "bluetooth_renderer_sink",
69  "remote_fast_audio_capturer_source",
70  "remote_audio_renderer_sink",
71  "audio_capturer_file_source",
72  "remote_fast_audio_renderer_sink",
73  "capturer_source_adapter",
74  "audio_renderer_file_sink",
75  "renderer_sink_adapter",
76  "audio_device_manager",
77]
78
79# media_foundation : //foundation/multimedia/media_foundation
80bypass_media_foundation = [
81  "histreamer_pipeline_base",
82  "histreamer_plugin_intf",
83  "plugin_base",
84  "ffmpeg_convert",
85  "histreamer_pipeline",
86  "histreamer_plugin_core",
87  "std_engine_factory",
88  "histreamer_foundation",
89  "codec_filters",
90  "muxer_filter",
91  "media_synchronous_sink",
92  "audio_capture_filter",
93  "scene_common",
94  "demuxer_filter",
95  "audio_sink_filter",
96  "media_source_filter",
97  "video_sink_filter",
98  "video_capture_filter",
99  "output_sink_filter",
100  "ffmpeg_adapter_common",
101  "filesource",
102  "httpsource",
103  "std_stream_source",
104  "ffmpeg_audio_decoders",
105  "std_audio_capture",
106  "filefdsource",
107  "audio_server_sink",
108  "file_fd_sink",
109  "std_video_surface_sink",
110  "ffmpeg_demuxers",
111  "std_plugin_codec_adapter",
112  "ffmpeg_audio_encoders",
113  "histreamer_recorder",
114  "histreamer_player",
115  "ffmpeg_video_decoders",
116  "ffmpeg_video_encoders",
117  "ffmpeg_muxers",
118]
119
120# av_session : //foundation/multimedia/av_session
121bypass_av_session = [
122  "avvolumepanel",
123  "avcastpicker",
124  "mediacontrolextensionability_napi",
125  "avsession_client",
126  "mediacontrolextensioncontext_napi",
127  "media_control_extension",
128  "media_control_extension_module",
129  "avsession_item",
130  "avsession_common",
131  "avsession_napi",
132  "avsession_utils",
133  "avsession_cast_client",
134  "avsession_service",
135  "remote_session_source",
136  "avsession_router",
137  "remote_session_sink",
138  "avsession_cast_item",
139]
140
141# huks : //base/security/huks
142bypass_huks = [
143  "libhukssdk_static",
144  "cipher_napi",
145  "cipher_shared",
146  "huks_modify_old_version_key_util",
147]
148
149# certificate_manager : //base/security/certificate_manager
150bypass_certificate_manager = [ "libcert_manager_fuzz_test_common_static" ]
151
152# image_framework : //foundation/multimedia/image_framework
153bypass_image_framework = [
154  "pixelconvertadapter_static",
155  "image_static",
156  "image_utils_static",
157  "log_mock_static",
158  "utils_mock_static",
159  "pluginmanager_static",
160  "jpegplugin",
161  "textureEncoderCL",
162]
163
164# media_library : //foundation/multimedia/media_library
165bypass_media_library = [
166  "scanner",
167  "medialibrary_data_extension",
168]
169
170bypass_user_file_service = []
171
172# contacts_data_hap : //applications/standard/contacts_data
173bypass_contacts_data_hap = [ "contactsdataability" ]
174
175# crypto_framework : //base/security/crypto_framework
176bypass_crypto_framework = []
177
178# wpa_supplicant : //third_party/wpa_supplicant
179bypass_wpa_supplicant = [
180  "wpa_cli",
181  "hostapd_cli",
182  "wpa_supplicant",
183  "hostapd",
184  "wpa_client",
185  "wpa_client_vendor",
186  "wpa_client_updater",
187  "wpa",
188  "wpa_sys",
189  "wpa_updater",
190]
191
192# netmanager_base : //foundation/communication/netmanager_base
193bypass_netmanager_base = [
194  "net_bundle_utils",  # contains blocklist but reviewed
195  "net_conn_parcel",
196  "net_policy_parcel",
197  "net_native_parcel",
198  "netsys_native_manager_static",
199  "net_stats_parcel",
200  "libip4tc",
201  "libip6tc",
202  "libxtables",
203  "libext4",
204  "libext6",
205  "net_connection",
206  "net_conn_manager_if",
207  "net_conn_manager",
208  "napi_utils",
209  "net_policy_manager",
210  "net_native_manager_if",
211  "net_stats_manager_if",
212  "net_policy_manager_if",
213  "socket_permission",
214  "netconn_ndk",
215]
216
217# camera_framework : //foundation/multimedia/camera_framework
218bypass_camera_framework = [
219  "camera_video",
220  "camera_capture",
221  "camera_capture_video",
222  "camera_capture_mode",
223  "camera_framework",
224  "camera_napi",
225  "camera_service",
226  "deferred_processing_service",
227]
228
229# player_framework : //foundation/multimedia/player_framework
230bypass_player_framework = [
231  "media_format",
232  "audio_ringtone_client",
233  "media_seccomp_filter",
234  "media_engine_common_avcodeclist",
235  "media_engine_gst_common",
236  "media_engine_gst_loader",
237  "media_engine_gst_recorder",
238  "media_engine_gst_factory",
239  "media_gst_dfx",
240  "media_engine_gst_player",
241  "media_engine_gst_avcodec",
242  "media_engine_gst_avmeta",
243  "gst_subtitle_sink_base",
244  "gst_subtitle_parse_plugin",
245  "gst_mem_sink_base",
246  "gst_mem_src_base",
247  "media_engine_dfx",
248  "gst_codec_plugins_common",
249  "soundpool_client",
250  "gst_mem_sink",
251  "gst_codec_bin",
252  "gst_audio_server_sink",
253  "gst_subtitle_sink",
254  "gst_audio_capture_src",
255  "gst_mem_src",
256  "gst_media_common",
257  "gst_codec_plugin_hdi",
258  "native_avscreen_capture",
259]
260
261bypass_screenlock_mgr = []
262bypass_nfc = []
263
264# wifi : //foundation/communication/wifi
265bypass_wifi = [
266  "crpc_client_updater",
267  "WifiHalVendorTest",
268  "crpc_server",
269  "crpc_client",
270  "wifi_hal_service",
271  "wifi_hal_service_updater",
272  "wifi_scan_service_impl",
273  "wifi_device_service_impl",
274  "wifi_utils",
275  "wifi_hotspot_service_impl",
276  "wifi_p2p_service_impl",
277  "wifi_device_proxy_impl",
278  "wifi_hotspot_proxy_impl",
279  "wifi_scan_proxy_impl",
280  "wifi_p2p_proxy_impl",
281  "rpc_server",
282  "rpc_client",
283  "wifi",
284  "wifiext",
285  "wifi_native_js",
286  "wifimanager",
287  "wifimanagerext",
288  "wifi_sdk",
289]
290
291# dsoftbus : //foundation/communication/dsoftbus
292bypass_dsoftbus = [ "softbus_server" ]
293
294# hilog : //base/hiviewdfx/hilog
295bypass_hilog = [
296  "libhilog",
297  "libhilog_base",
298  "hilog",
299  "hilogd",
300  "libhilognapi_src",
301  "libhilog_source_ohos",
302  "libhilog_source_windows",
303  "libhilog_source_mac",
304  "libhilog_source_linux",
305  "libhilog_source_android",
306  "libhilog_source_ios",
307  "libhilog_base_source",
308  "libhilog_source_ohos",
309  "libhilog_source_windows",
310  "libhilog_source_mac",
311  "libhilog_source_linux",
312  "libhilog_source_android",
313  "libhilog_source_ios",
314  "libhilog_base_source",
315  "libhilog_base_for_musl",
316]
317
318# bluetooth : //foundation/communication/bluetooth
319bypass_bluetooth = [
320  "btframework",
321  "bluetooth",
322  "bluetoothmanager",
323  "btcommon",
324  "a2dp",
325  "access",
326  "baseprofile",
327  "ble",
328  "connection",
329  "constant",
330  "hfp",
331  "hid",
332  "pan",
333  "socket",
334]
335
336# bluetoth_service : //foundation/communication/bluetooth_service
337bypass_bluetooth_service = [
338  "bluetooth_server",
339  "btservice",
340  "btsbc",
341  "btdummy",
342  "btstack",
343  "bluetooth_hdi_adapter",
344  "btipc_static",
345  "btipc_service",
346]
347
348#device_security_level : //base/security/device_security_level
349bypass_device_security_level = [
350  "messenger_static",  # blocklist contains test code only
351  "utils_static",  # blocklist contains test code only
352  "DslmUnitTest",  # blocklist contains test code only
353  "dslm_extension_dfx",  # blocklist contains test code only
354  "service_common_obj",  # blocklist contains test code only
355  "service_sa_static",  # blocklist contains test code only
356  "service_dslm_obj",  # blocklist contains test code only
357  "service_dslm_test_obj",  # blocklist contains test code only
358  "service_msg_obj",  # blocklist contains test code only
359  "oem_common_obj",  # blocklist contains test code only
360  "dslm_sdk",  # blocklist contains test code only
361  "dslm_service",  # blocklist contains test code only
362  "dslm_oem_ext",  # blocklist contains test code only
363  "dslm_ohos_cred_obj",  # blocklist contains test code only
364]
365
366# face_auth : //base/useriam/face_auth
367bypass_face_auth = [
368  "iam_utils",
369  "faceauth",
370  "faceauth_framework",
371  "faceauth_framework_stub",
372  "faceauthservice_source_set",
373  "faceauthservice",
374  "faceauthservice_ex",
375  "faceauthservice_ex_source_set",
376  "faceauth_framework_stub_fuzzer",  #cfi not configured
377  "faceauthservice_source_set_fuzzer",  #cfi not configured
378]
379
380# fingerprint_auth : //base/useriam/fingerprint_auth
381bypass_fingerprint_auth = [
382  "fingerprintauthservice_source_set_fuzzer",  #cfi not configured
383]
384
385# pin_auth : //base/useriam/pin_auth
386bypass_pin_auth = [
387  "iam_utils",
388  "pinauth_framework_source_set",
389  "pinauth_framework",
390  "pinauth_ipc",
391  "pinauthservice_source_set",
392  "pinauthservice",
393  "pinauth_ipc_fuzzer",  #cfi not configured
394  "pinauthservice_source_set_fuzzer",  #cfi not configured
395]
396
397# user_auth_framework ://base/useriam/user_auth_framework
398bypass_user_auth_framework = [
399  "iam_thread_pool",
400  "iam_utils",
401  "iam_test",
402  "userauthextensionability_napi",
403  "user_auth_extension",
404  "user_auth_extension_module",
405  "userauth",
406  "userauthicon",
407  "attributes",
408  "dfx",
409  "userauth_executors",
410  "userauth_client",
411  "userauth_client_ipc",
412  "userauth_service_ipc",
413  "userauthservice",
414  "userauth_service_core",
415  "userauth_service_base",
416  "userauth_service_context",
417  "userauth_services_ipc",
418  "userauth_service_remote_connect",
419  "attributes_fuzzer",  #cfi not configured
420  "dfx_fuzzer",  #cfi not configured
421  "userauth_client_ipc_fuzzer",  #cfi not configured
422  "userauth_service_base_fuzzer",  #cfi not configured
423  "userauth_service_core_fuzzer",  #cfi not configured
424  "userauth_service_context_fuzzer",  #cfi not configured
425  "userauth_service_ipc_fuzzer",  #cfi not configured
426  "userauth_services_ipc_fuzzer",  #cfi not configured
427  "userauth_service_remote_connect_fuzzer",  #cfi not configured
428  "iam_thread_pool_fuzzer",  #cfi not configured
429  "iam_utils_fuzzer",  #cfi not configured
430  "iam_test_fuzzer",  #cfi not configured
431]
432
433# enterprise_device_management : //base/customization/enterprise_device_management
434bypass_enterprise_device_management = [
435  "AdminManagerFuzzTest",  # test/napi/client target or rust, not required to
436                           # enable cfi
437  "AdminPoliciesStorageRdbFuzzTest",  # test/napi/client target or rust, not
438                                      # required to enable cfi
439  "AdminServiceInterfaceFuzzTest",  # test/napi/client target or rust, not
440                                    # required to enable cfi
441  "AllowedUsbDevicesPluginFuzzTest",  # test/napi/client target or rust, not
442                                      # required to enable cfi
443  "EdmPluginFuzzTest",  # test/napi/client target or rust, not required to
444                        # enable cfi
445  "EnterpriseDeviceMgrAbilityFuzzTest",  # test/napi/client target or rust, not
446                                         # required to enable cfi
447  "EnterpriseDeviceMgrStubMockFuzzTest",  # test/napi/client target or rust, not
448                                          # required to enable cfi
449  "FireWallRulePluginFuzzTest",  # test/napi/client target or rust, not required
450                                 # to enable cfi
451  "IptablesRulePluginFuzzTest",  # test/napi/client target or rust, not required
452                                 # to enable cfi
453  "ManageAutoStartAppsPluginFuzzTest",  # test/napi/client target or rust, not
454                                        # required to enable cfi
455  "UsbReadOnlyPluginFuzzTest",  # test/napi/client target or rust, not required
456                                # to enable cfi
457]
458
459# wallpaper_mgr : //base/theme/wallpaper_mgr
460bypass_wallpaper_mgr = [
461  "wallpapermanager",  #cfi not configured
462  "wallpapermanager_static",  #cfi not configured
463  "wallpaper_utils",  #cfi not configured
464]
465
466# resource_schedule_service : //foundation/resourceschedule/resource_schedule_service
467bypass_resource_schedule_service = [
468  "ressched_test",  #cfi not configured
469  "process_proup_test",  #cfi not configured
470  "frame_aware_plugin",  # low-risk target, not required to enable cfi
471]
472
473# data_object : //foundation/distributeddatamgr/data_object
474bypass_data_object = [ "distributeddataobject_static" ]
475
476# device_auth : //base/security/device_auth
477bypass_device_auth = [
478  "hichainsdk",  #cfi not configured
479  "hichainsdk_static",  #cfi not configured
480  "device_auth_test_hal",  #cfi not configured
481  "deviceauth_service",
482  "deviceauth_sdk",
483]
484
485# data_share : //foundation/distributeddatamgr/data_share
486bypass_data_share = []
487
488# time_service : //base/time/time_service
489bypass_time_service = [ "time_system_ability_static" ]
490
491# imf : //base/inputmethod/imf
492bypass_imf = [
493  "inputmethod_client",  # client target, not required to enable cfi
494]
495
496# location : //base/location
497bypass_location = [
498  "lbsservice_gnss",
499  "lbsservice_network",
500  "lbsservice_passive",
501  "locator_sdk",
502  "geolocation",
503  "lbsservice_common",
504  "locator_agent",
505  "geolocation_static",
506  "lbsservice_geocode",
507  "geolocationmanager",
508]
509
510bypass_dmsfwk = []
511
512# usb_manager : //base/use/usb_manager
513bypass_usb_manager = [
514  "usbsrv_client",
515  "usb",
516  "usbmanager",
517]
518
519# sensor : //base/sensors/sensor
520bypass_sensor = [ "sensor_rust_util_ffi" ]
521
522# battery_manager : //base/powermgr/battery_manager
523bypass_battery_manager = [
524  "batterysrv_client",
525  "charger",
526  "batteryinfo",
527  "batterysrv_stub",
528  "battery",
529]
530
531# battery_statistics ://base/powermgr/battery_statistics
532bypass_battery_statistics = [
533  "batterystatistics",
534  "batterystats_client",
535  "batterystats_service",
536  "batterystats_stub",
537  "batterystats_utils",  #cfi not configured
538]
539
540# display_manager ://base/powermgr/display_manager
541bypass_display_manager = [
542  "brightness",
543  "displaymgr",
544  "displaymgr_stub",
545]
546
547# power_manager : //base/powermgr/power_manager
548bypass_power_manager = [
549  "power-shell",
550  "power_sysparam",
551  "power_permission",
552  "power_setting",
553  "powermgr_client",  #cfi not configured
554  "power_ffrt",
555  "power_vibrator",
556  "powermgr_stub",  #cfi not configured
557  "power_utils",  #cfi not configured
558  "power",  #cfi not configured
559  "runninglock",  #cfi not configured
560]
561
562# thermal_manager : //base/powermgr/thermal_manager
563bypass_thermal_manager = [
564  "thermalservice",
565  "mock_thermalsrv_client",
566  "thermalsrv_client",
567  "thermalmgr_listener",
568  "thermal_protector",
569  "thermal",
570  "thermal_utils",
571  "thermalmgr_stub",
572  "thermalmgr_proxy",
573]
574
575# device_status ://base/msdp/device_status
576bypass_device_status = [
577  "devicestatus_mock",  #cfi not configured
578  "devicestatus_static_service",  #cfi not configured
579  "devicestatus_vdev",  #cfi not configured
580  "devicestatus_vdev_builders",  #cfi not configured
581  "vdevadm",  #cfi not configured
582]
583
584bypass_motion = []
585
586bypass_spatial_awareness = []
587
588bypass_algorithm = []
589
590# window_manager : //foundation/window/window_manager
591bypass_window_manager = [
592  "setresolution_screen",  #cfi not configured
593  "libsetresolution_util",  #cfi not configured
594  "libwmutil",  #cfi not configured
595  "screensessionmanager_napi",  #cfi not configured
596  "demo_mirror_screen_listener",  #cfi not configured
597  "demo_screenshot_listener",  #cfi not configured
598  "demo_snapshot_virtual_screen",  #cfi not configured
599  "demo_system_sub_window",  #cfi not configured
600  "demo_freeze_display",  #cfi not configured
601  "demo_water_mark_listener",  #cfi not configured
602  "demo_session_manager",  #cfi not configured
603  "demo_visible_window_num_listener",  #cfi not configured
604  "ws_unittest_common",  #cfi not configured
605  "utils_unittest_common",  #cfi not configured
606  "window_extension_unittest_common",  #cfi not configured
607  "dm_unittest_common",  #cfi not configured
608  "dms_systemtest_common",  #cfi not configured
609  "dmserver_unittest_common",  #cfi not configured
610  "wm_unittest_common",  #cfi not configured
611  "libtestutil",  #cfi not configured
612  "wms_systemtest_common",  #cfi not configured
613  "libwm_lite",  #cfi not configured
614  "libdm",  #cfi not configured
615]
616
617bypass_qos_manager = [
618  "concurrent_task_client",  # client target,not required to enable cfi
619  "qos_ndk",  # napi target, not required to enable cfi
620  "qos",  # client target,not required to enable cfi
621]
622
623bypass_call_manager = [
624  "call",  # napi target, not required to enable cfi
625  "tel_call_manager_api",  # client target, not required to enable cfi
626]
627
628bypass_cellular_call = []
629
630# core_service : //base/telephony/core_service
631bypass_core_service = [
632  "vcard",  #cfi not configured
633  "libtel_vcard",  #cfi not configured
634]
635
636bypass_rill_adapter = []
637
638bypass_sms_mms = []
639
640bypass_state_registry = []
641
642bypass_telephony_data = []
643
644# common_event_service : //base/notification/common_event_service
645bypass_common_event_service = [
646  "cesfwk_core",  #cfi not configured
647  "cesfwk_innerkits",
648  "cesfwk_services_static",  #cfi not configured
649  "tools_cem_source_set",  #cfi not configured
650  "actscesfwk_kits_test",  #cfi not configured
651  "cesfwk_kits_test",  #cfi not configured
652  "cesfwk_services",  #cfi not configured
653]
654
655bypass_distributed_notification_service = []
656
657# eventhandler : //base/notification/eventhandler
658bypass_eventhandler = [ "libeventhandler" ]
659
660# os_account : //base/account/os_account
661bypass_os_account = [
662  "account_iam_napi",  # napi target, not required to enable cfi
663  "appaccount",  # napi target, not required to enable cfi
664  "account_napi_common",  # napi target, not required to enable cfi
665  "distributedaccount",  # napi target, not required to enable cfi
666  "domain_account_napi",  # napi target, not required to enable cfi
667  "osaccount",  # napi target, not required to enable cfi
668  "libaccountkits",  # client target, not required to enable cfi
669  "accountmgr",  # contains blocklist but reviewed
670]
671
672# access_token : //base/security/access_token
673bypass_access_token = [
674  "libtoken_setproc",  #cfi not configured
675  "atm",  #cfi not configured
676  "libaccesstoken_manager_service_standard_test",  # test target, not required
677                                                   # to enable cfi
678]
679
680bypass_dupdate_engine = []
681
682# input : //foundation/multimodalinput/input
683bypass_input = [
684  "mmi_rust_key_config",  #cfi not configured
685  "mmi_rust",  #cfi not configured
686  "libmmi-common",  #cfi not configured
687  "libmmi-util",  #cfi not configured
688  "libmmi-client",  #cfi not configured
689]
690
691bypass_device_attest = []
692
693bypass_perferences = []
694
695# relational_store : //foundation/distributeddatamgr/relational_store
696bypass_relational_store = [
697  "commontype_napi",  #cfi not configured
698  "cloudextension",  #cfi not configured
699  "clouddata",  # napi target, not required to enable cfi
700  "dataability",  # napi target, not required to enable cfi
701  "napi_rdb",  # napi target, not required to enable cfi
702  "rdb",  # napi target, not required to enable cfi
703  "relationalstore",  # napi target, not required to enable cfi
704  "sendablerelationalstore",  # napi target, not required to enable cfi
705]
706
707bypass_miscdevice = []
708
709# app_file_service : //foundation/filemanagement/app_file_service
710bypass_app_file_service = [
711  "fileuri_native",  #cfi not configured
712  "fileshare",  #cfi not configured
713  "remote_file_share_native",  #cfi not configured
714  "fileuri",  #cfi not configured
715  "sandbox_helper_native",  #cfi not configured
716  "backup",  #cfi not configured
717  "backup_tool",  #cfi not configured
718  "backup_cxx_rust",  #cfi not configured
719]
720
721# file_api : //foundation/filemanagement/file_api
722bypass_file_api = [
723  "rust_file",  #cfi not configured
724]
725
726# storage_service : //foundation/filemanagement/storage_service
727bypass_storage_service = [
728  "blkid",  #cfi not configured
729]
730
731bypass_scene_board_ext = []
732
733# background_task_mgr : //foundation/resourceschedule/background_task_mgr
734bypass_background_task_mgr = [ "bgtaskmgr_service_static" ]
735
736bypass_device_usage_statistics = []
737
738bypass_efficiency_manager = []
739
740bypass_efficiency_manager_ext = []
741
742bypass_frame_aware_sched = [
743  "policy_source",  # client target, not required to enable cfi
744  "collector_source",  # client target, not required to enable cfi
745  "frame_ui_utils",  # client target, not required to enable cfi
746  "frame_msg_intf",  # client target, not required to enable cfi
747  "rtg_interface",  # client target, not required to enable cfi
748  "frame_trace_intf",  # client target, not required to enable cfi
749  "frame_ui_intf",  # client target, not required to enable cfi
750]
751
752bypass_memmgr = []
753
754bypass_memmgr_override = []
755
756# work_scheduler : //foundation/resourceschedule/work_scheduler
757bypass_work_scheduler = []
758
759# accessibility : //foundation/barrierfree/accessibility
760bypass_accessibility = [
761  "accessibility_napi",
762  "accessibleability",
763  "accessibilityconfig",
764  "accessibilityclient",
765  "config_napi",
766  "accessibilityextensionability_napi",
767  "accessibilityextensioncontext_napi",
768  "accessibility_extension_module",
769  "gesturepath_napi",
770  "gesturepoint_napi",
771]
772
773# ffrt : //foundation/resourceschedule/ffrt
774bypass_ffrt = [
775  "libffrt",  #cfi not configured
776  "ffrt_ndk",  #cfi not configured
777]
778
779# advertising : //domains/advertising/advertising
780bypass_advertising = [
781  "advertising",
782  "adcomponent",
783  "adsserviceextensionability_napi",
784  "autoadcomponent",
785  "adsserviceextensioncontext_napi",
786  "libadsservice_extension",
787  "adsservice_extension_module",
788  "advertising_common",
789]
790
791# oaid : //domains/advertising/oaid
792bypass_oaid = [
793  "oaid_client",
794  "oaid",
795  "oaid_service",
796  "oaid_utils",
797]
798
799# init : //base/startup/init
800bypass_init = [
801  "watchdog_service",  #cfi not configured
802  "libueventd_ramdisk_static",  #cfi not configured
803  "libueventd_ramdisk_static_real",  #cfi not configured
804  "begetctl",  #cfi not configured
805  "loopevent",  #cfi not configured
806  "libbegetutil",  #cfi not configured
807  "libfsmanager_static",  #cfi not configured
808  "libfsmanager_static_real",  #cfi not configured
809  "seccomp",  #cfi not configured
810  "ueventd",  #cfi not configured
811  "reboot",  #cfi not configured
812  "libbeget_proxy",  #cfi not configured
813  "paramshell",  #cfi not configured
814  "param",  #cfi not configured
815  "libbegetutil_static",  #cfi not configured
816  "deviceinfo_ndk",  #cfi not configured
817  "deviceinfo",  #cfi not configured
818  "init_log",  #cfi not configured
819  "agent_log",  #cfi not configured
820  "systemparameter",  #cfi not configured
821  "bootchart",  #cfi not configured
822  "init_context",  #cfi not configured
823  "init_eng",  #cfi not configured
824  "libiniteng_static",  #cfi not configured
825  "rebootmodule",  #cfi not configured
826  "init_early",  #cfi not configured
827  "init",  #cfi not configured
828  "systemparameterenhance",  #cfi not configured
829  "udidmodule",  #cfi not configured
830  "libudid_static",  #cfi not configured
831  "libudidcomm",  #cfi not configured
832  "libudidcomm_static",  #cfi not configured
833  "selinuxadp",  #cfi not configured
834  "system_filter",  #cfi not configured
835  "appspawn_filter",  #cfi not configured
836  "initcontext_static",  #cfi not configured
837  "nwebspawn_filter",  #cfi not configured
838  "app_filter",  #cfi not configured
839  "inittrace",  #cfi not configured
840  "updater_filter",  #cfi not configured
841  "libseccomp_static",  #cfi not configured
842  "eventmodule",  #cfi not configured
843  "parameterbase_ext",  #cfi not configured
844  "param_init",  #cfi not configured
845  "libinit_utils",  #cfi not configured
846  "param_client",  #cfi not configured
847  "client",  #cfi not configured
848  "fd_holder_test",  #cfi not configured
849  "libfuzz_utils",  #cfi not configured
850  "server",  #cfi not configured
851  "ondemandTest",  #cfi not configured
852  "libparamtestmodule",  #cfi not configured
853  "libsocket",  #cfi not configured
854  "sandbox",  #cfi not configured
855  "libcontrolfd",  #cfi not configured
856  "libfile",  #cfi not configured
857  "fdholder",  #cfi not configured
858  "sh",  #cfi not configured
859  "libcrashhandler",  #cfi not configured
860  "parameterbase",  #cfi not configured
861  "remount",  #cfi not configured
862  "syscap_ts",  #cfi not configured
863]
864
865# bundle_framework : //foundation/bundlemanager/bundle_framework
866bypass_bundle_framework = [
867  "appexecfwk_base",  #cfi not configured
868  "appexecfwk_core",  #cfi not configured
869  "bundlemgr_extension",  #cfi not configured
870  "libappexecfwk_common",  #cfi not configured
871  "bundle_napi_common",  #cfi not configured
872  "app_detail_ability",  #cfi not configured
873  "bundlemgr_graphics",  #cfi not configured
874  "parser_common",  #cfi not configured
875  "bms_install_sst_source",  #cfi not configured
876  "rpcid_decode",  #cfi not configured
877  "bundle_ndk",  #cfi not configured
878  "bundle_parser",  #cfi not configured
879  "installs",  #cfi not configured
880  "bundlemanager",  #cfi not configured
881  "bundlemonitor",  #cfi not configured
882  "bundleresourcemanager",  #cfi not configured
883  "bundle",  #cfi not configured
884  "defaultappmanager",  #cfi not configured
885  "freeinstall",  #cfi not configured
886  "installer",  #cfi not configured
887  "launcherbundlemanager",  #cfi not configured
888  "overlay",  #cfi not configured
889  "innerbundlemanager",  #cfi not configured
890  "package",  #cfi not configured
891  "appcontrol",  #cfi not configured
892  "zlib",  #cfi not configured
893  "tool_common",  #cfi not configured
894  "fun",  #cfi not configured
895  "hello",  #cfi not configured
896  "test01",  #cfi not configured
897  "test02",  #cfi not configured
898  "otaUpdateTestAplUpSo1",  #cfi not configured
899  "otaUpdateTestAplUpSo2",  #cfi not configured
900  "otaUpdateTestBasisFt1So1",  #cfi not configured
901  "otaUpdateTestBasisFt2So1",  #cfi not configured
902  "otaUpdateTestBasisFt1So2",  #cfi not configured
903  "otaUpdateTestBasisFt2So2",  #cfi not configured
904  "otaUpdateTestModuleFieldSo1",  #cfi not configured
905  "otaUpdateTestSignaIconSo1",  #cfi not configured
906  "otaUpdateTestModuleFieldSo2",  #cfi not configured
907  "otaUpdateTestSignaIconSo2",  #cfi not configured
908  "otaUpdateTestSoChangedSo1",  #cfi not configured
909  "otaUpdateTestSoChangedSo2",  #cfi not configured
910  "otaUpdateTestSoChangedFt2So1",  #cfi not configured
911  "otaUpdateTestAplDownSo1",  #cfi not configured
912  "otaUpdateTestAplDownSo2",  #cfi not configured
913  "hapso3",  #cfi not configured
914  "hapso17",  #cfi not configured
915  "hapSectionContainso5",  #cfi not configured
916  "hapso4",  #cfi not configured
917  "hapso31",  #cfi not configured
918  "hapso18",  #cfi not configured
919  "hapso15",  #cfi not configured
920  "hapSectionContainso6",  #cfi not configured
921  "hapso32",  #cfi not configured
922  "hapso16",  #cfi not configured
923  "hapso1",  #cfi not configured
924  "hapso37",  #cfi not configured
925  "hapso9",  #cfi not configured
926  "hspast41",  #cfi not configured
927  "hapso2",  #cfi not configured
928  "hapso10",  #cfi not configured
929  "hapso38",  #cfi not configured
930  "hspast42",  #cfi not configured
931  "hapso21",  #cfi not configured
932  "hapSectionContainso3",  #cfi not configured
933  "hapso22",  #cfi not configured
934  "hapso27",  #cfi not configured
935  "hapSectionContainso4",  #cfi not configured
936  "hspast21",  #cfi not configured
937  "hapso28",  #cfi not configured
938  "hspast22",  #cfi not configured
939  "hspast31",  #cfi not configured
940  "hapso7",  #cfi not configured
941  "hapSectionContainso7",  #cfi not configured
942  "hspast32",  #cfi not configured
943  "hapso29",  #cfi not configured
944  "hapso8",  #cfi not configured
945  "hapSectionContainso8",  #cfi not configured
946  "hapso30",  #cfi not configured
947  "hapso19",  #cfi not configured
948  "hapso13",  #cfi not configured
949  "hapso20",  #cfi not configured
950  "hapso14",  #cfi not configured
951  "hapso23",  #cfi not configured
952  "hapso24",  #cfi not configured
953  "hapso33",  #cfi not configured
954  "hapso5",  #cfi not configured
955  "hapso34",  #cfi not configured
956  "hapso11",  #cfi not configured
957  "hapso6",  #cfi not configured
958  "hapso25",  #cfi not configured
959  "hapso12",  #cfi not configured
960  "hapso26",  #cfi not configured
961  "hapso35",  #cfi not configured
962  "hapSectionContainso1",  #cfi not configured
963  "hspast11",  #cfi not configured
964  "hapso36",  #cfi not configured
965  "hapSectionContainso2",  #cfi not configured
966  "hspast12",  #cfi not configured
967]
968
969# ability_runtime : //foundation/ability/ability_runtime
970bypass_ability_runtime = [
971  "quickfixms",  #cfi not configured
972  "abilitykit_utils",  #cfi not configured
973  "quickfixms_static",  #cfi not configured
974  "abilitykit_native",  #cfi not configured
975  "js_environment",  #cfi not configured
976  "extensionkit_native",  #cfi not configured
977  "wantagent_innerkits",  #cfi not configured
978  "ability_context_native",  #cfi not configured
979  "ability_simulator_inner",  #cfi not configured
980  "ability_manager",  #cfi not configured
981  "session_handler",  #cfi not configured
982  "insight_intent_executor",  #cfi not configured
983  "quickfix_manager",  #cfi not configured
984  "mission_info",  #cfi not configured
985  "srms_fwk",  #cfi not configured
986  "napi_base_context",  #cfi not configured
987  "uiabilitykit_native",  #cfi not configured
988  "ability_manager_c",  #cfi not configured
989  "napi_ability_common",  #cfi not configured
990  "ability_start_setting",  #cfi not configured
991  "connection_obs_manager",  #cfi not configured
992  "dialog_request_info",  #cfi not configured
993  "ability_thread",  #cfi not configured
994  "appkit_native",  #cfi not configured
995  "ability_connect_callback_stub",  #cfi not configured
996  "ability_runtime_error_util",  #cfi not configured
997  "tools_aa_source_set",  #cfi not configured
998  "form_extension",  #cfi not configured
999  "extension_manager",  #cfi not configured
1000  "auto_fill_manager",  #cfi not configured
1001  "app_context",  #cfi not configured
1002  "dataobs_manager",  #cfi not configured
1003  "aa",  #cfi not configured
1004  "form_extension_module",  #cfi not configured
1005  "ability_deps_wrapper",  #cfi not configured
1006  "runtime",  #cfi not configured
1007  "app_context_utils",  #cfi not configured
1008  "napi_common",  #cfi not configured
1009  "app_manager",  #cfi not configured
1010  "service_extension",  #cfi not configured
1011  "uri_permission_mgr",  #cfi not configured
1012  "appmgr_test_source",  #cfi not configured
1013  "appkit_delegator",  #cfi not configured
1014  "appkit_manager_helper",  #cfi not configured
1015  "continuation_ipc",  #cfi not configured
1016  "abilityms_test_source",  #cfi not configured
1017  "data_ability_helper",  #cfi not configured
1018  "application_context_manager",  #cfi not configured
1019  "service_extension_module",  #cfi not configured
1020  "ability_business_error",  #cfi not configured
1021  "dialog_request_callback",  #cfi not configured
1022  "ui_extension",  #cfi not configured
1023  "ui_extension_module",  #cfi not configured
1024  "share_extension",  #cfi not configured
1025  "action_extension",  #cfi not configured
1026  "share_extension_module",  #cfi not configured
1027  "auto_startup_callback",  #cfi not configured
1028  "action_extension_module",  #cfi not configured
1029  "auto_fill_extension",  #cfi not configured
1030  "auto_fill_extension_module",  #cfi not configured
1031  "abilityms",  #cfi not configured
1032  "aakit_mock",  #cfi not configured
1033  "appexecfwk_appmgr_mock",  #cfi not configured
1034  "perm_verification",  #cfi not configured
1035  "appexecfwk_bundlemgr_mock",  #cfi not configured
1036  "event_report",  #cfi not configured
1037  "task_handler_wrap",  #cfi not configured
1038  "app_util",  #cfi not configured
1039  "dataobsms",  #cfi not configured
1040  "libappms",  #cfi not configured
1041  "libupms",  #cfi not configured
1042  "child_process_manager",  #cfi not configured
1043  "dataobsms_static",  #cfi not configured
1044  "insightintentcontext",  #cfi not configured
1045  "abilitycontext_napi",  #cfi not configured
1046  "libupms_static",  #cfi not configured
1047  "abilitydelegatorregistry_napi",  #cfi not configured
1048  "autofillextensionability_napi",  #cfi not configured
1049  "caller_napi",  #cfi not configured
1050  "embeddableuiability_napi",  #cfi not configured
1051  "featureability",  #cfi not configured
1052  "abilitydelegatorregistry",  #cfi not configured
1053  "insightintentexecutor_napi",  #cfi not configured
1054  "dialogrequest_napi",  #cfi not configured
1055  "datauriutils",  #cfi not configured
1056  "appmanager_napi",  #cfi not configured
1057  "errormanager_napi",  #cfi not configured
1058  "particleability",  #cfi not configured
1059  "serviceextensioncontext_napi",  #cfi not configured
1060  "uripermissionmanager_napi",  #cfi not configured
1061  "wantagent",  #cfi not configured
1062  "errormanager",  #cfi not configured
1063  "abilityconstant_napi",  #cfi not configured
1064  "contextconstant_napi",  #cfi not configured
1065  "callee_napi",  #cfi not configured
1066  "actionextensionability_napi",  #cfi not configured
1067  "extensioncontext_napi",  #cfi not configured
1068  "insightintentdriver_napi",  #cfi not configured
1069  "abilityconstant",  #cfi not configured
1070  "missionmanager",  #cfi not configured
1071  "childprocessmanager_napi",  #cfi not configured
1072  "missionmanager_napi",  #cfi not configured
1073  "testrunner_napi",  #cfi not configured
1074  "ability_napi",  #cfi not configured
1075  "abilitystagecontext_napi",  #cfi not configured
1076  "serviceextensionability_napi",  #cfi not configured
1077  "uiextensioncontext_napi",  #cfi not configured
1078  "distributedmissionmanager",  #cfi not configured
1079  "abilitymanager_napi",  #cfi not configured
1080  "autofillmanager_napi",  #cfi not configured
1081  "uiability",  #cfi not configured
1082  "configurationconstant_napi",  #cfi not configured
1083  "serviceextensionability",  #cfi not configured
1084  "extensionability_napi",  #cfi not configured
1085  "insightintent_napi",  #cfi not configured
1086  "abilitymanager",  #cfi not configured
1087  "childprocess_napi",  #cfi not configured
1088  "dialogsession_napi",  #cfi not configured
1089  "configurationconstant",  #cfi not configured
1090  "autostartupmanager",  #cfi not configured
1091  "abilitystage",  #cfi not configured
1092  "context_napi",  #cfi not configured
1093  "apprecovery_napi",  #cfi not configured
1094  "uiextensionability_napi",  #cfi not configured
1095  "wantconstant",  #cfi not configured
1096  "autofillextensioncontext_napi",  #cfi not configured
1097  "embeddableuiabilitycontext_napi",  #cfi not configured
1098  "abilitystage_napi",  #cfi not configured
1099  "featureability_napi",  #cfi not configured
1100  "insightintentcontext_napi",  #cfi not configured
1101  "wantconstant_napi",  #cfi not configured
1102  "autostartupcallback",  #cfi not configured
1103  "applicationcontext_napi",  #cfi not configured
1104  "appmanager",  #cfi not configured
1105  "quickfixmanager_napi",  #cfi not configured
1106  "shareextensionability_napi",  #cfi not configured
1107  "libsrms",  #cfi not configured
1108  "module_test_dump_util_lib",  #cfi not configured
1109  "appmgr_mst_source",  #cfi not configured
1110  "freeze_util",  #cfi not configured
1111  "appmgr_test_service",  #cfi not configured
1112  "arkui_mock",  #cfi not configured
1113  "sa_mgr_mock",  #cfi not configured
1114  "wantagent_napi",  #cfi not configured
1115  "abilitylifecyclecallback",  #cfi not configured
1116  "applicationstatechangecallback",  #cfi not configured
1117  "environmentcallback",  #cfi not configured
1118  "process_options",  #cfi not configured
1119]
1120
1121# hiview : //base/hiviewdfx/hiview
1122bypass_hiview = [
1123  "faultlogger_napi",
1124  "loglibrary_napi",
1125  "libucollection_client",
1126  "libucollection_utility",
1127  "hiview",
1128  "libxpower_event",
1129  "libxpower_event_js",
1130  "logger",
1131  "libasan_logger",
1132  "faultlogger",
1133  "hiview_base",
1134  "hiviewbase",
1135  "hiviewbase_static_lib_for_tdd",
1136  "hiview_core_for_test",
1137  "hiview_param_update_for_tdd",
1138  "hiviewplatform_config_for_tdd",
1139  "hiview_service_impl",
1140  "hiview_service_impl_for_unified_collection",
1141  "hiview_service_impl_for_js",
1142  "faultlogger_client_impl",
1143  "hiview_utility",
1144  "ucollection_client_source",
1145  "ucollection_source",
1146  "usage_event_report",
1147  "usage_event_report_for_test",
1148  "sysevent_source",
1149  "unified_collector",
1150  "sys_event_store",
1151  "sys_dispatcher",
1152  "hiview_service",
1153  "bbox_detector",
1154  "leak_detector",
1155  "xperf",
1156  "hiview_core",
1157  "usage_report",
1158  "freeze_detector",
1159  "eventlogger",
1160  "smart_parser",
1161  "hiview_reliability_common_utils",
1162  "log_analyzer",
1163  "faultlogger_common",
1164  "faultlogger_service_ohos_common",
1165  "faultlogger_service_ability",
1166  "faultlogger_service_impl",
1167  "faultlogger_service",
1168  "hiview_event_publish",
1169  "event_threshold_source",
1170  "hiview_event_raw_base",
1171  "hiview_event_raw_decode",
1172  "hiview_event_raw_encode",
1173  "eventpool",
1174  "hiview_event_report",
1175  "event_store_source",
1176  "running_status_logger_source",
1177  "log_store",
1178  "collect_device_client",
1179  "hiview_service_adapter",
1180  "hiview_param_update",
1181  "hiviewplatform_config",
1182  "log_catcher",
1183  "eventlogger_config",
1184  "dynamicloadpluginexample",
1185  "bundleplugintest",
1186  "bundletest",
1187  "faultlogger_test_napi",
1188  "event_store_utility_source",
1189  "event_store_config_source",
1190  "eventlogger_adapter_logcatcher",
1191  "faultlogger_service_fuzz_src",
1192]
1193
1194bypass_device_standby = []
1195
1196bypass_appverify = []
1197
1198bypass_drm_framework = []
1199
1200# distributed_audio : //foundation/distributedhardware/distributed_audio
1201bypass_distributed_audio = [ "distributed_audio_handler" ]
1202
1203bypass_memory_utils = [ "purgeable_memory_ndk" ]
1204
1205# distributed_camera : //foundation/distributedhardware/distributed_camera
1206bypass_distributed_camera = [
1207  "distributed_camera_source",
1208  "distributed_camera_data_process",
1209]
1210
1211# dhcp : //foundation/communication/dhcp
1212bypass_dhcp = [
1213  "dhcp_client_proxy_impl",
1214  "dhcp_server_proxy_impl",
1215]
1216
1217# device_info_manager : //foundation/deviceprofile/device_info_manager
1218bypass_device_info_manager = [
1219  "distributed_device_profile_svr",
1220  "distributed_device_profile_sdk",
1221  "distributed_device_profile_common",
1222  "deviceprofileradar",
1223  "device_profile_radar",
1224]
1225
1226bypass_dfs_service = []
1227
1228bypass_dlp_permission_service = [ "ohdlp_permission" ]
1229
1230bypass_cellular_data = []
1231
1232# request : //base/request/request
1233bypass_request = [
1234  "request_static",
1235  "request_common_static",
1236]
1237
1238bypass_datamgr_service = []
1239
1240bypass_dataclassification = []
1241
1242bypass_certificate_framework = []
1243
1244bypass_sharing_framework = []
1245
1246bypass_distributed_input = []
1247
1248# av_codec : //foundation/multimedia/av_codec
1249bypass_av_codec = [
1250  "native_media_avmuxer",  # napi target, not required to enable cfi
1251  "native_media_avdemuxer",  # napi target, not required to enable cfi
1252  "native_media_avsource",  # napi target, not required to enable cfi
1253  "native_media_codecbase",  # napi target, not required to enable cfi
1254  "native_media_acodec",  # napi target, not required to enable cfi
1255  "native_media_adec",  # napi target, not required to enable cfi
1256  "native_media_aenc",  # napi target, not required to enable cfi
1257  "native_media_vdec",  # napi target, not required to enable cfi
1258  "native_media_venc",  # napi target, not required to enable cfi
1259  "av_codec_client",  # client target, not required to enable cfi
1260  "av_codec_demo",  # test target, not required to enable cfi
1261  "av_codec_demo_muxer",  # test target, not required to enable cfi
1262  "video_codec_demo",  # test target, not required to enable cfi
1263  "video_sample",  # test target, not required to enable cfi
1264  "hcodec_demo",  # test target, not required to enable cfi
1265  "hcodec_test_helper",  # test target, not required to enable cfi
1266  "av_codec_capi_unit_test",  # test target, not required to enable cfi
1267  "av_codec_inner_unit_test",  # test target, not required to enable cfi
1268  "av_codec_engine_codeclist_mock",  # test target, not required to enable cfi
1269]
1270
1271# kv_store : //foundation/distributeddatamgr/kv_store
1272bypass_kv_store = [
1273  "distributeddb",
1274  "distributeddata_inner",
1275  "src_file",
1276  "kvdb_src_file",
1277  "src_file",
1278  "distributeddatafwk_src_file",
1279]
1280
1281bypass_preferences = []
1282
1283bypass_distributed_screen = []
1284
1285# distributed_hardware_fwk : //foundation/distributedhardware/distributed_hardware_fwk
1286bypass_distributed_hardware_fwk = [
1287  "hardwaremanager",
1288  "distributed_av_sender",
1289  "distributed_av_receiver",
1290  "histreamer_ability_querier",
1291  "histreamer_ability_querier_core",
1292  "avtrans_input_filter",
1293  "avtrans_output_filter",
1294  "plugin_AVTransDaudioInput",
1295  "plugin_AVTransDsoftbusInputAudio",
1296  "plugin_AVTransDsoftbusInput",
1297  "plugin_AVTransDscreenInput",
1298  "plugin_AVTransDaudioOutput",
1299  "plugin_AVTransDsoftbusOutput",
1300  "plugin_AVTransDscreenOutput",
1301  "plugin_AVTransDsoftbusOutputAudio",
1302]
1303
1304# soc_perf : //foundation/resourceschedule/resource_schedule_service/soc_perf
1305bypass_soc_perf = [ "socperf_test" ]
1306
1307# update_service : //base/update/updateservice
1308bypass_update_service = [
1309  "update",
1310  "updateservice",
1311]
1312
1313# graphic_2d : //foundation/graphic/graphic_2d
1314bypass_graphic_2d = [
1315  "vulkan_loader",
1316  "libnative_vsync",
1317  "2d_graphics_source_ohos",
1318  "2d_graphics_source_ohos_ng",
1319  "2d_graphics",
1320  "2d_graphics_new",
1321  "2d_graphics_canvaskit0310",
1322  "2d_graphics_drawing",
1323  "drawing_ndk_source_ohos",
1324  "drawing_ndk_source_ohos_ng",
1325  "color_picker",
1326  "EGL",
1327  "GLESv1",
1328  "GLESv2",
1329  "GLESv3",
1330  "opengl_wrapper_native_test",
1331  "debug_layer_test1",
1332  "debug_layer_test2",
1333  "vulkan_swapchain_layer",
1334  "libegl_effect",
1335  "particle_cxx_rust",
1336  "particle_cxx_cppdeps",
1337  "render_service_base_src",
1338  "libcomposer",
1339  "librender_service_base",
1340  "librender_service_base_static",
1341  "libeffectchain",
1342  "skeffectchain",
1343  "rosen_text",
1344  "libtexgine_source",
1345  "rosen_text_inner",
1346  "libtexgine",
1347  "rosen_text_texgine",
1348  "rosen_text_txt",
1349  "rosen_text_skia",
1350  "render_service_client_src",
1351  "render_service_client_src_static",
1352  "drawing_napi",
1353  "librender_service_client",
1354  "drawing_napi_impl",
1355  "text_napi",
1356  "text_napi_impl",
1357  "librender_service_client_static",
1358  "libbootanimation_utils",
1359  "libnative_image",
1360  "surface",
1361  "libgraphic_utils",
1362  "window_animation",
1363  "sync_fence",
1364  "color_manager_source",
1365  "color_space_object_convertor_source",
1366  "color_manager",
1367  "color_space_object_convertor",
1368  "colorspacemanager_napi_source",
1369  "buffer_handle",
1370  "colorspacemanager_napi",
1371  "render_service_client",
1372  "bootanimation",
1373  "socketpair",
1374  "libfence",
1375  "libskia_rs_framework",
1376  "render_frame_trace",
1377  "rs_frame_report_ext",  # not required to enable cfi
1378  "rs_frame_report_ext_surface",  # not required to enable cfi
1379  "libhyper_graphic_manager",
1380  "texgine_sample",
1381  "texgine_sample_align",
1382  "sandbox_utils",
1383  "drawing_engine_sample",
1384  "texgine_sample_alignment",
1385  "impl_eventhandler",
1386  "drawing_sample_rs",
1387  "texgine_sample_calibrate",
1388  "hilog",
1389  "texgine_sample_decoration",
1390  "mock_image_native",
1391  "drawing_sample_canvaskit0310",
1392  "mock_ipc_core",
1393  "texgine_sample_direction",
1394  "mock_utils",
1395  "texgine_sample_mix",
1396  "libtexgine_drawing",
1397  "libvsync",
1398  "texgine_sample_shadow",
1399  "texgine_sample_bug",
1400  "windowanimationmanager_napi",
1401  "texgine_sample_dynamic_font",
1402  "effectkit",
1403  "texgine_sample_emoji",
1404  "libhgmnapi",
1405  "texgine_sample_font_style",
1406  "skia_libtxt_ohos",
1407  "texgine_sample_feature",
1408  "webgl_src",
1409  "texgine_sample_glyph_position",
1410  "skia_libtxt_ohos_ng",
1411  "libwebglnapi",
1412  "texgine_sample_intrinsic_width",
1413  "skia_paragraph",
1414  "skia_unicode",
1415  "texgine_sample_spacing",
1416  "libframe_analyzer",
1417  "skia_shaper",
1418  "rosen_libicu_ohos",
1419  "texgine_sample_strut",
1420  "texgine_sample_text_color",
1421  "rosen_libicu_ohos_ng",
1422  "render_service_client_rs_demo",
1423  "texgine_sample_weight_style",
1424  "scoped_bytrace",
1425  "render_service_client_screen_mode_demo",
1426  "texgine_sample_word_boundary",
1427  "render_service_client_app_demo",
1428  "texgine_sample_ellipsis",
1429  "texgine_sample_layout",
1430  "render_service_client_node_demo",
1431  "frame_report",
1432  "semaphore",
1433  "texgine_sample_dynamic_otf_font",
1434  "render_service_client_modifier_demo",
1435  "texgine_sample_text_height",
1436  "test_header",
1437  "option_parser",
1438  "texgine_sample_typography_height",
1439  "render_service_client_transition_demo",
1440  "texgine_sample_ellipsis_modal",
1441  "libgslogger",
1442  "render_service_client_gesture_interrupt_animation_demo",
1443  "raw_parser",
1444  "gl_utils",
1445  "cpudraw",
1446  "render_service_client_gravity_demo",
1447  "raw_maker",
1448  "render_service_client_ui_capture_demo",
1449  "render_service_client__alpha_offscreen_demo",
1450  "render_service_client_scale_demo",
1451  "render_service_client_rs_animation_demo",
1452  "surface_capture_demo",
1453  "security_layer_demo",
1454  "render_service_client_surface_node_demo",
1455  "render_service_client_uni_render_demo",
1456  "render_service_client_watermark_demo",
1457  "rs_uni_render_pixelmap_demo",
1458  "render_service_display_mode_demo",
1459  "render_service_client_tunnel_handle_demo",
1460  "render_service_client_overlay_demo",
1461  "snapshot_surface",
1462  "screen_info_demo",
1463  "render_service_client_pointer_window_demo",
1464  "render_service_client_subSurface_demo",
1465  "render_service_client_fingerprint_demo",
1466  "render_service_client_first_frame_callback_demo",
1467  "opengl_wrapper_test_common",
1468  "vulkan_loader_test_common",
1469  "vulkan_loader_test_common",
1470  "rs_test_common",
1471  "rs_test_common",
1472  "surface_test_common",
1473  "rosen_ohos_sources",
1474  "color_manager_test_common",
1475  "sync_fence_common",
1476  "buffer_handle_test_common",
1477  "render_context",
1478  "vsync_test_common",
1479  "rs_client_test_common",
1480  "rs_client_test_common",
1481  "rs_test_common",
1482  "socketpair_test_common",
1483  "fence_test_common",
1484  "hdr_capability_utils",
1485  "hdr_capability_napi",
1486  "libnative_display_soloist",
1487  "libnative_color_space_manager",
1488  "rs_graphic_test_src",
1489  "rs_graphic_test",
1490  "rs_graphic_test_main",
1491]
1492
1493# security_component_manager : //base/security/security_component_manager
1494bypass_security_component_manager = [
1495  "libsecurity_component_sdk",
1496  "security_component_no_cfi_enhance_adapter_src_set",
1497  "security_component_no_cfi_framework_src_set",
1498  "security_component_no_cfi_enhance_sdk_src_set",
1499]
1500
1501# distributed_bundle_framework : //foundation/bundlemanager/distributed_bundle_framework
1502bypass_distributed_bundle_framework = [
1503  "distributedbundle",
1504  "distributedbundlemanager",
1505]
1506
1507# device_manager : //foundation/distributedhardware/device_manager
1508bypass_device_manager = [
1509  "devicemanagersdk",
1510  "devicemanagerdependency",
1511  "devicemanagerradar",
1512]
1513
1514# hdf_core : //drivers/hdf_core
1515bypass_hdf_core = [
1516  "libhdf_ipc_adapter",
1517  "libhdf_host",
1518  "hdf_devhost",
1519  "libhdi",
1520  "libpub_utils",
1521  "libhdf_utils",
1522  "libhdf_platform",
1523  "libsample_driver",
1524  "libsample1_driver",
1525  "hdf_dbg",
1526  "libhdf_test_common",
1527  "libvdi_sample1_driver",
1528  "libvdi_sample1_symbol",
1529  "libvdi_sample2_driver",
1530]
1531
1532# The list contains both part name that need to enable cfi and disable debug mode, and corresponding bypass_xxx list that bypass the cfi check
1533enable_cfi_part_and_bypass_list = [
1534  # enabled in OH4.0
1535  [
1536    "audio_framework",
1537    bypass_audio_framework,
1538  ],
1539  [
1540    "media_foundation",
1541    bypass_media_foundation,
1542  ],
1543  [
1544    "av_session",
1545    bypass_av_session,
1546  ],
1547  [
1548    "huks",
1549    bypass_huks,
1550  ],
1551  [
1552    "certificate_manager",
1553    bypass_certificate_manager,
1554  ],
1555  [
1556    "image_framework",
1557    bypass_image_framework,
1558  ],
1559  [
1560    "media_library",
1561    bypass_media_library,
1562  ],
1563  [
1564    "user_file_service",
1565    bypass_user_file_service,
1566  ],
1567  [
1568    "contacts_data_hap",
1569    bypass_contacts_data_hap,
1570  ],
1571  [
1572    "crypto_framework",
1573    bypass_crypto_framework,
1574  ],
1575  [
1576    "wpa_supplicant",
1577    bypass_wpa_supplicant,
1578  ],
1579  [
1580    "netmanager_base",
1581    bypass_netmanager_base,
1582  ],
1583  [
1584    "camera_framework",
1585    bypass_camera_framework,
1586  ],
1587  [
1588    "player_framework",
1589    bypass_player_framework,
1590  ],
1591  [
1592    "screenlock_mgr",
1593    bypass_screenlock_mgr,
1594  ],
1595  [
1596    "nfc",
1597    bypass_nfc,
1598  ],
1599  [
1600    "wifi",
1601    bypass_wifi,
1602  ],
1603  [
1604    "dsoftbus",
1605    bypass_dsoftbus,
1606  ],
1607  [
1608    "hilog",
1609    bypass_hilog,
1610  ],
1611  [
1612    "bluetooth",
1613    bypass_bluetooth,
1614  ],
1615  [
1616    "bluetooth_service",
1617    bypass_bluetooth_service,
1618  ],
1619
1620  # enabled in OH4.1
1621  [
1622    "device_security_level",
1623    bypass_device_security_level,
1624  ],
1625  [
1626    "face_auth",
1627    bypass_face_auth,
1628  ],
1629  [
1630    "fingerprint_auth",
1631    bypass_fingerprint_auth,
1632  ],
1633  [
1634    "pin_auth",
1635    bypass_pin_auth,
1636  ],
1637  [
1638    "user_auth_framework",
1639    bypass_user_auth_framework,
1640  ],
1641  [
1642    "enterprise_device_management",
1643    bypass_enterprise_device_management,
1644  ],
1645  [
1646    "wallpaper_mgr",
1647    bypass_wallpaper_mgr,
1648  ],
1649  [
1650    "resource_schedule_service",
1651    bypass_resource_schedule_service,
1652  ],
1653  [
1654    "data_object",
1655    bypass_data_object,
1656  ],
1657  [
1658    "device_auth",
1659    bypass_device_auth,
1660  ],
1661  [
1662    "data_share",
1663    bypass_data_share,
1664  ],
1665  [
1666    "time_service",
1667    bypass_time_service,
1668  ],
1669  [
1670    "imf",
1671    bypass_imf,
1672  ],
1673  [
1674    "location",
1675    bypass_location,
1676  ],
1677  [
1678    "dmsfwk",
1679    bypass_dmsfwk,
1680  ],
1681  [
1682    "usb_manager",
1683    bypass_usb_manager,
1684  ],
1685  [
1686    "sensor",
1687    bypass_sensor,
1688  ],
1689  [
1690    "battery_manager",
1691    bypass_battery_manager,
1692  ],
1693  [
1694    "battery_statistics",
1695    bypass_battery_statistics,
1696  ],
1697  [
1698    "display_manager",
1699    bypass_display_manager,
1700  ],
1701  [
1702    "power_manager",
1703    bypass_power_manager,
1704  ],
1705  [
1706    "thermal_manager",
1707    bypass_thermal_manager,
1708  ],
1709  [
1710    "device_status",
1711    bypass_device_status,
1712  ],
1713  [
1714    "motion",
1715    bypass_motion,
1716  ],
1717  [
1718    "spatial_awareness",
1719    bypass_spatial_awareness,
1720  ],
1721  [
1722    "algorithm",
1723    bypass_algorithm,
1724  ],
1725  [
1726    "window_manager",
1727    bypass_window_manager,
1728  ],
1729  [
1730    "qos_manager",
1731    bypass_qos_manager,
1732  ],
1733  [
1734    "call_manager",
1735    bypass_call_manager,
1736  ],
1737  [
1738    "cellular_call",
1739    bypass_cellular_call,
1740  ],
1741  [
1742    "core_service",
1743    bypass_core_service,
1744  ],
1745  [
1746    "rill_adapter",
1747    bypass_rill_adapter,
1748  ],
1749  [
1750    "sms_mms",
1751    bypass_sms_mms,
1752  ],
1753  [
1754    "state_registry",
1755    bypass_state_registry,
1756  ],
1757  [
1758    "telephony_data",
1759    bypass_telephony_data,
1760  ],
1761  [
1762    "common_event_service",
1763    bypass_common_event_service,
1764  ],
1765  [
1766    "distributed_notification_service",
1767    bypass_distributed_notification_service,
1768  ],
1769  [
1770    "eventhandler",
1771    bypass_eventhandler,
1772  ],
1773  [
1774    "os_account",
1775    bypass_os_account,
1776  ],
1777  [
1778    "access_token",
1779    bypass_access_token,
1780  ],
1781  [
1782    "dupdate_engine",
1783    bypass_dupdate_engine,
1784  ],
1785  [
1786    "input",
1787    bypass_input,
1788  ],
1789  [
1790    "device_attest",
1791    bypass_device_attest,
1792  ],
1793  [
1794    "perferences",
1795    bypass_perferences,
1796  ],
1797  [
1798    "relational_store",
1799    bypass_relational_store,
1800  ],
1801  [
1802    "miscdevice",
1803    bypass_miscdevice,
1804  ],
1805  [
1806    "app_file_service",
1807    bypass_app_file_service,
1808  ],
1809  [
1810    "file_api",
1811    bypass_file_api,
1812  ],
1813  [
1814    "storage_service",
1815    bypass_storage_service,
1816  ],
1817  [
1818    "scene_board_ext",
1819    bypass_scene_board_ext,
1820  ],
1821  [
1822    "background_task_mgr",
1823    bypass_background_task_mgr,
1824  ],
1825  [
1826    "device_usage_statistics",
1827    bypass_device_usage_statistics,
1828  ],
1829  [
1830    "efficiency_manager",
1831    bypass_efficiency_manager,
1832  ],
1833  [
1834    "efficiency_manager_ext",
1835    bypass_efficiency_manager_ext,
1836  ],
1837  [
1838    "frame_aware_sched",
1839    bypass_frame_aware_sched,
1840  ],
1841  [
1842    "memmgr",
1843    bypass_memmgr,
1844  ],
1845  [
1846    "memmgr_override",
1847    bypass_memmgr_override,
1848  ],
1849  [
1850    "work_scheduler",
1851    bypass_work_scheduler,
1852  ],
1853  [
1854    "accessibility",
1855    bypass_accessibility,
1856  ],
1857  [
1858    "ffrt",
1859    bypass_ffrt,
1860  ],
1861  [
1862    "advertising",
1863    bypass_advertising,
1864  ],
1865  [
1866    "oaid",
1867    bypass_oaid,
1868  ],
1869  [
1870    "init",
1871    bypass_init,
1872  ],
1873  [
1874    "bundle_framework",
1875    bypass_bundle_framework,
1876  ],
1877  [
1878    "ability_runtime",
1879    bypass_ability_runtime,
1880  ],
1881  [
1882    "hiview",
1883    bypass_hiview,
1884  ],
1885  [
1886    "device_standby",
1887    bypass_device_standby,
1888  ],
1889  [
1890    "appverify",
1891    bypass_appverify,
1892  ],
1893  [
1894    "drm_framework",
1895    bypass_drm_framework,
1896  ],
1897  [
1898    "distributed_audio",
1899    bypass_distributed_audio,
1900  ],
1901  [
1902    "memory_utils",
1903    bypass_memory_utils,
1904  ],
1905  [
1906    "distributed_camera",
1907    bypass_distributed_camera,
1908  ],
1909  [
1910    "dhcp",
1911    bypass_dhcp,
1912  ],
1913  [
1914    "device_info_manager",
1915    bypass_device_info_manager,
1916  ],
1917  [
1918    "dfs_service",
1919    bypass_dfs_service,
1920  ],
1921  [
1922    "dlp_permission_service",
1923    bypass_dlp_permission_service,
1924  ],
1925  [
1926    "cellular_data",
1927    bypass_cellular_data,
1928  ],
1929  [
1930    "request",
1931    bypass_request,
1932  ],
1933  [
1934    "datamgr_service",
1935    bypass_datamgr_service,
1936  ],
1937  [
1938    "dataclassification",
1939    bypass_dataclassification,
1940  ],
1941  [
1942    "certificate_framework",
1943    bypass_certificate_framework,
1944  ],
1945  [
1946    "sharing_framework",
1947    bypass_sharing_framework,
1948  ],
1949  [
1950    "distributed_input",
1951    bypass_distributed_input,
1952  ],
1953  [
1954    "av_codec",
1955    bypass_av_codec,
1956  ],
1957  [
1958    "kv_store",
1959    bypass_kv_store,
1960  ],
1961  [
1962    "preferences",
1963    bypass_preferences,
1964  ],
1965  [
1966    "distributed_screen",
1967    bypass_distributed_screen,
1968  ],
1969  [
1970    "distributed_hardware_fwk",
1971    bypass_distributed_hardware_fwk,
1972  ],
1973  [
1974    "soc_perf",
1975    bypass_soc_perf,
1976  ],
1977  [
1978    "update_service",
1979    bypass_update_service,
1980  ],
1981  [
1982    "graphic_2d",
1983    bypass_graphic_2d,
1984  ],
1985  [
1986    "security_component_manager",
1987    bypass_security_component_manager,
1988  ],
1989  [
1990    "distributed_bundle_framework",
1991    bypass_distributed_bundle_framework,
1992  ],
1993  [
1994    "device_manager",
1995    bypass_device_manager,
1996  ],
1997  [
1998    "hdf_core",
1999    bypass_hdf_core,
2000  ],
2001]
2002
2003# The list of part name that need to enable intsan
2004enable_intsan_part_list = []
2005
2006# The list of build target that bypass the intsan check
2007bypass_intsan_target_list = []
2008
2009# The list of part_name that not check debug
2010bypass_config_debug_list = [
2011  "libc-test",
2012  "libc-test-lib",
2013  "unittest",
2014  "fuzztest",
2015  "moduletest",
2016]
2017