nDPI/fuzz/corpus/fuzz_alg_jitter
Ivan Nardi b51a2ac72a
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.
2023-02-09 20:02:12 +01:00
..
0d7e5303ffe5bf3bc9016807e6cbe3f863f734f5 fuzz: fix memory allocation failure logic (#1867) 2023-01-20 14:27:33 +01:00
1c3aa54d1835eac753ef67921caf0b105f3d68eb fuzz: fix memory allocation failure logic (#1867) 2023-01-20 14:27:33 +01:00
5b3572a26cf09090c4cc7109d8161c6f92cc8b9f fuzz: fix memory allocation failure logic (#1867) 2023-01-20 14:27:33 +01:00
5d862c7233a78237dea5d0b1d770e6cec9eecb8e fuzz: fix memory allocation failure logic (#1867) 2023-01-20 14:27:33 +01:00
7b5bf255262f6212ce4830512bf72e40ad42d36c fuzz: fix memory allocation failure logic (#1867) 2023-01-20 14:27:33 +01:00
7fb405c71cf7eaf81dd78e2afc574392c5cef5fe fuzz: fix memory allocation failure logic (#1867) 2023-01-20 14:27:33 +01:00
8c71e51bf55219fbf37c6115c98a8c2da1ca2f04 fuzz: fix memory allocation failure logic (#1867) 2023-01-20 14:27:33 +01:00
8dfd602ae685c6373f8202f2c758d9f95f32baac fuzz: some improvements and add two new fuzzers (#1881) 2023-02-09 20:02:12 +01:00
47e01d4fcffef87fd84ac067ac6509ac8783de15 fuzz: fix memory allocation failure logic (#1867) 2023-01-20 14:27:33 +01:00
81d53dc4f563a0d160c402dbba26f1882784c85f fuzz: fix memory allocation failure logic (#1867) 2023-01-20 14:27:33 +01:00
776b6f2b664d299d45fd48876d462450ee7711c3 fuzz: some improvements and add two new fuzzers (#1881) 2023-02-09 20:02:12 +01:00
2349c31e77dc0471912a43968b39679bb3cb4861 fuzz: fix memory allocation failure logic (#1867) 2023-01-20 14:27:33 +01:00
66174f50aacc7557b7f22c3d83c9e34d572302bd fuzz: fix memory allocation failure logic (#1867) 2023-01-20 14:27:33 +01:00
949792a9e5f8b9386c0419f2787b4ac1a45badae fuzz: fix memory allocation failure logic (#1867) 2023-01-20 14:27:33 +01:00
9949966b4a374e22ac87963feb98a02f8f349860 fuzz: fix memory allocation failure logic (#1867) 2023-01-20 14:27:33 +01:00
a4da2d4d870541035e13b23482b6d72ab3c3819a fuzz: some improvements and add two new fuzzers (#1881) 2023-02-09 20:02:12 +01:00
a49b12d7137163022645771e7aff4b6b4644236f fuzz: some improvements and add two new fuzzers (#1881) 2023-02-09 20:02:12 +01:00
a93398cc94de4bf23e2c552fbbf76df7a433a0e2 fuzz: fix memory allocation failure logic (#1867) 2023-01-20 14:27:33 +01:00
b049a4c61e1fa2c0caeda22e0c72806315101993 fuzz: fix memory allocation failure logic (#1867) 2023-01-20 14:27:33 +01:00
bfa8e1fb136c96271f7ae55c7c75b1b602471b5d fuzz: fix memory allocation failure logic (#1867) 2023-01-20 14:27:33 +01:00
bfc920185891e9203d1fb6cd6f0311394d4b46ec fuzz: fix memory allocation failure logic (#1867) 2023-01-20 14:27:33 +01:00
d3ad2e6f342d39f3a5990956d844258f546b5dc0 fuzz: fix memory allocation failure logic (#1867) 2023-01-20 14:27:33 +01:00
e4a7f3e26664263c9eb42eefb68917766c818ba4 fuzz: some improvements and add two new fuzzers (#1881) 2023-02-09 20:02:12 +01:00
ebf39f98d93116287b2b6c393008b3cd979095b8 fuzz: fix memory allocation failure logic (#1867) 2023-01-20 14:27:33 +01:00
fe383da56601272713864aa9fe494605fdcc43ec fuzz: fix memory allocation failure logic (#1867) 2023-01-20 14:27:33 +01:00
ffd1800b867e30e702cde5a843ede821ae95ed32 fuzz: fix memory allocation failure logic (#1867) 2023-01-20 14:27:33 +01:00