diff options
author | Gerald Combs <gerald@wireshark.org> | 2022-09-26 17:07:19 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2022-09-26 18:38:14 -0700 |
commit | dc521850e5756b3dfcd2fa836717b16e973bd540 (patch) | |
tree | ec5eb0ccd5a66a253d3963a74244e84005bc65e5 /tools/test-common.sh | |
parent | 749a8d091200b43175268689996471b59fa34266 (diff) |
Tools: Fuzz subsets of large files.
If our capture file has more than a designated maximum number of
packets, fuzz a random subset.
Diffstat (limited to 'tools/test-common.sh')
-rwxr-xr-x | tools/test-common.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/test-common.sh b/tools/test-common.sh index 2090bf567b..2958079ca8 100755 --- a/tools/test-common.sh +++ b/tools/test-common.sh @@ -50,6 +50,8 @@ MAX_VMEM=1000000 MAX_STACK=2033 # Insert z times an error into the capture file (0.02 seems to be a good value to find errors) ERR_PROB=0.02 +# Maximum number of packets to fuzz +MAX_FUZZ_PACKETS=50000 # Call *after* any changes to WIRESHARK_BIN_DIR (e.g., via command-line options) function ws_bind_exec_paths() { |