class Artifact
Defined at line 762 of file fidling/gen/src/sys/fuzzing/fidl/fuchsia.fuzzer/hlcpp/fuchsia/fuzzer/cpp/fidl.h
Encapsulates the result of a long-running fuzzing workflow and optionally
the input that caused it, depending on the workflow.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
Artifact & set_result (::fuchsia::fuzzer::Result _value)
Artifact & set_input (::fuchsia::fuzzer::Input _value)
Artifact & set_error (int32_t _value)
void Artifact ()
void Artifact (Artifact && other)
void ~Artifact ()
Artifact & operator= (Artifact && other)
::std::unique_ptr<Artifact> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Artifact * _value, size_t _offset)
zx_status_t Clone (Artifact * _result)
const ::fuchsia::fuzzer::Result & result ()
Result of executing the long-running workflow.
Defined at line 769 of file fidling/gen/src/sys/fuzzing/fidl/fuchsia.fuzzer/hlcpp/fuchsia/fuzzer/cpp/fidl.h
bool has_result ()
Defined at line 773 of file fidling/gen/src/sys/fuzzing/fidl/fuchsia.fuzzer/hlcpp/fuchsia/fuzzer/cpp/fidl.h
::fuchsia::fuzzer::Result * mutable_result ()
Result of executing the long-running workflow.
Defined at line 778 of file fidling/gen/src/sys/fuzzing/fidl/fuchsia.fuzzer/hlcpp/fuchsia/fuzzer/cpp/fidl.h
void clear_result ()
Defined at line 786 of file fidling/gen/src/sys/fuzzing/fidl/fuchsia.fuzzer/hlcpp/fuchsia/fuzzer/cpp/fidl.h
const ::fuchsia::fuzzer::Input & input ()
Optional fuzzer input produced by a specific long-running workflow. This
may be:
* A discovered input in the case of `Fuzz`
* A constructed input in the cases of `Cleanse` and `Minimize`.
* Omitted in the cases of `TryOne` and `Merge`.
Defined at line 800 of file fidling/gen/src/sys/fuzzing/fidl/fuchsia.fuzzer/hlcpp/fuchsia/fuzzer/cpp/fidl.h
bool has_input ()
Defined at line 804 of file fidling/gen/src/sys/fuzzing/fidl/fuchsia.fuzzer/hlcpp/fuchsia/fuzzer/cpp/fidl.h
::fuchsia::fuzzer::Input * mutable_input ()
Optional fuzzer input produced by a specific long-running workflow. This
may be:
* A discovered input in the case of `Fuzz`
* A constructed input in the cases of `Cleanse` and `Minimize`.
* Omitted in the cases of `TryOne` and `Merge`.
Defined at line 814 of file fidling/gen/src/sys/fuzzing/fidl/fuchsia.fuzzer/hlcpp/fuchsia/fuzzer/cpp/fidl.h
void clear_input ()
Defined at line 822 of file fidling/gen/src/sys/fuzzing/fidl/fuchsia.fuzzer/hlcpp/fuchsia/fuzzer/cpp/fidl.h
const int32_t & error ()
An error generated during a long-running workflow. These errors are
distinct from those that result from validating workflow requests and
are documented for the workflow methods below. These errors result from
unexpected framework failure. For example, if libFuzzer fails due to an
internal error, the engine will report it via this field.
The `result` and `input` fields are invalid if this field is present and
anything other than `ZX_OK`.
Defined at line 838 of file fidling/gen/src/sys/fuzzing/fidl/fuchsia.fuzzer/hlcpp/fuchsia/fuzzer/cpp/fidl.h
bool has_error ()
Defined at line 842 of file fidling/gen/src/sys/fuzzing/fidl/fuchsia.fuzzer/hlcpp/fuchsia/fuzzer/cpp/fidl.h
int32_t * mutable_error ()
An error generated during a long-running workflow. These errors are
distinct from those that result from validating workflow requests and
are documented for the workflow methods below. These errors result from
unexpected framework failure. For example, if libFuzzer fails due to an
internal error, the engine will report it via this field.
The `result` and `input` fields are invalid if this field is present and
anything other than `ZX_OK`.
Defined at line 854 of file fidling/gen/src/sys/fuzzing/fidl/fuchsia.fuzzer/hlcpp/fuchsia/fuzzer/cpp/fidl.h
void clear_error ()
Defined at line 862 of file fidling/gen/src/sys/fuzzing/fidl/fuchsia.fuzzer/hlcpp/fuchsia/fuzzer/cpp/fidl.h