Skip to content

Test owly-awdl against C-OWL frame vectors and malformed input - #140

Open
sneurlax wants to merge 1 commit into
t4t5:mainfrom
sneurlax:test/owl-vectors-and-fuzz
Open

sneurlax wants to merge 1 commit into
t4t5:mainfrom
sneurlax:test/owl-vectors-and-fuzz

Conversation

@sneurlax

Copy link
Copy Markdown

This adds deterministic interoperability and parser-hardening coverage to owly-awdl without changing production code.

The new tests include C-OWL PSF and MIF frame vectors and verify that Owly:

  • parses their 802.11 action-frame headers and AWDL subtypes;
  • decodes sync, election, channel-sequence, version, data-path, HT capability, and ARPA TLVs;
  • accepts the frames through Node;
  • discovers the C-OWL peer and marks it valid.

A deterministic adversarial test also exercises at least 10,000 inputs across the frame, TLV, advertisement, and node parsers. Its corpus combines empty and fixed-byte inputs, generated byte strings, and truncated or bit-flipped versions of the valid vectors.

This provides repeatable malformed-input coverage in the ordinary test suite without requiring a separate fuzzing runtime.

Test:

`cargo test -p owly-awdl --test owl_vectors_and_fuzz`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant