Where to find corpus for fuzzing?

Hello,
I am interested in running the fuzz tests located in src/tests/fuzz using libFuzzer. However, I could not find any information in the documentation about where to obtain or how to generate the initial corpus, dictionary (.dict ) and seed files required for effective fuzzing.
⦁ Are there any official or recommended sources for these files for Suricata’s fuzz targets?
⦁ If not, what is the suggested way to create or collect an initial corpus and dictionary for these tests?
⦁ Are there any examples or best practices from the Suricata community for setting up fuzzing inputs?

Hi,

Please look at qa/run-ossfuz-corpus.sh

That script will download a corpus for each of the fuzz targets, which are located in the src/tests/fuzz directory.

Thank you for your response. However, I was unable to find the qa/run-ossfuz-corpus.sh script in my Suricata source tree. Could you please clarify where I can find this script, or if it has been moved or renamed recently? Any guidance would be appreciated.

Here’s the direct link – it should be in your github clone

Make sure you configure suricata with --enable-fuzztagets