d0f8c75edd
test/fuzz: stub usbd_defer_func in net_ncm harness
...
The self-contained net_ncm fuzz harness #includes ncm_device.c and stubs
the usbd symbols it references rather than linking the device stack.
tud_network_link_state() now calls usbd_defer_func(), so add a matching
no-op stub to keep the harness linking.
2026-08-07 07:42:32 +01:00
2d5f5c0cf2
clamped copied length to n
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2026-07-05 12:45:55 +02:00
6563ef3b27
fix ci
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2026-07-05 12:35:03 +02:00
3439e9c8de
add ncm receive-path fuzz harness with out-of-bounds seed
...
folds the reproducer for the recv_validate_datagram bound into a small
self-contained fuzz target. it feeds a raw ntb straight into the validator
(the driver is pulled in so the static function is reachable) and ships the
crafted 64-byte ntb as a seed. the seed trips an asan heap-buffer-overflow
against the unpatched driver and is rejected cleanly with the wLength bound
in place.
2026-07-03 23:16:28 +05:30
aea4f6046e
refactor(vendor/cdc): add CFG_TUD_CDC_RX_NEED_ZLP and CFG_TUD_VENDOR_RX_NEED_ZLP
2026-03-12 12:25:59 +07:00
78bbc7dc2e
refactor(config): separate endpoint buffer sizes into RX and TX definitions for clarity and flexibility
2026-03-12 11:43:32 +07:00
49a8529dcf
clean up cmake, remove family_get_project_name()
2025-12-19 12:33:42 +07:00
b73003745f
move host hacked bulk mps out of tu_edpt_validate()
2025-12-11 16:41:33 +07:00
d92b810df7
fix Identifiers that start with '__' or '_[A-Z]' are reserved.
...
fix compiling with nuc family
2025-10-28 14:14:01 +07:00
c48bbfab5e
more make refactor
2025-10-14 17:53:55 +07:00
3773d60a1e
fix typos
2025-10-02 17:15:22 +07:00
a42184b6fe
remove legacy DEPS_SUBMODULES in make
2025-07-02 11:03:50 +07:00
e43387abac
rework cmake with rtos support add RTOS to family_configure_device/host/dual_example()
2023-06-27 15:45:38 +07:00
3623ba1884
fix trailing space and new line
...
temporarily disable codespell
2023-03-17 16:12:49 +07:00
e62d1a03ac
integrate top.mk into make.mk
2023-03-06 13:25:56 +07:00
498989ee00
use tu_static instead of static _fuzz_thread
2023-02-22 16:23:40 +07:00
557bf82336
Merge pull request #1867 from silvergasp/thread_local_globals
...
fix: Change all static variables to thread when fuzzing
2023-02-22 12:54:32 +07:00
bcf5e5f729
missing some files
2023-02-22 12:10:22 +07:00
02f1f05697
feat(fuzz): Adds seed corpus for cdc and msc classes
2023-01-29 09:38:05 -08:00
18c3095346
fix: Change all static variables to thread when fuzzing
2023-01-20 15:45:31 -08:00
56f846cf74
move fuzz into test/fuzz
2022-12-08 10:39:54 +07:00