Home
last modified time | relevance | path

Searched full:fuzz (Results 1 – 17 of 17) sorted by relevance

/Zephyr-latest/samples/subsys/debug/fuzz/
DKconfig5 int "OS interrupt via which to deliver fuzz cases"
8 In this sample, new fuzz cases are delivered to Zephyr
13 int "Ticks to allow for fuzz case processing"
16 Fuzz interrupts are delivered, from the perspective of the
DREADME.rst4 Integrate fuzz testing with Zephyr apps.
9 This is a simple example of fuzz test integration with Zephyr apps
29 $ west build -t run -b native_sim/native/64 samples/subsys/debug/fuzz
54 …NEW_FUNC[1/6]: 0x55cbe3339c45 in check1 /home/andy/z/zephyr/samples/subsys/debug/fuzz/src/main.c:43
64 …NEW_FUNC[1/1]: 0x55cbe3339ff7 in check6 /home/andy/z/zephyr/samples/subsys/debug/fuzz/src/main.c:48
75 #0 0x55cbe333a09d in check6 /home/andy/z/zephyr/samples/subsys/debug/fuzz/src/main.c:48:1
Dsample.yaml3 name: fuzz
5 sample.debug.fuzz:
DCMakeLists.txt6 project(fuzz) project
/Zephyr-latest/tests/net/socket/select/src/
Dmain.c29 #define FUZZ 60 macro
100 * preempt the thread. That's why we add FUZZ to the expected in ZTEST_USER()
103 zassert_true(tstamp <= FUZZ, ""); in ZTEST_USER()
117 zassert_true(tstamp >= TIMEOUT_MS && tstamp <= TIMEOUT_MS + FUZZ, ""); in ZTEST_USER()
132 zassert_true(tstamp <= FUZZ, ""); in ZTEST_USER()
148 zassert_true(k_uptime_get_32() - tstamp <= FUZZ, ""); in ZTEST_USER()
162 zassert_true(k_uptime_get_32() - tstamp <= FUZZ, ""); in ZTEST_USER()
/Zephyr-latest/samples/subsys/debug/fuzz/src/
Dmain.c22 /* Fuzz testing is coverage-based, so we want to hide a failure case
65 /* Fuzz input received from LLVM via "interrupt" */
73 /* We could call check0() to execute the fuzz case here, but in fuzz_isr()
90 /* Execute the fuzz case we got from LLVM and passed in main()
117 /* Provide the fuzz data to the embedded OS as an interrupt, with in LLVMFuzzerTestOneInput()
/Zephyr-latest/tests/net/socket/poll/src/
Dmain.c30 #define FUZZ 10 macro
69 zassert_true(k_uptime_get_32() - tstamp <= FUZZ, ""); in ZTEST()
84 zassert_true(tstamp >= 30U && tstamp <= 30 + FUZZ * 2, "tstamp %d", in ZTEST()
95 zassert_true(tstamp <= FUZZ, ""); in ZTEST()
112 zassert_true(k_uptime_get_32() - tstamp <= FUZZ, ""); in ZTEST()
165 zassert_true(k_uptime_get_32() - tstamp <= FUZZ, ""); in ZTEST()
/Zephyr-latest/scripts/native_simulator/common/src/
Dmain.c113 * Note that this main() is not used when building fuzz cases,
115 * and calls the "OS" through a per-case fuzz test entry point.
/Zephyr-latest/boards/native/native_posix/
Dmain.c107 * Not used when building fuzz cases, as libfuzzer has its own main()
108 * and calls the "OS" through a per-case fuzz test entry point.
/Zephyr-latest/arch/posix/
DKconfig26 bool "Build fuzz test target"
/Zephyr-latest/tests/kernel/fifo/fifo_api/src/
Dtest_fifo_cancel.c44 /* 80 includes generous fuzz factor as k_sleep() will add an extra in tfifo_thread_thread()
/Zephyr-latest/tests/subsys/logging/log_blocking/src/
Dmain.c61 /* some "fuzz" in ms to account for odd variances */ in create_start_end()
/Zephyr-latest/kernel/
Dthread.c369 const size_t fuzz = random_val % CONFIG_STACK_POINTER_RANDOM; in random_offset() local
371 if (unlikely(fuzz * 2 > stack_size)) { in random_offset()
375 return fuzz; in random_offset()
/Zephyr-latest/doc/releases/
Dmigration-guide-3.7.rst1000 ``samples/subsys/debug/fuzz/`` for an example. (:github:`71378`)
Drelease-notes-2.3.rst729 …- [net][net.socket.select][imx-rt series] test fails (k_uptime_get_32() - tstamp <= FUZZ is false)
Drelease-notes-2.4.rst1477 …- [net][net.socket.select][imx-rt series] test fails (k_uptime_get_32() - tstamp <= FUZZ is false)
Drelease-notes-2.7.rst1530 * :github:`36896` - tests: net: select: still failing occasionally due to FUZZ