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