class RealmFuzzerRunner

Defined at line 34 of file ../../src/sys/fuzzing/realmfuzzer/engine/runner.h

The concrete implementation of |Runner| for the realmfuzzer engine.

Public Methods

RunnerPtr MakePtr (ExecutorPtr executor)

Factory method.

Defined at line 26 of file ../../src/sys/fuzzing/realmfuzzer/engine/runner.cc

void ~RealmFuzzerRunner ()

Defined at line 36 of file ../../src/sys/fuzzing/realmfuzzer/engine/runner.h

void SetAdapterHandler (TargetAdapterClient::RequestHandler handler)

Sets the |handler| to use to (re)connect to the target adapter.

Defined at line 47 of file ../../src/sys/fuzzing/realmfuzzer/engine/runner.cc

void SetProviderHandler (CoverageDataProviderClient::RequestHandler handler)

Sets the |handler| to use to connect to the coverage data provider.

Defined at line 51 of file ../../src/sys/fuzzing/realmfuzzer/engine/runner.cc

ZxPromise<> Initialize (std::string pkg_dir, std::vector<std::string> args)

|Runner| method implementations.

Defined at line 55 of file ../../src/sys/fuzzing/realmfuzzer/engine/runner.cc

ZxPromise<> Configure ()

Defined at line 69 of file ../../src/sys/fuzzing/realmfuzzer/engine/runner.cc

zx_status_t AddToCorpus (CorpusType corpus_type, Input input)

Defined at line 95 of file ../../src/sys/fuzzing/realmfuzzer/engine/runner.cc

std::vector<Input> GetCorpus (CorpusType corpus_type)

Defined at line 106 of file ../../src/sys/fuzzing/realmfuzzer/engine/runner.cc

zx_status_t ParseDictionary (const Input & input)

Defined at line 127 of file ../../src/sys/fuzzing/realmfuzzer/engine/runner.cc

Input GetDictionaryAsInput ()

Defined at line 137 of file ../../src/sys/fuzzing/realmfuzzer/engine/runner.cc

ZxPromise<Artifact> Fuzz ()

////////////////////////////////////////////////////////////

Asynchronous workflows.

Defined at line 142 of file ../../src/sys/fuzzing/realmfuzzer/engine/runner.cc

ZxPromise<Artifact> TryEach (std::vector<Input> inputs)

Defined at line 146 of file ../../src/sys/fuzzing/realmfuzzer/engine/runner.cc

ZxPromise<Artifact> ValidateMinimize (Input input)

Defined at line 175 of file ../../src/sys/fuzzing/realmfuzzer/engine/runner.cc

ZxPromise<Artifact> Minimize (Artifact artifact)

Defined at line 187 of file ../../src/sys/fuzzing/realmfuzzer/engine/runner.cc

ZxPromise<Artifact> Cleanse (Input input)

Defined at line 257 of file ../../src/sys/fuzzing/realmfuzzer/engine/runner.cc

ZxPromise<> ValidateMerge ()

Defined at line 341 of file ../../src/sys/fuzzing/realmfuzzer/engine/runner.cc

ZxPromise<Artifact> Merge ()

Defined at line 356 of file ../../src/sys/fuzzing/realmfuzzer/engine/runner.cc

Status CollectStatus ()

Defined at line 411 of file ../../src/sys/fuzzing/realmfuzzer/engine/runner.cc

ZxPromise<> Stop ()

Defined at line 445 of file ../../src/sys/fuzzing/realmfuzzer/engine/runner.cc

Protected Methods

void StartWorkflow (Scope & scope)

|Reset|s input queues, records start times, and notifies monitors that the workflow is

starting. This method is called automatically by |Workflow::Start|.

Defined at line 453 of file ../../src/sys/fuzzing/realmfuzzer/engine/runner.cc

void FinishWorkflow ()

Drops remaining inputs from queues, |Disconnect|s, and notifies monitors that the workflow is

done. This method is called automatically by |Workflow::Finish|.

Defined at line 492 of file ../../src/sys/fuzzing/realmfuzzer/engine/runner.cc

void UpdateMonitorsWithStatus (UpdateReason reason, Status status)

In addition to the base class's behavior, this method may produce additional output depending

on the configured output mode in the options.

Defined at line 404 of file ../../src/sys/fuzzing/realmfuzzer/engine/runner.cc