package
0.0.0-20230226003218-1dd1f65bfa42
Repository: https://github.com/c4-project/c4t.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
AddInputs adds paths to the input list.
LoadConfigFromFile loads a coverage configuration from the filepath path.
NewMaker constructs a new coverage testbed maker.
ObserveWith adds each observer o into the observer list.
OnCoverageRun broadcasts run message rm to all observers o.
Options applies each option in opts successively.
No description provided by the author
OverrideQuantities overrides the maker's quantity set with qs.
RunEnd announces that a coverage run is ending for the profile named pname.
RunStart constructs a message stating that a coverage run of size nruns is starting using profile p (named pname).
RunStep announces that a coverage run instance, number i, in profile pname and with runner context rc, is starting.
SendStderrTo redirects stderr from commands to w.
UseBackendResolver adds support for r as the source of backends.
UseFuzzer adds support for f as a 'known' fuzzer.
UseStatDumper adds support for d as the statistics dumper.
# Constants
DefaultCount is the default value for the Count quantity.
DefaultNWorkers is the default value for the NWorkers quantity.
Known is a profile kind that tells the coverage generator to run a mutating fuzzer known to it.
LastProfileKind represents the last profile kind.
Standalone is a profile kind that tells the coverage generator to run an external, stand-alone fuzzer.
# Variables
ErrConfigNil is produced when we supply a null pointer to OptionsFromConfig.
ErrNeedBackend occurs when we try to instantiate a runner for a known-fuzzer profile without a backend.
ErrNeedRunInfo occurs when we try to instantiate a runner for a standalone profile without run information.
ErrNoArch occurs when we try to run a lifted fuzzer for coverage and haven't a target architecture.
ErrNoFuzzer occurs when we try to run a lifted fuzzer for coverage but the fuzzer is nil.
ErrNoInput occurs when we try to run a mutating fuzzer for coverage and haven't any input to feed it.
ErrNoLifter occurs when we try to run a lifted fuzzer for coverage but the lifter is nil.
ErrNoStatDumper occurs when we try to run a lifted fuzzer for coverage but the statistic dumper is nil.
ErrUnknownProfileKind is an error that occurs if we try to unmarshal an unknown profile kind.
ErrUnsupportedProfileKind occurs when we try to instantiate a runner for an unsupported profile type.
# Structs
Bucket is the type of coverage buckets.
Config gathers the configuration present in coverage generator config files.
FuzzRunner is a coverage runner that uses the c4f fuzzer.
Maker contains state used by the coverage testbed maker.
Profile tells the coverage generator how to set up a particular coverage profile.
QuantitySet contains the quantities tracked by the coverage generator.
RunContext is the type of state provided to a coverage runner.
RunMessage is the type of messages announcing coverage run progress.
StandaloneRunner is a coverage runner that runs a standalone binary.
# Type aliases
Option is the type of options to supply to the coverage testbed maker's constructor.
ProfileKind is the enumeration of kinds of coverage profile.