• 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# histreamer : //foundation/multimedia/histreamer
80bypass_histreamer = [
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  "avcastpicker",
123  "mediacontrolextensionability_napi",
124  "avsession_client",
125  "mediacontrolextensioncontext_napi",
126  "media_control_extension",
127  "media_control_extension_module",
128  "avsession_item",
129  "avsession_common",
130  "avsession_napi",
131  "avsession_utils",
132  "avsession_cast_client",
133  "avsession_service",
134  "remote_session_source",
135  "avsession_router",
136  "remote_session_sink",
137  "avsession_cast_item",
138]
139
140# huks : //base/security/huks
141bypass_huks = [
142  "libhukssdk_static",
143  "cipher_napi",
144  "cipher_shared",
145  "huks_modify_old_version_key_util",
146]
147
148# certificate_manager : //base/security/certificate_manager
149bypass_certificate_manager = [ "libcert_manager_fuzz_test_common_static" ]
150
151# image_framework : //foundation/multimedia/image_framework
152bypass_image_framework = [
153  "pixelconvertadapter_static",
154  "image_static",
155  "image_utils_static",
156  "log_mock_static",
157  "utils_mock_static",
158  "pluginmanager_static",
159  "jpegplugin",
160  "textureEncoderCL",
161]
162
163# media_library : //foundation/multimedia/media_library
164bypass_media_library = [
165  "scanner",
166  "medialibrary_data_extension",
167]
168
169bypass_user_file_service = []
170
171# contacts_data_hap : //applications/standard/contacts_data
172bypass_contacts_data_hap = [ "contactsdataability" ]
173
174# crypto_framework : //base/security/crypto_framework
175bypass_crypto_framework = [
176  "crypto_plugin_common",
177  "crypto_framework_lib",
178  "cryptoframework_napi",
179]
180
181# wpa_supplicant : //third_party/wpa_supplicant
182bypass_wpa_supplicant = [
183  "wpa_cli",
184  "hostapd_cli",
185  "wpa_supplicant",
186  "hostapd",
187  "wpa_client",
188  "wpa_client_updater",
189  "wpa",
190  "wpa_sys",
191  "wpa_updater",
192]
193
194# netmanager_base : //foundation/communication/netmanager_base
195bypass_netmanager_base = [
196  "net_conn_parcel",
197  "net_policy_parcel",
198  "net_native_parcel",
199  "netsys_native_manager_static",
200  "net_stats_parcel",
201  "libip4tc",
202  "libip6tc",
203  "libxtables",
204  "libext4",
205  "libext6",
206  "net_connection",
207  "net_conn_manager_if",
208  "net_conn_manager",
209  "napi_utils",
210  "net_policy_manager",
211  "net_native_manager_if",
212  "net_stats_manager_if",
213  "net_policy_manager_if",
214  "socket_permission",
215  "netconn_ndk",
216]
217
218# camera_framework : //foundation/multimedia/camera_framework
219bypass_camera_framework = [
220  "camera_video",
221  "camera_capture",
222  "camera_capture_video",
223  "camera_capture_mode",
224  "camera_framework",
225  "camera_napi",
226  "camera_service",
227  "deferred_processing_service",
228]
229
230# player_framework : //foundation/multimedia/player_framework
231bypass_player_framework = [
232  "media_format",
233  "audio_ringtone_client",
234  "media_seccomp_filter",
235  "media_engine_common_avcodeclist",
236  "media_engine_gst_common",
237  "media_engine_gst_loader",
238  "media_engine_gst_recorder",
239  "media_engine_gst_factory",
240  "media_gst_dfx",
241  "media_engine_gst_player",
242  "media_engine_gst_avcodec",
243  "media_engine_gst_avmeta",
244  "gst_subtitle_sink_base",
245  "gst_subtitle_parse_plugin",
246  "gst_mem_sink_base",
247  "gst_mem_src_base",
248  "media_engine_dfx",
249  "gst_codec_plugins_common",
250  "soundpool_client",
251  "gst_mem_sink",
252  "gst_codec_bin",
253  "gst_audio_server_sink",
254  "gst_subtitle_sink",
255  "gst_audio_capture_src",
256  "gst_mem_src",
257  "gst_media_common",
258  "gst_codec_plugin_hdi",
259  "native_avscreen_capture",
260]
261
262bypass_screenlock_mgr = []
263bypass_nfc = []
264
265# wifi : //foundation/communication/wifi
266bypass_wifi = [
267  "crpc_client_updater",
268  "WifiHalVendorTest",
269  "crpc_server",
270  "crpc_client",
271  "wifi_hal_service",
272  "wifi_hal_service_updater",
273  "wifi_scan_service_impl",
274  "wifi_device_service_impl",
275  "wifi_utils",
276  "wifi_hotspot_service_impl",
277  "wifi_p2p_service_impl",
278  "wifi_device_proxy_impl",
279  "wifi_hotspot_proxy_impl",
280  "wifi_scan_proxy_impl",
281  "wifi_p2p_proxy_impl",
282  "rpc_server",
283  "rpc_client",
284  "wifi",
285  "wifiext",
286  "wifi_native_js",
287  "wifimanager",
288  "wifimanagerext",
289  "wifi_sdk",
290]
291
292# dsoftbus : //foundation/communication/dsoftbus
293bypass_dsoftbus = [ "softbus_server" ]
294
295# hilog : //base/hiviewdfx/hilog
296bypass_hilog = [
297  "libhilog",
298  "libhilog_base",
299  "hilog",
300  "hilogd",
301  "libhilognapi_src",
302  "libhilog_source_ohos",
303  "libhilog_source_windows",
304  "libhilog_source_mac",
305  "libhilog_source_linux",
306  "libhilog_source_android",
307  "libhilog_source_ios",
308  "libhilog_base_source",
309  "libhilog_source_ohos",
310  "libhilog_source_windows",
311  "libhilog_source_mac",
312  "libhilog_source_linux",
313  "libhilog_source_android",
314  "libhilog_source_ios",
315  "libhilog_base_source",
316]
317
318# bluetooth : //foundation/communication/bluetooth
319bypass_bluetooth = [
320  "btframework",
321  "bluetooth",
322  "bluetoothmanager",
323  "btcommon",
324  "a2dp",
325  "access",
326  "baseprofile",
327  "ble",
328  "connection",
329  "constant",
330  "hfp",
331  "hid",
332  "pan",
333  "socket",
334]
335
336# bluetoth_service : //foundation/communication/bluetooth_service
337bypass_bluetooth_service = [
338  "bluetooth_server",
339  "btservice",
340  "btsbc",
341  "btdummy",
342  "btstack",
343  "bluetooth_hdi_adapter",
344  "btipc_static",
345  "btipc_service",
346]
347
348#device_security_level : //base/security/device_security_level
349bypass_device_security_level = [
350  "messenger_static",  # blocklist contains test code only
351  "utils_static",  # blocklist contains test code only
352  "DslmUnitTest",  # blocklist contains test code only
353  "dslm_extension_dfx",  # blocklist contains test code only
354  "service_common_obj",  # blocklist contains test code only
355  "service_sa_static",  # blocklist contains test code only
356  "service_dslm_obj",  # blocklist contains test code only
357  "service_dslm_test_obj",  # blocklist contains test code only
358  "service_msg_obj",  # blocklist contains test code only
359  "oem_common_obj",  # blocklist contains test code only
360  "dslm_sdk",  # blocklist contains test code only
361  "dslm_service",  # blocklist contains test code only
362  "dslm_oem_ext",  # blocklist contains test code only
363  "dslm_ohos_cred_obj",  # blocklist contains test code only
364]
365
366# face_auth : //base/useriam/face_auth
367bypass_face_auth = [
368  "iam_utils",
369  "faceauth",
370  "faceauth_framework",
371  "faceauth_framework_stub",
372  "faceauthservice_source_set",
373  "faceauthservice",
374  "faceauthservice_ex",
375  "faceauthservice_ex_source_set",
376  "faceauth_framework_stub_fuzzer",  #cfi not configured
377  "faceauthservice_source_set_fuzzer",  #cfi not configured
378]
379
380# fingerprint_auth : //base/useriam/fingerprint_auth
381bypass_fingerprint_auth = [
382  "fingerprintauthservice_source_set_fuzzer",  #cfi not configured
383]
384
385# pin_auth : //base/useriam/pin_auth
386bypass_pin_auth = [
387  "iam_utils",
388  "pinauth_framework_source_set",
389  "pinauth_framework",
390  "pinauth_ipc",
391  "pinauthservice_source_set",
392  "pinauthservice",
393  "pinauth_ipc_fuzzer",  #cfi not configured
394  "pinauthservice_source_set_fuzzer",  #cfi not configured
395]
396
397# user_auth_framework ://base/useriam/user_auth_framework
398bypass_user_auth_framework = [
399  "iam_thread_pool",
400  "iam_utils",
401  "iam_test",
402  "userauthextensionability_napi",
403  "user_auth_extension",
404  "user_auth_extension_module",
405  "userauth",
406  "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  "attributes_fuzzer",  #cfi not configured
418  "dfx_fuzzer",  #cfi not configured
419  "userauth_client_ipc_fuzzer",  #cfi not configured
420  "userauth_service_base_fuzzer",  #cfi not configured
421  "userauth_service_core_fuzzer",  #cfi not configured
422  "userauth_service_context_fuzzer",  #cfi not configured
423  "userauth_service_ipc_fuzzer",  #cfi not configured
424  "userauth_services_ipc_fuzzer",  #cfi not configured
425  "iam_thread_pool_fuzzer",  #cfi not configured
426  "iam_utils_fuzzer",  #cfi not configured
427  "iam_test_fuzzer",  #cfi not configured
428]
429
430bypass_enterprise_device_management = []
431
432# wallpaper_mgr : //base/theme/wallpaper_mgr
433bypass_wallpaper_mgr = [
434  "wallpapermanager",  #cfi not configured
435  "wallpapermanager_static",  #cfi not configured
436  "wallpaper_utils",  #cfi not configured
437]
438
439# resource_schedule_service : //foundation/resourceschedule/resource_schedule_service
440bypass_resource_schedule_service = [
441  #"component_sched_plugin",  #cfi not configured
442  "device_standby_plugin",  #cfi not configured
443
444  #"resschedsvc",
445  "ressched_test",  #cfi not configured
446  "process_proup_test",  #cfi not configured
447]
448
449# data_object : //foundation/distributeddatamgr/data_object
450bypass_data_object = [ "distributeddataobject_static" ]
451
452# device_auth : //base/security/device_auth
453bypass_device_auth = [
454  "hichainsdk",  #cfi not configured
455  "hichainsdk_static",  #cfi not configured
456  "device_auth_test_hal",  #cfi not configured
457  "deviceauth_service",
458  "deviceauth_sdk",
459]
460
461# data_share : //foundation/distributeddatamgr/data_share
462bypass_data_share = [
463  "datashare_provider",  #cfi not configured
464]
465
466# time_service : //base/time/time_service
467bypass_time_service = [
468  "time_system_ability",
469  "time_system_ability_static",
470]
471
472bypass_imf = []
473
474# location : //base/location
475bypass_location = [
476  "lbsservice_gnss",
477  "lbsservice_network",
478  "lbsservice_passive",
479  "locator_sdk",
480  "geolocation",
481  "lbsservice_common",
482  "locator_agent",
483  "geolocation_static",
484  "lbsservice_geocode",
485  "geolocationmanager",
486]
487
488bypass_dmsfwk = []
489
490# usb_manager : //base/use/usb_manager
491bypass_usb_manager = [
492  "usbsrv_client",
493  "usb",
494  "usbmanager",
495]
496
497# sensor : //base/sensors/sensor
498bypass_sensor = [ "sensor_rust_util_ffi" ]
499
500# battery_manager : //base/powermgr/battery_manager
501bypass_battery_manager = [
502  "batterysrv_client",
503  "charger",
504  "batteryinfo",
505  "batterysrv_stub",
506  "battery",
507]
508
509# battery_statistics ://base/powermgr/battery_statistics
510bypass_battery_statistics = [
511  "batterystatistics",
512  "batterystats_client",
513  "batterystats_service",
514  "batterystats_stub",
515  "batterystats_utils",  #cfi not configured
516]
517
518# display_manager ://base/powermgr/display_manager
519bypass_display_manager = [
520  "brightness",
521  "displaymgr",
522  "displaymgr_stub",
523]
524
525# power_manager : //base/powermgr/power_manager
526bypass_power_manager = [
527  "power-shell",
528  "power_sysparam",
529  "power_permission",
530  "power_setting",
531  "powermgr_client",  #cfi not configured
532  "power_ffrt",
533  "power_vibrator",
534  "powermgr_stub",  #cfi not configured
535  "power_utils",  #cfi not configured
536  "power",  #cfi not configured
537  "runninglock",  #cfi not configured
538]
539
540# thermal_manager : //base/powermgr/thermal_manager
541bypass_thermal_manager = [
542  "thermalservice",
543  "mock_thermalsrv_client",
544  "thermalsrv_client",
545  "thermalmgr_listener",
546  "thermal_protector",
547  "thermal",
548  "thermal_utils",
549  "thermalmgr_stub",
550  "thermalmgr_proxy",
551]
552
553# device_status ://base/msdp/device_status
554bypass_device_status = [
555  "devicestatus_mock",  #cfi not configured
556  "devicestatus_static_service",  #cfi not configured
557  "devicestatus_vdev",  #cfi not configured
558  "devicestatus_vdev_builders",  #cfi not configured
559  "vdevadm",  #cfi not configured
560]
561
562bypass_motion = []
563
564bypass_spatial_awareness = []
565
566bypass_algorithm = []
567
568# window_manager : //foundation/window/window_manager
569bypass_window_manager = [
570  "setresolution_screen",  #cfi not configured
571  "libsetresolution_util",  #cfi not configured
572  "libwmutil",  #cfi not configured
573  "screensessionmanager_napi",  #cfi not configured
574  "demo_mirror_screen_listener",  #cfi not configured
575  "demo_screenshot_listener",  #cfi not configured
576  "demo_snapshot_virtual_screen",  #cfi not configured
577  "demo_system_sub_window",  #cfi not configured
578  "demo_freeze_display",  #cfi not configured
579  "demo_water_mark_listener",  #cfi not configured
580  "demo_session_manager",  #cfi not configured
581  "ws_unittest_common",  #cfi not configured
582  "utils_unittest_common",  #cfi not configured
583  "window_extension_unittest_common",  #cfi not configured
584  "dm_unittest_common",  #cfi not configured
585  "dms_systemtest_common",  #cfi not configured
586  "dmserver_unittest_common",  #cfi not configured
587  "wm_unittest_common",  #cfi not configured
588  "libtestutil",  #cfi not configured
589  "wms_systemtest_common",  #cfi not configured
590  "libwm_lite",  #cfi not configured
591  "libdm",  #cfi not configured
592]
593
594bypass_qos_manager = []
595
596bypass_call_manager = []
597
598bypass_cellular_call = []
599
600# core_service : //base/telephony/core_service
601bypass_core_service = [
602  "vcard",  #cfi not configured
603  "libtel_vcard",  #cfi not configured
604]
605
606bypass_rill_adapter = []
607
608bypass_sms_mms = []
609
610bypass_state_registry = []
611
612bypass_telephony_data = []
613
614# common_event_service : //base/notification/common_event_service
615bypass_common_event_service = [
616  "cesfwk_core",  #cfi not configured
617  "cesfwk_innerkits",
618  "cesfwk_services_static",  #cfi not configured
619  "tools_cem_source_set",  #cfi not configured
620  "actscesfwk_kits_test",  #cfi not configured
621  "cesfwk_kits_test",  #cfi not configured
622  "cesfwk_services",  #cfi not configured
623]
624
625bypass_distributed_notification_service = []
626
627# eventhandler : //base/notification/eventhandler
628bypass_eventhandler = [ "libeventhandler" ]
629
630# os_account : //base/account/os_account
631bypass_os_account = [ "accountmgr" ]
632
633# access_token : //base/security/access_token
634bypass_access_token = [
635  "token_sync_manager_service",
636  "accesstoken_manager_service",
637  "privacy_manager_service",
638  "libaccesstoken_sdk",
639  "libnativetoken",
640  "libprivacy_sdk",
641  "libtoken_callback_sdk",
642  "libtokenid_sdk",
643  "libtoken_setproc",  #cfi not configured
644  "libcodesignature_analysis",
645  "atm",  #cfi not configured
646  "libabilityaccessctrl",
647  "libnapi_common",
648  "libprivacymanager",
649  "libtokensync_sdk",
650  "accesstoken_service_common",
651  "accesstoken_common_cxx",
652  "accesstoken_communication_adapter_cxx",
653  "privacy_communication_adapter_cxx",
654]
655
656bypass_dupdate_engine = []
657
658# input : //foundation/multimodalinput/input
659bypass_input = [
660  "mmi_rust_key_config",  #cfi not configured
661  "mmi_rust",  #cfi not configured
662  "libmmi-common",  #cfi not configured
663  "libmmi-util",  #cfi not configured
664  "libmmi-client",  #cfi not configured
665]
666
667bypass_device_attest = []
668
669bypass_perferences = []
670
671# relational_store : //foundation/distributeddatamgr/relational_store
672bypass_relational_store = [
673  "commontype_napi",  #cfi not configured
674  "cloudextension",  #cfi not configured
675]
676
677bypass_miscdevice = []
678
679# app_file_service : //foundation/filemanagement/app_file_service
680bypass_app_file_service = [
681  "fileuri_native",  #cfi not configured
682  "fileshare",  #cfi not configured
683  "remote_file_share_native",  #cfi not configured
684  "fileuri",  #cfi not configured
685  "sandbox_helper_native",  #cfi not configured
686  "backup",  #cfi not configured
687  "backup_tool",  #cfi not configured
688  "backup_cxx_rust",  #cfi not configured
689]
690
691# file_api : //foundation/filemanagement/file_api
692bypass_file_api = [
693  "rust_file",  #cfi not configured
694]
695
696# storage_service : //foundation/filemanagement/storage_service
697bypass_storage_service = [
698  "blkid",  #cfi not configured
699]
700
701bypass_scene_board_ext = []
702
703# background_task_mgr : //foundation/resourceschedule/background_task_mgr
704bypass_background_task_mgr = [ "bgtaskmgr_service_static" ]
705
706bypass_device_usage_statistics = []
707
708bypass_efficiency_manager = []
709
710bypass_efficiency_manager_ext = []
711
712bypass_frame_aware_sched = []
713
714bypass_memmgr = []
715
716bypass_memmgr_plugin = []
717
718# work_scheduler : //foundation/resourceschedule/work_scheduler
719bypass_work_scheduler = [ "workschedservice_static" ]
720
721# accessibility : //foundation/barrierfree/accessibility
722bypass_accessibility = [
723  "accessibility",
724  "accessibleability",
725  "accessibilityconfig",
726  "accessibilityclient",
727  "config_napi",
728  "accessibilityextensionability_napi",
729  "accessibilityextensioncontext_napi",
730  "accessibility_extension_module",
731  "gesturepath_napi",
732  "gesturepoint_napi",
733]
734
735# ffrt : //foundation/resourceschedule/ffrt
736bypass_ffrt = [
737  "libffrt",  #cfi not configured
738  "ffrt_ndk",  #cfi not configured
739]
740
741# advertising : //domains/advertising/advertising
742bypass_advertising = [
743  "advertising",
744  "adcomponent",
745  "adsserviceextensionability_napi",
746  "autoadcomponent",
747  "adsserviceextensioncontext_napi",
748  "libadsservice_extension",
749  "adsservice_extension_module",
750  "advertising_common",
751]
752
753# oaid : //domains/advertising/oaid
754bypass_oaid = [
755  "oaid_client",
756  "oaid",
757  "oaid_service",
758  "oaid_utils",
759]
760
761# init : //base/startup/init
762bypass_init = [
763  "watchdog_service",  #cfi not configured
764  "libueventd_ramdisk_static",  #cfi not configured
765  "begetctl",  #cfi not configured
766  "loopevent",  #cfi not configured
767  "libbegetutil",  #cfi not configured
768  "libfsmanager_static",  #cfi not configured
769  "seccomp",  #cfi not configured
770  "ueventd",  #cfi not configured
771  "reboot",  #cfi not configured
772  "libbeget_proxy",  #cfi not configured
773  "paramshell",  #cfi not configured
774  "param",  #cfi not configured
775  "libbegetutil_static",  #cfi not configured
776  "deviceinfo_ndk",  #cfi not configured
777  "deviceinfo",  #cfi not configured
778  "init_log",  #cfi not configured
779  "agent_log",  #cfi not configured
780  "systemparameter",  #cfi not configured
781  "bootchart",  #cfi not configured
782  "init_context",  #cfi not configured
783  "init_eng",  #cfi not configured
784  "libiniteng_static",  #cfi not configured
785  "rebootmodule",  #cfi not configured
786  "init_early",  #cfi not configured
787  "init",  #cfi not configured
788  "systemparameterenhance",  #cfi not configured
789  "udidmodule",  #cfi not configured
790  "libudid_static",  #cfi not configured
791  "libudidcomm",  #cfi not configured
792  "selinuxadp",  #cfi not configured
793  "system_filter",  #cfi not configured
794  "appspawn_filter",  #cfi not configured
795  "initcontext_static",  #cfi not configured
796  "nwebspawn_filter",  #cfi not configured
797  "app_filter",  #cfi not configured
798  "inittrace",  #cfi not configured
799  "updater_filter",  #cfi not configured
800  "libseccomp_static",  #cfi not configured
801  "eventmodule",  #cfi not configured
802  "parameterbase_ext",  #cfi not configured
803  "param_init",  #cfi not configured
804  "libinit_utils",  #cfi not configured
805  "param_client",  #cfi not configured
806  "client",  #cfi not configured
807  "fd_holder_test",  #cfi not configured
808  "libfuzz_utils",  #cfi not configured
809  "server",  #cfi not configured
810  "ondemandTest",  #cfi not configured
811  "libparamtestmodule",  #cfi not configured
812  "libsocket",  #cfi not configured
813  "sandbox",  #cfi not configured
814  "libcontrolfd",  #cfi not configured
815  "libfile",  #cfi not configured
816  "fdholder",  #cfi not configured
817  "sh",  #cfi not configured
818  "libcrashhandler",  #cfi not configured
819]
820
821# bundle_framework : //foundation/bundlemanager/bundle_framework
822bypass_bundle_framework = [
823  "appexecfwk_base",  #cfi not configured
824  "appexecfwk_core",  #cfi not configured
825  "bundlemgr_extension",  #cfi not configured
826  "libappexecfwk_common",  #cfi not configured
827  "bundle_napi_common",  #cfi not configured
828  "app_detail_ability",  #cfi not configured
829  "bundlemgr_graphics",  #cfi not configured
830  "parser_common",  #cfi not configured
831  "bms_install_sst_source",  #cfi not configured
832  "rpcid_decode",  #cfi not configured
833  "bundle_ndk",  #cfi not configured
834  "bundle_parser",  #cfi not configured
835  "installs",  #cfi not configured
836  "bundlemanager",  #cfi not configured
837  "bundlemonitor",  #cfi not configured
838  "bundleresourcemanager",  #cfi not configured
839  "bundle",  #cfi not configured
840  "defaultappmanager",  #cfi not configured
841  "freeinstall",  #cfi not configured
842  "installer",  #cfi not configured
843  "launcherbundlemanager",  #cfi not configured
844  "overlay",  #cfi not configured
845  "innerbundlemanager",  #cfi not configured
846  "package",  #cfi not configured
847  "appcontrol",  #cfi not configured
848  "zlib",  #cfi not configured
849  "tool_common",  #cfi not configured
850  "fun",  #cfi not configured
851  "hello",  #cfi not configured
852  "test01",  #cfi not configured
853  "test02",  #cfi not configured
854  "otaUpdateTestAplUpSo1",  #cfi not configured
855  "otaUpdateTestAplUpSo2",  #cfi not configured
856  "otaUpdateTestBasisFt1So1",  #cfi not configured
857  "otaUpdateTestBasisFt2So1",  #cfi not configured
858  "otaUpdateTestBasisFt1So2",  #cfi not configured
859  "otaUpdateTestBasisFt2So2",  #cfi not configured
860  "otaUpdateTestModuleFieldSo1",  #cfi not configured
861  "otaUpdateTestSignaIconSo1",  #cfi not configured
862  "otaUpdateTestModuleFieldSo2",  #cfi not configured
863  "otaUpdateTestSignaIconSo2",  #cfi not configured
864  "otaUpdateTestSoChangedSo1",  #cfi not configured
865  "otaUpdateTestSoChangedSo2",  #cfi not configured
866  "otaUpdateTestSoChangedFt2So1",  #cfi not configured
867  "otaUpdateTestAplDownSo1",  #cfi not configured
868  "otaUpdateTestAplDownSo2",  #cfi not configured
869  "hapso3",  #cfi not configured
870  "hapso17",  #cfi not configured
871  "hapSectionContainso5",  #cfi not configured
872  "hapso4",  #cfi not configured
873  "hapso31",  #cfi not configured
874  "hapso18",  #cfi not configured
875  "hapso15",  #cfi not configured
876  "hapSectionContainso6",  #cfi not configured
877  "hapso32",  #cfi not configured
878  "hapso16",  #cfi not configured
879  "hapso1",  #cfi not configured
880  "hapso37",  #cfi not configured
881  "hapso9",  #cfi not configured
882  "hspast41",  #cfi not configured
883  "hapso2",  #cfi not configured
884  "hapso10",  #cfi not configured
885  "hapso38",  #cfi not configured
886  "hspast42",  #cfi not configured
887  "hapso21",  #cfi not configured
888  "hapSectionContainso3",  #cfi not configured
889  "hapso22",  #cfi not configured
890  "hapso27",  #cfi not configured
891  "hapSectionContainso4",  #cfi not configured
892  "hspast21",  #cfi not configured
893  "hapso28",  #cfi not configured
894  "hspast22",  #cfi not configured
895  "hspast31",  #cfi not configured
896  "hapso7",  #cfi not configured
897  "hapSectionContainso7",  #cfi not configured
898  "hspast32",  #cfi not configured
899  "hapso29",  #cfi not configured
900  "hapso8",  #cfi not configured
901  "hapSectionContainso8",  #cfi not configured
902  "hapso30",  #cfi not configured
903  "hapso19",  #cfi not configured
904  "hapso13",  #cfi not configured
905  "hapso20",  #cfi not configured
906  "hapso14",  #cfi not configured
907  "hapso23",  #cfi not configured
908  "hapso24",  #cfi not configured
909  "hapso33",  #cfi not configured
910  "hapso5",  #cfi not configured
911  "hapso34",  #cfi not configured
912  "hapso11",  #cfi not configured
913  "hapso6",  #cfi not configured
914  "hapso25",  #cfi not configured
915  "hapso12",  #cfi not configured
916  "hapso26",  #cfi not configured
917  "hapso35",  #cfi not configured
918  "hapSectionContainso1",  #cfi not configured
919  "hspast11",  #cfi not configured
920  "hapso36",  #cfi not configured
921  "hapSectionContainso2",  #cfi not configured
922  "hspast12",  #cfi not configured
923]
924
925# ability_runtime : //foundation/ability/ability_runtime
926bypass_ability_runtime = [
927  "quickfixms",  #cfi not configured
928  "abilitykit_utils",  #cfi not configured
929  "quickfixms_static",  #cfi not configured
930  "abilitykit_native",  #cfi not configured
931  "js_environment",  #cfi not configured
932  "extensionkit_native",  #cfi not configured
933  "wantagent_innerkits",  #cfi not configured
934  "ability_context_native",  #cfi not configured
935  "ability_simulator_inner",  #cfi not configured
936  "ability_manager",  #cfi not configured
937  "session_handler",  #cfi not configured
938  "insight_intent_executor",  #cfi not configured
939  "quickfix_manager",  #cfi not configured
940  "mission_info",  #cfi not configured
941  "srms_fwk",  #cfi not configured
942  "napi_base_context",  #cfi not configured
943  "uiabilitykit_native",  #cfi not configured
944  "ability_manager_c",  #cfi not configured
945  "napi_ability_common",  #cfi not configured
946  "ability_start_setting",  #cfi not configured
947  "connection_obs_manager",  #cfi not configured
948  "dialog_request_info",  #cfi not configured
949  "ability_thread",  #cfi not configured
950  "appkit_native",  #cfi not configured
951  "ability_connect_callback_stub",  #cfi not configured
952  "ability_runtime_error_util",  #cfi not configured
953  "tools_aa_source_set",  #cfi not configured
954  "form_extension",  #cfi not configured
955  "extension_manager",  #cfi not configured
956  "auto_fill_manager",  #cfi not configured
957  "app_context",  #cfi not configured
958  "dataobs_manager",  #cfi not configured
959  "aa",  #cfi not configured
960  "form_extension_module",  #cfi not configured
961  "ability_deps_wrapper",  #cfi not configured
962  "runtime",  #cfi not configured
963  "app_context_utils",  #cfi not configured
964  "napi_common",  #cfi not configured
965  "app_manager",  #cfi not configured
966  "service_extension",  #cfi not configured
967  "uri_permission_mgr",  #cfi not configured
968  "appmgr_test_source",  #cfi not configured
969  "appkit_delegator",  #cfi not configured
970  "appkit_manager_helper",  #cfi not configured
971  "continuation_ipc",  #cfi not configured
972  "abilityms_test_source",  #cfi not configured
973  "data_ability_helper",  #cfi not configured
974  "application_context_manager",  #cfi not configured
975  "service_extension_module",  #cfi not configured
976  "ability_business_error",  #cfi not configured
977  "dialog_request_callback",  #cfi not configured
978  "ui_extension",  #cfi not configured
979  "ui_extension_module",  #cfi not configured
980  "share_extension",  #cfi not configured
981  "action_extension",  #cfi not configured
982  "share_extension_module",  #cfi not configured
983  "auto_startup_callback",  #cfi not configured
984  "action_extension_module",  #cfi not configured
985  "auto_fill_extension",  #cfi not configured
986  "auto_fill_extension_module",  #cfi not configured
987  "abilityms",  #cfi not configured
988  "aakit_mock",  #cfi not configured
989  "appexecfwk_appmgr_mock",  #cfi not configured
990  "perm_verification",  #cfi not configured
991  "appexecfwk_bundlemgr_mock",  #cfi not configured
992  "event_report",  #cfi not configured
993  "task_handler_wrap",  #cfi not configured
994  "app_util",  #cfi not configured
995  "dataobsms",  #cfi not configured
996  "libappms",  #cfi not configured
997  "libupms",  #cfi not configured
998  "child_process_manager",  #cfi not configured
999  "dataobsms_static",  #cfi not configured
1000  "insightintentcontext",  #cfi not configured
1001  "abilitycontext_napi",  #cfi not configured
1002  "libupms_static",  #cfi not configured
1003  "abilitydelegatorregistry_napi",  #cfi not configured
1004  "autofillextensionability_napi",  #cfi not configured
1005  "caller_napi",  #cfi not configured
1006  "embeddableuiability_napi",  #cfi not configured
1007  "featureability",  #cfi not configured
1008  "abilitydelegatorregistry",  #cfi not configured
1009  "insightintentexecutor_napi",  #cfi not configured
1010  "dialogrequest_napi",  #cfi not configured
1011  "datauriutils",  #cfi not configured
1012  "appmanager_napi",  #cfi not configured
1013  "errormanager_napi",  #cfi not configured
1014  "particleability",  #cfi not configured
1015  "serviceextensioncontext_napi",  #cfi not configured
1016  "uripermissionmanager_napi",  #cfi not configured
1017  "wantagent",  #cfi not configured
1018  "errormanager",  #cfi not configured
1019  "abilityconstant_napi",  #cfi not configured
1020  "contextconstant_napi",  #cfi not configured
1021  "callee_napi",  #cfi not configured
1022  "actionextensionability_napi",  #cfi not configured
1023  "extensioncontext_napi",  #cfi not configured
1024  "insightintentdriver_napi",  #cfi not configured
1025  "abilityconstant",  #cfi not configured
1026  "missionmanager",  #cfi not configured
1027  "childprocessmanager_napi",  #cfi not configured
1028  "missionmanager_napi",  #cfi not configured
1029  "testrunner_napi",  #cfi not configured
1030  "ability_napi",  #cfi not configured
1031  "abilitystagecontext_napi",  #cfi not configured
1032  "serviceextensionability_napi",  #cfi not configured
1033  "uiextensioncontext_napi",  #cfi not configured
1034  "distributedmissionmanager",  #cfi not configured
1035  "abilitymanager_napi",  #cfi not configured
1036  "autofillmanager_napi",  #cfi not configured
1037  "uiability",  #cfi not configured
1038  "configurationconstant_napi",  #cfi not configured
1039  "serviceextensionability",  #cfi not configured
1040  "extensionability_napi",  #cfi not configured
1041  "insightintent_napi",  #cfi not configured
1042  "abilitymanager",  #cfi not configured
1043  "childprocess_napi",  #cfi not configured
1044  "dialogsession_napi",  #cfi not configured
1045  "configurationconstant",  #cfi not configured
1046  "autostartupmanager",  #cfi not configured
1047  "abilitystage",  #cfi not configured
1048  "context_napi",  #cfi not configured
1049  "apprecovery_napi",  #cfi not configured
1050  "uiextensionability_napi",  #cfi not configured
1051  "wantconstant",  #cfi not configured
1052  "autofillextensioncontext_napi",  #cfi not configured
1053  "embeddableuiabilitycontext_napi",  #cfi not configured
1054  "abilitystage_napi",  #cfi not configured
1055  "featureability_napi",  #cfi not configured
1056  "insightintentcontext_napi",  #cfi not configured
1057  "wantconstant_napi",  #cfi not configured
1058  "autostartupcallback",  #cfi not configured
1059  "applicationcontext_napi",  #cfi not configured
1060  "appmanager",  #cfi not configured
1061  "quickfixmanager_napi",  #cfi not configured
1062  "shareextensionability_napi",  #cfi not configured
1063  "libsrms",  #cfi not configured
1064  "module_test_dump_util_lib",  #cfi not configured
1065  "appmgr_mst_source",  #cfi not configured
1066  "freeze_util",  #cfi not configured
1067  "appmgr_test_service",  #cfi not configured
1068  "arkui_mock",  #cfi not configured
1069  "sa_mgr_mock",  #cfi not configured
1070  "wantagent_napi",  #cfi not configured
1071  "abilitylifecyclecallback",  #cfi not configured
1072]
1073
1074# 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
1075enable_cfi_part_and_bypass_list = [
1076  # enabled in OH4.0
1077  [
1078    "audio_framework",
1079    bypass_audio_framework,
1080  ],
1081  [
1082    "media_foundation",
1083    bypass_histreamer,
1084  ],
1085  [
1086    "av_session",
1087    bypass_av_session,
1088  ],
1089  [
1090    "huks",
1091    bypass_huks,
1092  ],
1093  [
1094    "certificate_manager",
1095    bypass_certificate_manager,
1096  ],
1097  [
1098    "image_framework",
1099    bypass_image_framework,
1100  ],
1101  [
1102    "media_library",
1103    bypass_media_library,
1104  ],
1105  [
1106    "user_file_service",
1107    bypass_user_file_service,
1108  ],
1109  [
1110    "contacts_data_hap",
1111    bypass_contacts_data_hap,
1112  ],
1113  [
1114    "crypto_framework",
1115    bypass_crypto_framework,
1116  ],
1117  [
1118    "wpa_supplicant",
1119    bypass_wpa_supplicant,
1120  ],
1121  [
1122    "netmanager_base",
1123    bypass_netmanager_base,
1124  ],
1125  [
1126    "camera_framework",
1127    bypass_camera_framework,
1128  ],
1129  [
1130    "player_framework",
1131    bypass_player_framework,
1132  ],
1133  [
1134    "screenlock_mgr",
1135    bypass_screenlock_mgr,
1136  ],
1137  [
1138    "nfc",
1139    bypass_nfc,
1140  ],
1141  [
1142    "wifi",
1143    bypass_wifi,
1144  ],
1145  [
1146    "dsoftbus",
1147    bypass_dsoftbus,
1148  ],
1149  [
1150    "hilog",
1151    bypass_hilog,
1152  ],
1153  [
1154    "bluetooth",
1155    bypass_bluetooth,
1156  ],
1157  [
1158    "bluetooth_service",
1159    bypass_bluetooth_service,
1160  ],
1161
1162  # enabled in OH4.1
1163  [
1164    "device_security_level",
1165    bypass_device_security_level,
1166  ],
1167  [
1168    "face_auth",
1169    bypass_face_auth,
1170  ],
1171  [
1172    "fingerprint_auth",
1173    bypass_fingerprint_auth,
1174  ],
1175  [
1176    "pin_auth",
1177    bypass_pin_auth,
1178  ],
1179  [
1180    "user_auth_framework",
1181    bypass_user_auth_framework,
1182  ],
1183  [
1184    "enterprise_device_management",
1185    bypass_enterprise_device_management,
1186  ],
1187  [
1188    "wallpaper_mgr",
1189    bypass_wallpaper_mgr,
1190  ],
1191  [
1192    "resource_schedule_service",
1193    bypass_resource_schedule_service,
1194  ],
1195  [
1196    "data_object",
1197    bypass_data_object,
1198  ],
1199  [
1200    "device_auth",
1201    bypass_device_auth,
1202  ],
1203  [
1204    "data_share",
1205    bypass_data_share,
1206  ],
1207  [
1208    "time_service",
1209    bypass_time_service,
1210  ],
1211  [
1212    "imf",
1213    bypass_imf,
1214  ],
1215  [
1216    "location",
1217    bypass_location,
1218  ],
1219  [
1220    "dmsfwk",
1221    bypass_dmsfwk,
1222  ],
1223  [
1224    "usb_manager",
1225    bypass_usb_manager,
1226  ],
1227  [
1228    "sensor",
1229    bypass_sensor,
1230  ],
1231  [
1232    "battery_manager",
1233    bypass_battery_manager,
1234  ],
1235  [
1236    "battery_statistics",
1237    bypass_battery_statistics,
1238  ],
1239  [
1240    "display_manager",
1241    bypass_display_manager,
1242  ],
1243  [
1244    "power_manager",
1245    bypass_power_manager,
1246  ],
1247  [
1248    "thermal_manager",
1249    bypass_thermal_manager,
1250  ],
1251  [
1252    "device_status",
1253    bypass_device_status,
1254  ],
1255  [
1256    "motion",
1257    bypass_motion,
1258  ],
1259  [
1260    "spatial_awareness",
1261    bypass_spatial_awareness,
1262  ],
1263  [
1264    "algorithm",
1265    bypass_algorithm,
1266  ],
1267  [
1268    "window_manager",
1269    bypass_window_manager,
1270  ],
1271  [
1272    "qos_manager",
1273    bypass_qos_manager,
1274  ],
1275  [
1276    "call_manager",
1277    bypass_call_manager,
1278  ],
1279  [
1280    "cellular_call",
1281    bypass_cellular_call,
1282  ],
1283  [
1284    "core_service",
1285    bypass_core_service,
1286  ],
1287  [
1288    "rill_adapter",
1289    bypass_rill_adapter,
1290  ],
1291  [
1292    "sms_mms",
1293    bypass_sms_mms,
1294  ],
1295  [
1296    "state_registry",
1297    bypass_state_registry,
1298  ],
1299  [
1300    "telephony_data",
1301    bypass_telephony_data,
1302  ],
1303  [
1304    "common_event_service",
1305    bypass_common_event_service,
1306  ],
1307  [
1308    "distributed_notification_service",
1309    bypass_distributed_notification_service,
1310  ],
1311  [
1312    "eventhandler",
1313    bypass_eventhandler,
1314  ],
1315  [
1316    "os_account",
1317    bypass_os_account,
1318  ],
1319  [
1320    "access_token",
1321    bypass_access_token,
1322  ],
1323  [
1324    "dupdate_engine",
1325    bypass_dupdate_engine,
1326  ],
1327  [
1328    "input",
1329    bypass_input,
1330  ],
1331  [
1332    "device_attest",
1333    bypass_device_attest,
1334  ],
1335  [
1336    "perferences",
1337    bypass_perferences,
1338  ],
1339  [
1340    "relational_store",
1341    bypass_relational_store,
1342  ],
1343  [
1344    "miscdevice",
1345    bypass_miscdevice,
1346  ],
1347  [
1348    "app_file_service",
1349    bypass_app_file_service,
1350  ],
1351  [
1352    "file_api",
1353    bypass_file_api,
1354  ],
1355  [
1356    "storage_service",
1357    bypass_storage_service,
1358  ],
1359  [
1360    "scene_board_ext",
1361    bypass_scene_board_ext,
1362  ],
1363  [
1364    "background_task_mgr",
1365    bypass_background_task_mgr,
1366  ],
1367  [
1368    "device_usage_statistics",
1369    bypass_device_usage_statistics,
1370  ],
1371  [
1372    "efficiency_manager",
1373    bypass_efficiency_manager,
1374  ],
1375  [
1376    "efficiency_manager_ext",
1377    bypass_efficiency_manager_ext,
1378  ],
1379  [
1380    "frame_aware_sched",
1381    bypass_frame_aware_sched,
1382  ],
1383  [
1384    "memmgr",
1385    bypass_memmgr,
1386  ],
1387  [
1388    "memmgr_plugin",
1389    bypass_memmgr_plugin,
1390  ],
1391  [
1392    "work_scheduler",
1393    bypass_work_scheduler,
1394  ],
1395  [
1396    "accessibility",
1397    bypass_accessibility,
1398  ],
1399  [
1400    "ffrt",
1401    bypass_ffrt,
1402  ],
1403  [
1404    "advertising",
1405    bypass_advertising,
1406  ],
1407  [
1408    "oaid",
1409    bypass_oaid,
1410  ],
1411  [
1412    "init",
1413    bypass_init,
1414  ],
1415  [
1416    "bundle_framework",
1417    bypass_bundle_framework,
1418  ],
1419  [
1420    "ability_runtime",
1421    bypass_ability_runtime,
1422  ],
1423]
1424
1425# The list of part name that need to enable intsan
1426enable_intsan_part_list = []
1427
1428# The list of build target that bypass the intsan check
1429bypass_intsan_target_list = []
1430