新增Fuzz接口

Signed-off-by: sunjingqiang <17319862417@163.com>
This commit is contained in:
sunjingqiang 2023-06-20 16:50:36 +08:00
parent 18917a8730
commit a32515a8d8
2 changed files with 4 additions and 2 deletions

View File

@ -30,6 +30,7 @@ group("fuzztest") {
"isconnected_fuzzer:IsConnectedFuzzTest",
"reassociate_fuzzer:ReAssociateFuzzTest",
"reconnect_fuzzer:ReConnectFuzzTest",
"wifihotspotstub_fuzzer:WifiHotSpotStubFuzzTest",
"wifip2pstub_fuzzer:WifiP2pStubFuzzTest",
]
}

View File

@ -20,7 +20,8 @@ module_output_path = "wifi/wifi_sta"
##############################fuzztest##########################################
ohos_fuzztest("WifiHotSpotStubFuzzTest") {
module_out_path = module_output_path
fuzz_config_file = "$WIFI_ROOT_DIR/test/fuzztest/wifi_sta/wifihotspotstub_fuzzer"
fuzz_config_file =
"$WIFI_ROOT_DIR/test/fuzztest/wifi_sta/wifihotspotstub_fuzzer"
include_dirs = [
"$WIFI_ROOT_DIR/interfaces/inner_api",
@ -41,8 +42,8 @@ ohos_fuzztest("WifiHotSpotStubFuzzTest") {
deps = [
"$WIFI_ROOT_DIR/frameworks/native:wifi_sdk",
"$WIFI_ROOT_DIR/services/wifi_standard/wifi_framework/wifi_manage:wifi_manager_service",
"$WIFI_ROOT_DIR/services/wifi_standard/wifi_framework/wifi_manage:wifi_hotspot_service_impl",
"$WIFI_ROOT_DIR/services/wifi_standard/wifi_framework/wifi_manage:wifi_manager_service",
"$WIFI_ROOT_DIR/utils:wifi_utils",
]