-
Notifications
You must be signed in to change notification settings - Fork 896
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fuzz: some improvements and add two new fuzzers (#1881)
Remove `FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION` define from `fuzz/Makefile.am`; it is already included by the main configure script (when fuzzing). Add a knob to force disabling of AESNI optimizations: this way we can fuzz also no-aesni crypto code. Move CRC32 algorithm into the library. Add some fake traces to extend fuzzing coverage. Note that these traces are hand-made (via scapy/curl) and must not be used as "proof" that the dissectors are really able to identify this kind of traffic. Some small updates to some dissectors: CSGO: remove a wrong rule (never triggered, BTW). Any UDP packet starting with "VS01" will be classified as STEAM (see steam.c around line 111). Googling it, it seems right so. XBOX: XBOX only analyses UDP flows while HTTP only TCP ones; therefore that condition is false. RTP, STUN: removed useless "break"s Zattoo: `flow->zattoo_stage` is never set to any values greater or equal to 5, so these checks are never true. PPStream: `flow->l4.udp.ppstream_stage` is never read. Delete it. TeamSpeak: we check for `flow->packet_counter == 3` just above, so the following check `flow->packet_counter >= 3` is always false.
- Loading branch information
Showing
889 changed files
with
626 additions
and
277 deletions.
There are no files selected for viewing
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
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
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
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
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions
1
fuzz/corpus/fuzz_alg_crc32_md5/82bb3eab86d4063ea4a3cb97821feb07cecf7b72
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 @@ | ||
� |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-1.24 KB
fuzz/corpus/fuzz_alg_jitter/4c14b3ecf46402bbe381de10df089a5b8ae1597e
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-1.24 KB
fuzz/corpus/fuzz_alg_jitter/eb4729679f0c94447b94d1d098cf567f4bb31dba
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-1003 Bytes
fuzz/corpus/fuzz_config/4cee68be22b7d0d401aa891c1d713a0d81ec2e2e
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
fuzz/corpus/fuzz_config/8ce8bfe5ac7addf5e2c5da6794cf5934678dd06c
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1 KB
fuzz/corpus/fuzz_ds_ahocorasick/01993ba639c7b681fc27544c17ce08f712f51337
Binary file not shown.
Binary file added
BIN
+1 KB
fuzz/corpus/fuzz_ds_ahocorasick/0202b70dd8d704f4e305dfbef9c210a3defd4d16
Binary file not shown.
Binary file added
BIN
+2.01 KB
fuzz/corpus/fuzz_ds_ahocorasick/043d681d837a34b44d0d622cd5a3622ff02eba72
Binary file not shown.
Binary file added
BIN
+1.03 KB
fuzz/corpus/fuzz_ds_ahocorasick/05d177ca5e93fabb2166bd7c28a8cf6257c67ef4
Binary file not shown.
Binary file added
BIN
+1 KB
fuzz/corpus/fuzz_ds_ahocorasick/086c5bacfb081dc6bf51c9d79767621acb78b8ee
Binary file not shown.
Binary file added
BIN
+1 KB
fuzz/corpus/fuzz_ds_ahocorasick/0bed72f62a06502c94ecfc59416de25809b974ae
Binary file not shown.
Binary file added
BIN
+1.04 KB
fuzz/corpus/fuzz_ds_ahocorasick/0fa79cef56c5f4da6b71a32485bbeed91a3e6203
Binary file not shown.
Binary file removed
BIN
-1.01 KB
fuzz/corpus/fuzz_ds_ahocorasick/10102b20e1caf29cb42859ec4606413b2cfe05ce
Binary file not shown.
Binary file removed
BIN
-1 KB
fuzz/corpus/fuzz_ds_ahocorasick/13720bca310543d7922778c58bbc90b0adedaad9
Binary file not shown.
1 change: 0 additions & 1 deletion
1
fuzz/corpus/fuzz_ds_ahocorasick/1411ace1b8e44f6d0ccf5d6bc5669663f8bee9d1
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-1.01 KB
fuzz/corpus/fuzz_ds_ahocorasick/17e1752ba283812f9e5272be148a1bd89a70dc68
Binary file not shown.
Binary file removed
BIN
-4.36 KB
fuzz/corpus/fuzz_ds_ahocorasick/1a973af0c61ce5ddb399bb0882ac78e894991cb1
Binary file not shown.
Binary file added
BIN
+1 KB
fuzz/corpus/fuzz_ds_ahocorasick/1d1fda87ea7b6ab5551b986024377bcb4d074f5d
Binary file not shown.
Binary file removed
BIN
-1.11 KB
fuzz/corpus/fuzz_ds_ahocorasick/2032fef7eff08b39665a5ea4a39a4b51e2f4c0ca
Binary file not shown.
Binary file removed
BIN
-1.13 KB
fuzz/corpus/fuzz_ds_ahocorasick/2a30d18927578826324bf3e1808a73ad6b5cfae3
Binary file not shown.
Binary file removed
BIN
-1.42 KB
fuzz/corpus/fuzz_ds_ahocorasick/2a5b60d75d0b41fc19c6e39f374266a9860137d0
Binary file not shown.
Binary file removed
BIN
-1.48 KB
fuzz/corpus/fuzz_ds_ahocorasick/2bb4e495c688c627a32fe24f07d6d8c13f348c42
Binary file not shown.
Binary file removed
BIN
-2.05 KB
fuzz/corpus/fuzz_ds_ahocorasick/2dc8d54f8fd6d1fee16be2b84777482e1518e900
Binary file not shown.
Binary file removed
BIN
-1.58 KB
fuzz/corpus/fuzz_ds_ahocorasick/2efd02835357a4e0a4e6f14e340cc554f011bd37
Binary file not shown.
Binary file removed
BIN
-2.05 KB
fuzz/corpus/fuzz_ds_ahocorasick/2fcd0dbb239a23e077fb9c733ad1fdafce6952cc
Binary file not shown.
Binary file added
BIN
+2.57 KB
fuzz/corpus/fuzz_ds_ahocorasick/317a2aa594d0853ff202f8057d2653095d8f36ea
Binary file not shown.
Binary file added
BIN
+1 KB
fuzz/corpus/fuzz_ds_ahocorasick/322280988807b124a30db0262e3d3ce5f48c8493
Binary file not shown.
Binary file removed
BIN
-1 KB
fuzz/corpus/fuzz_ds_ahocorasick/3318214ae4652b96520333ccbf49ce7a4ca6775d
Binary file not shown.
Binary file removed
BIN
-2.1 KB
fuzz/corpus/fuzz_ds_ahocorasick/33e34758ed0b6efc73afd284b1971893a36195a1
Binary file not shown.
Binary file removed
BIN
-2.59 KB
fuzz/corpus/fuzz_ds_ahocorasick/3b2ce731ca83d4eedeb06b12cacff19a11a01b8b
Binary file not shown.
Binary file added
BIN
+1 KB
fuzz/corpus/fuzz_ds_ahocorasick/3ba2bed8661790c00f2fc135b909b9e11f8db885
Binary file not shown.
Binary file added
BIN
+1 KB
fuzz/corpus/fuzz_ds_ahocorasick/3c956d1aec03d604512f3f423c58cce2003dd512
Binary file not shown.
Binary file removed
BIN
-7.47 KB
fuzz/corpus/fuzz_ds_ahocorasick/3d231a2d27e3b0b90db32be63c86e96d5599a66c
Binary file not shown.
Binary file added
BIN
+2.61 KB
fuzz/corpus/fuzz_ds_ahocorasick/3f16a014d67b679493f0d58a243024aaaa803e16
Binary file not shown.
Binary file removed
BIN
-1 KB
fuzz/corpus/fuzz_ds_ahocorasick/40e5e7655670bb158c7022b476ab67b2040a28d4
Binary file not shown.
Oops, something went wrong.