Commit graph

34 commits

Author SHA1 Message Date
Roger A. Light
73bd5aed3a oss-fuzz: Minimum size for config test 2024-03-03 11:21:33 +00:00
Roger A. Light
4a97baf2b4 Fix file perms for fuzzers 2024-02-29 21:54:18 +00:00
Roger A. Light
b199410795 Add more broker fuzzers 2024-02-26 23:44:35 +00:00
Roger A. Light
3d1b132a16 Fuzzing: Force static linking of argon2 2024-02-26 14:12:44 +00:00
Roger A. Light
aa4cf4ce3f Fuzzer binaries should not use -shared! 2024-02-26 13:38:00 +00:00
Roger A. Light
eb461e02bd Fuzzing build fix 2024-02-20 17:19:23 +00:00
Roger A. Light
a5490a7408 oss-fuzz build fixes 2024-02-13 13:11:07 +00:00
Roger A. Light
d376a729ba Add argon2 to oss-fuzz deps 2024-02-11 23:00:52 +00:00
Roger A. Light
c8e313aac0 Fix build
This is for the case where command line overrides are set.
2023-09-19 22:48:24 +01:00
Roger A. Light
a31bee722f Simplify make build. 2023-05-10 16:20:06 +01:00
Roger A. Light
3c6ad45489 Fix leak on error.
Closes oss-fuzz #57948.
2023-04-16 19:35:02 +01:00
Roger A. Light
b7d7dc4a09 Fix plugin fuzz build. 2023-04-16 10:44:36 +01:00
Roger A. Light
32cfa9c3b3 Fix plugin fuzz targets not being built 2023-04-15 08:49:06 +01:00
Roger A. Light
b648ba227b Fuzzing: Add dynsec file load fuzz target. 2023-04-13 08:35:11 +01:00
Roger A. Light
16b30632af Remove excessively slow fuzz targets. 2023-04-12 22:43:32 +01:00
Roger A. Light
47dde898fd oss-fuzz: Fix "read_handle" fuzzing case. 2023-04-12 00:06:09 +01:00
Roger A. Light
53dc3006a2 Make cJSON a hard dependency. 2023-04-01 23:35:03 +01:00
Roger A. Light
94fbaa4fa1 Fuzzing: Configure flags to allow greater coverage 2023-03-20 22:38:21 +00:00
Roger A. Light
5f19971270 Fuzzing: Remove _with_init variants.
The packet parsing parts should be covered by read handle.

Also need to try get a successful build on oss-fuzz, so these may be
re-enabled in the future.
2023-03-12 08:33:56 +00:00
Roger A. Light
489badccfa Rearrange fuzz directory and fix build. 2023-03-07 09:57:37 +00:00
Roger A. Light
687e422fe6 Fuzzing: Fix ftbfs 2023-03-06 17:10:11 +00:00
Roger A. Light
2b3a64ef69 Fuzzing: Direct packet parsing fuzzing 2023-03-04 22:22:08 +00:00
Roger A. Light
245b2807ad Make test quiet. 2023-03-03 23:03:36 +00:00
Roger A. Light
0be6d00d66 Fuzzing: New broker packet fuzz targets
These initialise the broker and leave it running. This is problematic
from the point of view of deterministic testing, but should mean the
testing speed is vastly improved.
2023-03-03 23:00:25 +00:00
Roger A. Light
5b7036dfcd Quieten log output 2023-03-03 22:41:01 +00:00
Roger A. Light
77b5dfb770 Fuzzing: Basic mosquitto_passwd target 2023-03-03 21:42:11 +00:00
Roger A. Light
11cb25ee00 Fuzzing: utf8, pub, and sub checks. 2023-02-12 23:35:39 +00:00
Roger A. Light
b2c566976d Fuzzing: Broker config file testing. 2023-02-08 22:38:59 +00:00
Roger A. Light
d8bc5df102 Fuzzing: db_dump alternate option fuzz targets 2023-02-07 23:27:28 +00:00
Roger A. Light
8c98a6ded4 Fix broker fuzz config.
Closes oss-fuzz #55733.

This is a fuzz target only bug.
2023-02-07 00:00:17 +00:00
Roger A. Light
c0b7f54ac1 Fuzzing: db_dump file loading 2023-02-04 23:55:15 +00:00
Roger A. Light
9ef4fde511 Fuzzing: Copy seed corpora to correct location 2023-02-04 22:42:51 +00:00
Roger A. Light
b0a55b60c6 Fuzzing: Keep connecting until successful.
If there is a real problem, the fuzz timeout should be invoked.

Fixes oss-fuzz #55667.

This was a bug in the fuzz target only, not in the code being
fuzzed.
2023-02-04 19:48:16 +00:00
Roger A. Light
5fb4b05d8f Support for initial fuzzing through oss-fuzz 2023-01-31 13:54:21 +00:00