pub enum ApiCall {
Show 93 variants
StoreNew {
id: usize,
config: Config,
},
StoreDrop {
id: usize,
},
StoreGc {
id: usize,
},
ModuleNew {
id: usize,
wasm: Vec<u8>,
},
ModuleDrop {
id: usize,
},
InstanceNew {
id: usize,
module: usize,
store: usize,
},
InstanceDrop {
id: usize,
},
CallExportedFunc {
instance: usize,
nth: usize,
},
GlobalTypeNew {
id: usize,
ty: FuzzValType,
mutable: bool,
},
GlobalTypeDrop {
id: usize,
},
GlobalNew {
id: usize,
global_ty: usize,
store: usize,
},
GlobalGet {
global: usize,
},
GlobalSet {
global: usize,
},
GlobalTy {
global: usize,
},
GlobalDrop {
id: usize,
},
GetGlobalExport {
id: usize,
instance: usize,
nth: usize,
},
TableTypeNew {
id: usize,
nullable: bool,
},
TableTypeDrop {
id: usize,
},
TableNew {
id: usize,
table_ty: usize,
store: usize,
},
TableGet {
table: usize,
idx: u64,
},
TableSet {
table: usize,
idx: u64,
},
TableGrow {
table: usize,
delta: u32,
},
TableSize {
table: usize,
},
TableTy {
table: usize,
},
TableDrop {
id: usize,
},
GetTableExport {
id: usize,
instance: usize,
nth: usize,
},
MemoryTypeNew {
id: usize,
minimum: u32,
maximum: Option<u32>,
},
MemoryTypeDrop {
id: usize,
},
MemoryNew {
id: usize,
memory_ty: usize,
store: usize,
},
MemoryRead {
memory: usize,
offset: usize,
len: usize,
},
MemoryWrite {
memory: usize,
offset: usize,
data: Vec<u8>,
},
MemoryData {
memory: usize,
},
MemoryDataMut {
memory: usize,
},
MemoryGrow {
memory: usize,
delta: u32,
},
MemoryDataSize {
memory: usize,
},
MemorySize {
memory: usize,
},
MemoryPageSize {
memory: usize,
},
MemoryPageSizeLog2 {
memory: usize,
},
MemoryTy {
memory: usize,
},
MemoryDrop {
id: usize,
},
GetMemoryExport {
id: usize,
instance: usize,
nth: usize,
},
FuncTypeNew {
id: usize,
params: Vec<FuzzValType>,
results: Vec<FuzzValType>,
},
FuncTypeDrop {
id: usize,
},
FuncNew {
id: usize,
func_ty: usize,
store: usize,
},
FuncTy {
func: usize,
},
FuncCall {
func: usize,
},
GetFuncExport {
id: usize,
instance: usize,
nth: usize,
},
FuncDrop {
id: usize,
},
TagTypeNew {
id: usize,
func_ty: usize,
},
TagTypeDrop {
id: usize,
},
TagNew {
id: usize,
tag_ty: usize,
store: usize,
},
TagTy {
tag: usize,
},
TagEq {
a: usize,
b: usize,
},
GetTagExport {
id: usize,
instance: usize,
nth: usize,
},
TagDrop {
id: usize,
},
ModuleImports {
module: usize,
},
ModuleExports {
module: usize,
},
ModuleGetExport {
module: usize,
name: String,
},
ModuleName {
module: usize,
},
ModuleValidate {
wasm: Vec<u8>,
},
ModuleSerializeDeserialize {
src_id: usize,
dst_id: usize,
},
TableCopy {
dst_table: usize,
dst_index: u64,
src_table: usize,
src_index: u64,
len: u64,
},
TableFill {
table: usize,
dst: u64,
len: u64,
},
StructTypeNew {
id: usize,
fields: Vec<(FuzzValType, bool)>,
},
StructTypeDrop {
id: usize,
},
StructRefPreNew {
id: usize,
struct_ty: usize,
store: usize,
},
StructRefPreDrop {
id: usize,
},
StructRefNew {
id: usize,
pre: usize,
},
StructRefTy {
struct_ref: usize,
},
StructRefField {
struct_ref: usize,
index: usize,
},
StructRefSetField {
struct_ref: usize,
index: usize,
},
StructRefDrop {
id: usize,
},
ArrayTypeNew {
id: usize,
elem_ty: FuzzValType,
mutable: bool,
},
ArrayTypeDrop {
id: usize,
},
ArrayRefPreNew {
id: usize,
array_ty: usize,
store: usize,
},
ArrayRefPreDrop {
id: usize,
},
ArrayRefNew {
id: usize,
pre: usize,
len: u32,
},
ArrayRefNewFixed {
id: usize,
pre: usize,
count: u8,
},
ArrayRefTy {
array_ref: usize,
},
ArrayRefLen {
array_ref: usize,
},
ArrayRefGet {
array_ref: usize,
index: u32,
},
ArrayRefSet {
array_ref: usize,
index: u32,
},
ArrayRefDrop {
id: usize,
},
ExnTypeNew {
id: usize,
fields: Vec<FuzzValType>,
},
ExnTypeFromTagType {
id: usize,
tag_ty: usize,
},
ExnTypeDrop {
id: usize,
},
ExnRefPreNew {
id: usize,
exn_ty: usize,
store: usize,
},
ExnRefPreDrop {
id: usize,
},
ExnRefNew {
id: usize,
pre: usize,
tag: usize,
},
ExnRefTy {
exn_ref: usize,
},
ExnRefTag {
exn_ref: usize,
},
ExnRefField {
exn_ref: usize,
index: usize,
},
ExnRefDrop {
id: usize,
},
}Expand description
A call to one of Wasmtime’s public APIs.
Variants§
StoreNew
StoreDrop
StoreGc
ModuleNew
ModuleDrop
InstanceNew
InstanceDrop
CallExportedFunc
GlobalTypeNew
GlobalTypeDrop
GlobalNew
GlobalGet
GlobalSet
GlobalTy
GlobalDrop
GetGlobalExport
TableTypeNew
TableTypeDrop
TableNew
TableGet
TableSet
TableGrow
TableSize
TableTy
TableDrop
GetTableExport
MemoryTypeNew
MemoryTypeDrop
MemoryNew
MemoryRead
MemoryWrite
MemoryData
MemoryDataMut
MemoryGrow
MemoryDataSize
MemorySize
MemoryPageSize
MemoryPageSizeLog2
MemoryTy
MemoryDrop
GetMemoryExport
FuncTypeNew
FuncTypeDrop
FuncNew
FuncTy
FuncCall
GetFuncExport
FuncDrop
TagTypeNew
TagTypeDrop
TagNew
TagTy
TagEq
GetTagExport
TagDrop
ModuleImports
ModuleExports
ModuleGetExport
ModuleName
ModuleValidate
ModuleSerializeDeserialize
TableCopy
TableFill
StructTypeNew
StructTypeDrop
StructRefPreNew
StructRefPreDrop
StructRefNew
StructRefTy
StructRefField
StructRefSetField
StructRefDrop
ArrayTypeNew
ArrayTypeDrop
ArrayRefPreNew
ArrayRefPreDrop
ArrayRefNew
ArrayRefNewFixed
ArrayRefTy
ArrayRefLen
ArrayRefGet
ArrayRefSet
ArrayRefDrop
ExnTypeNew
ExnTypeFromTagType
ExnTypeDrop
ExnRefPreNew
ExnRefPreDrop
ExnRefNew
ExnRefTy
ExnRefTag
ExnRefField
ExnRefDrop
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for ApiCall
impl<'arbitrary> Arbitrary<'arbitrary> for ApiCall
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the entirety of the given
unstructured data. Read moreAuto Trait Implementations§
impl Freeze for ApiCall
impl RefUnwindSafe for ApiCall
impl Send for ApiCall
impl Sync for ApiCall
impl Unpin for ApiCall
impl UnsafeUnpin for ApiCall
impl UnwindSafe for ApiCall
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
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more