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