未验证 提交 5da8a65b 编写于 作者: O openharmony_ci 提交者: Gitee

!168 #I5W3Q8:删除CFI配置

Merge pull request !168 from liyufan/master
......@@ -46,11 +46,6 @@ config("wpa_warnings") {
}
ohos_shared_library("wpa_client") {
sanitize = {
cfi = true
debug = false
}
output_name = "wpa_client"
sources = [
"$WPA_ROOT_DIR/src/common/wpa_ctrl.c",
......@@ -117,10 +112,6 @@ ohos_shared_library("wpa_client") {
}
ohos_shared_library("wpa") {
sanitize = {
cfi = true
debug = false
}
output_name = "wpa"
sources = [
# wpa & hostapd
......
......@@ -729,7 +729,7 @@ void wpa_debug_close_file(void)
}
void wpa_debug_setup_stdout(void) __attribute__((no_sanitize("cfi")))
void wpa_debug_setup_stdout(void)
{
#ifndef _WIN32
setvbuf(stdout, NULL, _IOLBF, 0);
......@@ -756,7 +756,7 @@ void wpa_msg_register_ifname_cb(wpa_msg_get_ifname_func func)
}
void wpa_msg(void *ctx, int level, const char *fmt, ...) __attribute__((no_sanitize("cfi")))
void wpa_msg(void *ctx, int level, const char *fmt, ...)
{
va_list ap;
char *buf;
......@@ -794,7 +794,7 @@ void wpa_msg(void *ctx, int level, const char *fmt, ...) __attribute__((no_sanit
}
void wpa_msg_ctrl(void *ctx, int level, const char *fmt, ...) __attribute__((no_sanitize("cfi")))
void wpa_msg_ctrl(void *ctx, int level, const char *fmt, ...)
{
va_list ap;
char *buf;
......@@ -822,7 +822,7 @@ void wpa_msg_ctrl(void *ctx, int level, const char *fmt, ...) __attribute__((no_
}
void wpa_msg_global(void *ctx, int level, const char *fmt, ...) __attribute__((no_sanitize("cfi")))
void wpa_msg_global(void *ctx, int level, const char *fmt, ...)
{
va_list ap;
char *buf;
......@@ -877,7 +877,7 @@ void wpa_msg_global_ctrl(void *ctx, int level, const char *fmt, ...)
}
void wpa_msg_no_global(void *ctx, int level, const char *fmt, ...) __attribute__((no_sanitize("cfi")))
void wpa_msg_no_global(void *ctx, int level, const char *fmt, ...)
{
va_list ap;
char *buf;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册