pub struct TargetAdapterProxy { /* private fields */ }Implementations§
Source§impl TargetAdapterProxy
impl TargetAdapterProxy
Sourcepub fn take_event_stream(&self) -> TargetAdapterEventStream
pub fn take_event_stream(&self) -> TargetAdapterEventStream
Get a Stream of events from the remote end of the protocol.
§Panics
Panics if the event stream was already taken.
Sourcepub fn get_parameters(
&self,
) -> QueryResponseFut<Vec<String>, FDomainResourceDialect>
pub fn get_parameters( &self, ) -> QueryResponseFut<Vec<String>, FDomainResourceDialect>
Retrieves the target-specific fuzzer parameters, e.g. the package- relative location of seed corpora. These parameters are specific to individual fuzzers, and are used by both the fuzzing engine and the “test-engine” used to create fuzzer unit tests. For these reasons, it is most convenient for fuzzer authors to specify them as part of the (fuzzer-specific) target adapter’s component manifest file, and have the engine and test-engine retrieve them via this method.
- response
parametersthe command line parameters from a specific fuzzer’s component manifest.
Sourcepub fn connect(
&self,
eventpair: EventPair,
test_input: Vmo,
) -> QueryResponseFut<(), FDomainResourceDialect>
pub fn connect( &self, eventpair: EventPair, test_input: Vmo, ) -> QueryResponseFut<(), FDomainResourceDialect>
Provides the eventpair used by driver and adapter to signal each other,
and the shared VMO used to provide test inputs to the adapter. The VMO
must have the ZX_PROP_VMO_CONTENT_SIZE property set.
- request
eventpairthe eventpair used to signal when fuzzing runs start and stop. - request
test_inputthe shared VMO used by the engine to provide byte sequences to test.
Trait Implementations§
Source§impl Clone for TargetAdapterProxy
impl Clone for TargetAdapterProxy
Source§fn clone(&self) -> TargetAdapterProxy
fn clone(&self) -> TargetAdapterProxy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TargetAdapterProxy
impl Debug for TargetAdapterProxy
Source§impl Proxy for TargetAdapterProxy
impl Proxy for TargetAdapterProxy
Source§type Protocol = TargetAdapterMarker
type Protocol = TargetAdapterMarker
Proxy controls.Source§fn from_channel(inner: Channel) -> Self
fn from_channel(inner: Channel) -> Self
Source§fn into_channel(self) -> Result<Channel, Self>
fn into_channel(self) -> Result<Channel, Self>
Source§fn as_channel(&self) -> &Channel
fn as_channel(&self) -> &Channel
Source§fn domain(&self) -> Arc<Client>
fn domain(&self) -> Arc<Client>
Source§fn on_closed(&self) -> OnFDomainSignals
fn on_closed(&self) -> OnFDomainSignals
PEER_CLOSED signal.Source§impl TargetAdapterProxyInterface for TargetAdapterProxy
impl TargetAdapterProxyInterface for TargetAdapterProxy
type GetParametersResponseFut = QueryResponseFut<Vec<String>, FDomainResourceDialect>
type ConnectResponseFut = QueryResponseFut<(), FDomainResourceDialect>
fn get_parameters(&self) -> Self::GetParametersResponseFut
fn connect( &self, eventpair: EventPair, test_input: Vmo, ) -> Self::ConnectResponseFut
Auto Trait Implementations§
impl Freeze for TargetAdapterProxy
impl !RefUnwindSafe for TargetAdapterProxy
impl Send for TargetAdapterProxy
impl Sync for TargetAdapterProxy
impl Unpin for TargetAdapterProxy
impl UnsafeUnpin for TargetAdapterProxy
impl !UnwindSafe for TargetAdapterProxy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
T to [Self]