mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 10:57:01 +00:00
try and improve the odds of useful fuzzer activity
This commit is contained in:
parent
f7dedab4a7
commit
0233dcebb4
@ -6,12 +6,12 @@
|
|||||||
|
|
||||||
#define IOWRAP_MAXFD (FD_SETSIZE-1)
|
#define IOWRAP_MAXFD (FD_SETSIZE-1)
|
||||||
static const int MAX_RANDOM_IN = 50000;
|
static const int MAX_RANDOM_IN = 50000;
|
||||||
static const double CHANCE_CLOSE = 1.0 / 300;
|
static const double CHANCE_CLOSE = 1.0 / 600;
|
||||||
static const double CHANCE_INTR = 1.0 / 200;
|
static const double CHANCE_INTR = 1.0 / 900;
|
||||||
static const double CHANCE_READ1 = 0.6;
|
static const double CHANCE_READ1 = 0.96;
|
||||||
static const double CHANCE_READ2 = 0.3;
|
static const double CHANCE_READ2 = 0.5;
|
||||||
static const double CHANCE_WRITE1 = 0.8;
|
static const double CHANCE_WRITE1 = 0.96;
|
||||||
static const double CHANCE_WRITE2 = 0.3;
|
static const double CHANCE_WRITE2 = 0.5;
|
||||||
|
|
||||||
struct fdwrap {
|
struct fdwrap {
|
||||||
enum wrapfd_mode mode;
|
enum wrapfd_mode mode;
|
||||||
|
Loading…
Reference in New Issue
Block a user