We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f33729 commit 7d02313Copy full SHA for 7d02313
samples/subsys/debug/fuzz/src/main.c
@@ -4,6 +4,7 @@
4
#include <zephyr/kernel.h>
5
#include <string.h>
6
#include <zephyr/irq.h>
7
+#include <zephyr/toolchain.h>
8
#include <irq_ctrl.h>
9
#if defined(CONFIG_BOARD_NATIVE_SIM)
10
#include <nsi_cpu_if.h>
@@ -38,7 +39,7 @@ bool found[ARRAY_SIZE(key)];
38
39
40
#define GEN_CHECK(cur, nxt) \
41
void check##nxt(const uint8_t *data, size_t sz); \
- void __attribute__((noinline)) check##cur(const uint8_t *data, size_t sz) \
42
+ void __noinline check##cur(const uint8_t *data, size_t sz) \
43
{ \
44
if (cur < sz && data[cur] == key[cur]) { \
45
if (!found[cur]) { \
0 commit comments