usbip-rs/lib/src
Davíð Steinn Geirsson bb3c603172 feat(fuzz): add AFL++ with cargo-afl fuzzing support
Add a second fuzzing engine alongside the existing libFuzzer/cargo-fuzz
setup. AFL++ runs with persistent mode (afl::fuzz! macro), LLVM plugins
(CmpLog, IJON), and a SymCC concolic companion for hybrid fuzzing.

- cargo-afl built from afl.rs with a patch for CARGO_AFL_DIR /
  CARGO_AFL_LLVM_DIR env-var overrides
- AFL++ built with LLVM 22 plugins to match rust-nightly
- Persistent-mode fuzz targets in lib/fuzz-afl/
- --jobs N parallel fuzzing: main instance in foreground, secondaries
  and SymCC companion as systemd transient units in a slice
- Ctrl+c / exit cleans up all background processes via slice stop
- AFL_AUTORESUME=1 for clean restarts after previous runs
- fuzz-clean-afl collects crashes from all instance directories
- Shared harness logic in lib/src/fuzz_harness.rs

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 00:33:34 +00:00
..
cdc.rs fix: UAC1 audio device recognition, idle timeout, and ISO byte order 2026-03-25 11:52:31 +00:00
consts.rs refactor: remove rusb backend, keep only nusb 2026-03-25 15:19:51 +00:00
device.rs refactor: remove rusb backend, keep only nusb 2026-03-25 15:19:51 +00:00
endpoint.rs fix: UAC1 audio device recognition, idle timeout, and ISO byte order 2026-03-25 11:52:31 +00:00
fuzz_harness.rs feat(fuzz): add AFL++ with cargo-afl fuzzing support 2026-03-27 00:33:34 +00:00
fuzz_helpers.rs feat: add fuzz_helpers module with response validation 2026-03-25 22:00:17 +00:00
hid.rs fix: UAC1 audio device recognition, idle timeout, and ISO byte order 2026-03-25 11:52:31 +00:00
host.rs refactor: remove rusb backend, keep only nusb 2026-03-25 15:19:51 +00:00
interface.rs feat: concurrent ISO pipelining via nusb update and &self handlers 2026-03-22 15:10:28 +00:00
lib.rs feat(fuzz): add AFL++ with cargo-afl fuzzing support 2026-03-27 00:33:34 +00:00
setup.rs feat: add usbip-rs CLI tool with vsock transport 2026-03-22 10:41:42 +00:00
uac.rs fix: UAC1 audio device recognition, idle timeout, and ISO byte order 2026-03-25 11:52:31 +00:00
usbip_protocol.rs fix: reject non-zero status in OP_REQ_DEVLIST/IMPORT requests 2026-03-25 22:39:56 +00:00
util.rs refactor: extract MockSocket to cfg(any(test, fuzz)) module 2026-03-25 21:59:04 +00:00