Packages

final case class Parameters(accelerationMode: AccelerationMode = Parameters.DefaultAccelerationMode, attackLimit: Int = Parameters.DefaultAttackLimit, attackTimeout: Duration = Parameters.DefaultAttackTimeout, checker: Checker = Parameters.DefaultChecker, crossoverSize: Int = Parameters.DefaultCrossoverSize, heatRatio: Double = Parameters.DefaultHeatRatio, incubationLimit: Int = Parameters.DefaultIncubationLimit, incubationTimeout: Duration = Parameters.DefaultIncubationTimeout, logger: Option[Logger] = Parameters.DefaultLogger, maxAttackStringSize: Int = Parameters.DefaultMaxAttackStringSize, maxDegree: Int = Parameters.DefaultMaxDegree, maxGeneStringSize: Int = Parameters.DefaultMaxGeneStringSize, maxGenerationSize: Int = Parameters.DefaultMaxGenerationSize, maxInitialGenerationSize: Int = Parameters.DefaultMaxInitialGenerationSize, maxIteration: Int = Parameters.DefaultMaxIteration, maxNFASize: Int = Parameters.DefaultMaxNFASize, maxPatternSize: Int = Parameters.DefaultMaxPatternSize, maxRecallStringSize: Int = Parameters.DefaultMaxRecallStringSize, maxRepeatCount: Int = Parameters.DefaultMaxRepeatCount, maxSimpleRepeatCount: Int = Parameters.DefaultMaxSimpleRepeatCount, mutationSize: Int = Parameters.DefaultMutationSize, randomSeed: Long = Parameters.DefaultRandomSeed, recallLimit: Int = Parameters.DefaultRecallLimit, recallTimeout: Duration = Parameters.DefaultRecallTimeout, seeder: Seeder = Parameters.DefaultSeeder, seedingLimit: Int = Parameters.DefaultSeedingLimit, seedingTimeout: Duration = Parameters.DefaultSeedingTimeout, timeout: Duration = Parameters.DefaultTimeout) extends Product with Serializable

Parameters is an immutable representation of parameters.

accelerationMode

The type of acceleration mode strategy on fuzzing. There are three acceleration mode strategies.

  • auto uses acceleration mode as default. However, if the regular expression has backreferences, it turns off the acceleration mode.
  • on turns on the acceleration mode.
  • off turns off the acceleration mode. (default: AccelerationMode.Auto)
attackLimit

The upper limit on the number of characters read by VM on the attack. (default: 1500000000)

attackTimeout

The upper limit of matching time on the attack. (default: Duration(1, SECONDS))

checker

The type of checker to be used. There are three checker types.

  • auto checker uses the criteria to decide which algorithm is better to use against a regular expression, the algorithm based on automata theory or the fuzzing algorithm.
  • fuzz checker uses the fuzzing algorithm with static analysis.
  • automaton checker uses the algorithm based on automata theory. (default: Checker.Auto)
crossoverSize

The number of crossover on each generation. (default: 25)

heatRatio

The ratio of the number of characters read to the maximum number to be considered as a hot spot. (default: 0.001)

incubationLimit

The upper limit on the number of characters read by VM on incubation. (default: 25000)

incubationTimeout

The upper limit of matching time on incubation. (default: Duration(250, MILLISECONDS))

logger

The logger function to record execution traces. To disable the logging, null in TypeScript or None in Scala should be passed. (default: None)

maxAttackStringSize

The maximum length of the attack string on fuzzing. (default: 300000)

maxDegree

The maximum degree to be considered in fuzzing. (default: 4)

maxGeneStringSize

The maximum length of the gene string on fuzzing. (default: 2400)

maxGenerationSize

The maximum size of each generation on fuzzing. (default: 100)

maxInitialGenerationSize

The maximum size of the initial generation on fuzzing. (default: 500)

maxIteration

The maximum number of fuzzing iteration. (default: 10)

maxNFASize

The maximum size of NFA to determine which algorithm is used. (default: 35000)

maxPatternSize

The maximum size of the regular expression pattern to determine which algorithm is used. (default: 1500)

maxRecallStringSize

