-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add fuzz-minmdns-packet-parsing dictionary and corpus
Dictionary extracted from mDNS constants. Corpus manually generated by running commissionable and commisisoned Docker emulated lock-app
- Loading branch information
Showing
3 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+211 Bytes
integrations/fuzz/fuzz-minmdns-packet-parsing-corpus/sample_commissionable
Binary file not shown.
Binary file added
BIN
+37 Bytes
integrations/fuzz/fuzz-minmdns-packet-parsing-corpus/sample_commissioned
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# MDNS Dictionary Constants extracted from connectedhomeip/src/lib/dnssd/minimal_mdns/core/Constants.h | ||
|
||
# QType | ||
A = "\x01" | ||
NS = "\x02" | ||
CNAME = "\x05" | ||
SOA = "\x06" | ||
NULLVALUE = "\x0A" | ||
WKS = "\x0B" | ||
PTR = "\x0C" | ||
HINFO = "\x0D" | ||
MINFO = "\x0E" | ||
MX = "\x0F" | ||
TXT = "\x10" | ||
ISDN = "\x14" | ||
AAAA = "\x1C" | ||
SRV = "\x21" | ||
DNAM = "\x27" | ||
ANY = "\xFF" | ||
|
||
# QClass | ||
IN_UNICAST = "\x80\x01" | ||
IN_FLUSH = "\x80\x01" | ||
|
||
# ResourceType | ||
kAnswer = "\x01" | ||
kAuthority = "\x02" | ||
kAdditional = "\x03" |