Module libafl::utils[][src]

Utility functions for AFL

Structs

ChildHandle

Child Process Handle

Lehmer64Rand

XXH3 Based, hopefully speedy, rnd implementation

RomuDuoJrRand

see https://arxiv.org/pdf/2002.11331.pdf

RomuTrioRand

Extremely quick rand implementation see https://arxiv.org/pdf/2002.11331.pdf

XorShift64Rand

XXH3 Based, hopefully speedy, rnd implementation

Xoshiro256StarRand

XXH3 Based, hopefully speedy, rnd implementation

Enums

ForkResult

The ForkResult (result of a fork)

Traits

AsSlice
HasRand

Has a Rand field, that can be used to get random values

Rand

Ways to get random around here Please note that these are not cryptographically secure Or, even if some might be by accident, at least they are not seeded in a cryptographically secure fashion.

RandomSeed

Initialize Rand types from a source of randomness.

Functions

current_milliseconds

Gets current milliseconds since UNIX_EPOCH

current_nanos

Gets current nanoseconds since UNIX_EPOCH

current_time

Current time

fork

Unix has forks.

startable_self

Executes the current process from the beginning, as subprocess. use start_self.status()? to wait for the child

Type Definitions

StdRand