From fc5388811534f07c679f9f2a2cb14594182a689c Mon Sep 17 00:00:00 2001 From: "suren.gabrielyan" Date: Mon, 7 Sep 2020 18:52:17 +0400 Subject: [PATCH] CI: Add a test to pre-check fuzzer tests compilation before weekly run * Original commit: espressif/esp-idf@637f5c0a6842c42ee6cf7f41d3c5ae0cb28a68af --- components/mdns/test_afl_fuzz_host/Makefile | 1 + components/mdns/test_afl_fuzz_host/esp_attr.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/components/mdns/test_afl_fuzz_host/Makefile b/components/mdns/test_afl_fuzz_host/Makefile index d636e3758..f73d3fcbd 100644 --- a/components/mdns/test_afl_fuzz_host/Makefile +++ b/components/mdns/test_afl_fuzz_host/Makefile @@ -27,6 +27,7 @@ CFLAGS=-g -Wno-unused-value -Wno-missing-declarations -Wno-pointer-bool-conversi -I$(COMPONENTS_DIR)/lwip/lwip/src/include \ -I$(COMPONENTS_DIR)/lwip/port/esp32/include \ -I$(COMPONENTS_DIR)/lwip/lwip/src/include/lwip/apps \ + -I$(COMPONENTS_DIR)/newlib/platform_include \ -I$(COMPONENTS_DIR)/soc/include \ -I$(COMPONENTS_DIR)/soc/include \ -I$(COMPONENTS_DIR)/soc/esp32/include \ diff --git a/components/mdns/test_afl_fuzz_host/esp_attr.h b/components/mdns/test_afl_fuzz_host/esp_attr.h index abbb3b3e0..149f25c00 100644 --- a/components/mdns/test_afl_fuzz_host/esp_attr.h +++ b/components/mdns/test_afl_fuzz_host/esp_attr.h @@ -1,3 +1,6 @@ #pragma once #define IRAM_ATTR #define FLAG_ATTR(TYPE) +#define QUEUE_H +#define __XTENSA_API_H__ +#define SSIZE_MAX INT_MAX