Package Peach :: Package Generators :: Module data
[hide private]

Module data

source code

Common data generators. Includes common bad strings, numbers, etc.


Author: Michael Eddington

Version: $Id: Peach.Generators.data-module.html 1138 2008-08-16 19:39:03Z meddingt $

Classes [hide private]
  EndlessRandomStrings
Generates an endless number of random strings between the lengths of 0 and 1024.
  EndlessRandomWideStrings
Generates an endless number of random strings between the lengths of 0 and 1024.
  Bit
Generates 0 and 1
  BadStrings
Generates variouse string tests.
  BadString
Depricated, use BadStrings instead.
  BadTime
Test cases for HTTP-Date type
  BadDate
[BETA] Generates alot of funky date's.
  NumberLimiter
Wraps another generator that produces numbers and limits the produced number to a range.
  StringVariance
Generate a range of string sizes from len(str) - variance to len(str) + variance.
  NumberVariance
Generate a range of numbers from (number - variance) to (number + variance).
  NumbersVariance
Performs a NumberVariance on a list of numbers.
  BadNumbersAsString
[DEPRICATED] Use BadNumbers instead.
  BadNumbers8
Generate numbers that may trigger integer overflows for both signed and unsigned numbers.
  BadNumbers16
Generate numbers that may trigger integer overflows for both signed and unsigned numbers.
  BadNumbers24
Generate numbers that may trigger integer overflows for both signed and unsigned numbers.
  BadNumbers32
Generate numbers that may trigger integer overflows for both signed and unsigned numbers.
  BadNumbers
Generate numbers that may trigger integer overflows for both signed and unsigned numbers.
  BadPositiveNumbers
Generate positive numbers that may trigger integer overflows for both signed and unsigned numbers.
  BadUnsignedNumbers
Generate numbers that may trigger integer overflows for both signed and unsigned numbers.
  BadUnsignedNumbers16
Generate numbers that may trigger integer overflows for both signed and unsigned numbers.
  Wrap
Wraps another generator.
  BadIpAddress
[BETA] Generate some bad ip addresses.
  TopLevelDomains
Top-level domain names in upper case.
  BadHostname
[BETA] Crazy hostnames.
  BadPath
[BETA] Path generation fun!
  BadFilename
Lots of bad filenames.
  AsInt4x4
Specify the high and low parts of an Int8
  _AsInt
Base class for AsIntXX functions that implements logic to skip values that are the same.
  AsInt8
Cause generated value to be an 8 bit number.
  AsInt16
Cause generated value to be a 16 bit number
  AsInt24
Cause generated value to be a 24 bit number (don't ask)
  AsInt32
Cause generated value to be a 32 bit number
  AsInt64
Cause generated value to be a 64 bit number
  WithDefault
Wrapps a Generator and makes the first and last value be a default value.
  FixedLengthString
Generates a fixed length string.
  FlagSet
Permute the given integer flags into a series of integer values.
  FlagPermutations
Depricated in favor of FlagSet.
  PseudoRandomNumber
Use the pseudo random number generator to return a set of random numbers.
  BadDerEncodedOctetString
Performs DER encoding of an octect string with incorrect lengths.
  BadBerEncodedOctetString
Performs BER encoding of an octect string with incorrect lengths.
  StringTokenFuzzer
Performs fuzzing on each segment of a string.
  _StringNode
  _GeneratorTreeWalker
Internal class that will walk our string tree and apply a generator to each node (not just leaf nodes).
  _GeneratorTreeWalkerWrapPhase
Internal class that will walk our string tree and apply a generator to the "sides" of each node (not just leaf nodes).
  _GeneratorTreeWalkerDuplicatePhase
Internal class that will walk our string tree and duplicate nodes not just leaf nodes.
  _GeneratorTreeWalkerRemovePhase
Internal class that will walk our string tree and remove one node at at time.
  EthernetChecksum
Will generate the Ethernet checksum of Block or another Generator.
  IcmpChecksum
Will generate the ICMP checksum of Block or another Generator.
Functions [hide private]
 
RunUnit(obj, clsName) source code