The maximum length of the attack string on recall validation. (default: 300000)

maxRepeatCount

The maximum number of sum of repetition quantifier’s repeat counts to determine which algorithm is used. (default: 30)

maxSimpleRepeatCount

The maximum number of each repetition quantifier’s repeat count on static seeding. (default: 30)

mutationSize

The number of mutation on each generation. (default: 50)

randomSeed

The PRNG seed number. (default: 0)

recallLimit

The upper limit on the number of characters read by VM on the recall validation. (default: 1500000000)

recallTimeout

The upper limit of matching time on the recall validation. If this value is negative, then the recall validation is skipped. (default: Duration(-1, SECONDS))

seeder

The type of seeder to be used in fuzzing. There are two seeders.

  • static seeder uses the seeding algorithm based on the automata theory.
  • dynamic seeder uses the seeding algorithm with dynamic analysis. (default: Seeder.Static)
seedingLimit

The upper limit on the number of characters read by VM on dynamic seeding. (default: 1000)

seedingTimeout

The upper limit of matching time on dynamic seeding. (default: Duration(100, MILLISECONDS))

timeout

The upper limit of checking time. If the checking time exceeds this limit, the result will be reported as timeout. If the value is positive infinite in Scala or null in TypeScript, the result never becomes timeout. The timeout time begins to be measured as soon as the check starts. Note that the timeout does not occur while the input is in the queue waiting to be checked. In TypeScript, a number value is treated as in milliseconds. (default: Duration(10, SECONDS))

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Parameters
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Parameters(accelerationMode: AccelerationMode = Parameters.DefaultAccelerationMode, attackLimit: Int = Parameters.DefaultAttackLimit, attackTimeout: Duration = Parameters.DefaultAttackTimeout, checker: Checker = Parameters.DefaultChecker, crossoverSize: Int = Parameters.DefaultCrossoverSize, heatRatio: Double = Parameters.DefaultHeatRatio, incubationLimit: Int = Parameters.DefaultIncubationLimit, incubationTimeout: Duration = Parameters.DefaultIncubationTimeout, logger: Option[Logger] = Parameters.DefaultLogger, maxAttackStringSize: Int = Parameters.DefaultMaxAttackStringSize, maxDegree: Int = Parameters.DefaultMaxDegree, maxGeneStringSize: Int = Parameters.DefaultMaxGeneStringSize, maxGenerationSize: Int = Parameters.DefaultMaxGenerationSize, maxInitialGenerationSize: Int = Parameters.DefaultMaxInitialGenerationSize, maxIteration: Int = Parameters.DefaultMaxIteration, maxNFASize: Int = Parameters.DefaultMaxNFASize, maxPatternSize: Int = Parameters.DefaultMaxPatternSize, maxRecallStringSize: Int = Parameters.DefaultMaxRecallStringSize, maxRepeatCount: Int = Parameters.DefaultMaxRepeatCount, maxSimpleRepeatCount: Int = Parameters.DefaultMaxSimpleRepeatCount, mutationSize: Int = Parameters.DefaultMutationSize, randomSeed: Long = Parameters.DefaultRandomSeed, recallLimit: Int = Parameters.DefaultRecallLimit, recallTimeout: Duration = Parameters.DefaultRecallTimeout, seeder: Seeder = Parameters.DefaultSeeder, seedingLimit: Int = Parameters.DefaultSeedingLimit, seedingTimeout: Duration = Parameters.DefaultSeedingTimeout, timeout: Duration = Parameters.DefaultTimeout)

    accelerationMode

    The type of acceleration mode strategy on fuzzing. There are three acceleration mode strategies.

    • auto uses acceleration mode as default. However, if the regular expression has backreferences, it turns off the acceleration mode.
    • on turns on the acceleration mode.
    • off turns off the acceleration mode. (default: AccelerationMode.Auto)
    attackLimit

    The upper limit on the number of characters read by VM on the attack. (default: 1500000000)

    attackTimeout

    The upper limit of matching time on the attack. (default: Duration(1, SECONDS))

    checker

    The type of checker to be used. There are three checker types.

    • auto checker uses the criteria to decide which algorithm is better to use against a regular expression, the algorithm based on automata theory or the fuzzing algorithm.
    • fuzz checker uses the fuzzing algorithm with static analysis.
    • automaton checker uses the algorithm based on automata theory. (default: Checker.Auto)
    crossoverSize

    The number of crossover on each generation. (default: 25)

    heatRatio

    The ratio of the number of characters read to the maximum number to be considered as a hot spot. (default: 0.001)

    incubationLimit

    The upper limit on the number of characters read by VM on incubation. (default: 25000)

    incubationTimeout

    The upper limit of matching time on incubation. (default: Duration(250, MILLISECONDS))

    logger

    The logger function to record execution traces. To disable the logging, null in TypeScript or None in Scala should be passed. (default: None)

    maxAttackStringSize

    The maximum length of the attack string on fuzzing. (default: 300000)

    maxDegree

    The maximum degree to be considered in fuzzing. (default: 4)

    maxGeneStringSize

    The maximum length of the gene string on fuzzing. (default: 2400)

    maxGenerationSize

    The maximum size of each generation on fuzzing. (default: 100)

    maxInitialGenerationSize

    The maximum size of the initial generation on fuzzing. (default: 500)

    maxIteration

    The maximum number of fuzzing iteration. (default: 10)

    maxNFASize

    The maximum size of NFA to determine which algorithm is used. (default: 35000)

    maxPatternSize

    The maximum size of the regular expression pattern to determine which algorithm is used. (default: 1500)

    maxRecallStringSize

    The maximum length of the attack string on recall validation. (default: 300000)

    maxRepeatCount

    The maximum number of sum of repetition quantifier’s repeat counts to determine which algorithm is used. (default: 30)

    maxSimpleRepeatCount

    The maximum number of each repetition quantifier’s repeat count on static seeding. (default: 30)

    mutationSize

    The number of mutation on each generation. (default: 50)

    randomSeed

    The PRNG seed number. (default: 0)

    recallLimit

    The upper limit on the number of characters read by VM on the recall validation. (default: 1500000000)

    recallTimeout

    The upper limit of matching time on the recall validation. If this value is negative, then the recall validation is skipped. (default: Duration(-1, SECONDS))

    seeder

    The type of seeder to be used in fuzzing. There are two seeders.

    • static seeder uses the seeding algorithm based on the automata theory.
    • dynamic seeder uses the seeding algorithm with dynamic analysis. (default: Seeder.Static)
    seedingLimit

    The upper limit on the number of characters read by VM on dynamic seeding. (default: 1000)

    seedingTimeout

    The upper limit of matching time on dynamic seeding. (default: Duration(100, MILLISECONDS))

    timeout

    The upper limit of checking time. If the checking time exceeds this limit, the result will be reported as timeout. If the value is positive infinite in Scala or null in TypeScript, the result never becomes timeout. The timeout time begins to be measured as soon as the check starts. Note that the timeout does not occur while the input is in the queue waiting to be checked. In TypeScript, a number value is treated as in milliseconds. (default: Duration(10, SECONDS))

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val accelerationMode: AccelerationMode
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val attackLimit: Int
  7. val attackTimeout: Duration
  8. val checker: Checker
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  10. val crossoverSize: Int
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. val heatRatio: Double
  14. val incubationLimit: Int
  15. val incubationTimeout: Duration
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. val logger: Option[Logger]
  18. val maxAttackStringSize: Int
  19. val maxDegree: Int
  20. val maxGeneStringSize: Int
  21. val maxGenerationSize: Int
  22. val maxInitialGenerationSize: Int
  23. val maxIteration: Int
  24. val maxNFASize: Int
  25. val maxPatternSize: Int
  26. val maxRecallStringSize: Int
  27. val maxRepeatCount: Int
  28. val maxSimpleRepeatCount: Int
  29. val mutationSize: Int
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  33. def productElementNames: Iterator[String]
    Definition Classes
    Product
  34. val randomSeed: Long
  35. val recallLimit: Int
  36. val recallTimeout: Duration
  37. val seeder: Seeder
  38. val seedingLimit: Int
  39. val seedingTimeout: Duration
  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. val timeout: Duration
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped