summaryrefslogtreecommitdiff
path: root/test/fuzz
AgeCommit message (Collapse)Author
2026-07-05clamped copied length to nHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-07-05fix ciHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-07-03add ncm receive-path fuzz harness with out-of-bounds seedJavid Khan
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-04-29deprecated `usbd_control.c` and merge its functionality into `usbd.c`hathach
2026-03-30Fix broken fuzzing harnessDavidKorczynski
Refactor event signal generation to limit bus signal events generated by fuzzing harnesses. The main point is that the issues listed by OSS-Fuzz does not seem to be true positives https://issues.oss-fuzz.com/issues?q=project%3Dtinyusb%20status%3Dnew For example, the existing set up could generate USBD_EVENT_FUNC_CALL which is explicitly not a DCD event. This fixes the harnesses so they don't run into several of the oss-fuzz open issues.
2026-03-12refactor(vendor/cdc): add CFG_TUD_CDC_RX_NEED_ZLP and CFG_TUD_VENDOR_RX_NEED_ZLPhathach
2026-03-12refactor(config): separate endpoint buffer sizes into RX and TX definitions ↵hathach
for clarity and flexibility
2026-01-14fix typo in fuzzing rules.mk for printer deviceRémi Berthoz
2026-01-07Add missing printer_device.c in test/fuzz sourcesRémi Berthoz
2025-12-19clean up cmake, remove family_get_project_name()hathach
2025-12-11move host hacked bulk mps out of tu_edpt_validate()hathach
2025-10-31Merge remote-tracking branch 'tinyusb/master' into ↵HiFiPhile
copilot/fix-dcd-edpt-xfer-issue Signed-off-by: HiFiPhile <[email protected]>
2025-10-28fix Identifiers that start with '__' or '_[A-Z]' are reserved.hathach
fix compiling with nuc family
2025-10-22Fix copilot issuesMengsk
Signed-off-by: Mengsk <[email protected]>
2025-10-14more make refactorhathach
2025-10-02fix typoshathach
2025-09-15Merge branch 'master' into fork/ennebi/mtphathach
2025-08-06Add MTP class deviceMaurizio Pesce
2025-07-02update board_test always output to uart regardless of LOGGER optionhathach
2025-07-02remove legacy DEPS_SUBMODULES in makehathach
2024-10-14change dcd_init() return from void to boolhathach
2024-10-14change the tusb_rhport_init_t struct, exclude the rhport to make API more ↵hathach
consistent
2024-10-11fix fuzzing buildhathach
2023-08-11removed obsolete tud_network_link_state_cb()Hardy Griech
2023-06-27rework cmake with rtos support add RTOS to ↵hathach
family_configure_device/host/dual_example()
2023-03-22Remove const from tud_network_mac_address in example and test filesMatt Mills
2023-03-17fix ci with building fuzzhathach
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2023-03-06integrate top.mk into make.mkhathach
2023-02-22use tu_static instead of static _fuzz_threadhathach
2023-02-22Merge pull request #1867 from silvergasp/thread_local_globalsHa Thach
fix: Change all static variables to thread when fuzzing
2023-02-22missing some fileshathach
2023-02-22rename maros from FUZZ to _FUZZ, change TU_STATIC to static _fuzz_threadhathach
2023-01-29feat(fuzz): Adds seed corpus for cdc and msc classesNathaniel Brough
2023-01-20fix: Change all static variables to thread when fuzzingNathaniel Brough
2022-12-28fix(fuzz): Make sanitizer flags optionalNathaniel Brough
Currently OSS fuzz expects to have complete control over the sanitizer flags. As we currently have these set it's causing problems with the OSS fuzz build. Instead we should use the provided variables from the OSS fuzz build environment. For local testing we'll create a set a well defined defaults.
2022-12-08move build Fuzzer into pre-commithathach
2022-12-08move fuzz into test/fuzzhathach