| /wasmtime-44.0.1/crates/fuzzing/src/oracles/ |
| H A D | diff_spec.rs | 69 arguments: &[DiffValue], in evaluate() argument 71 ) -> Result<Option<Vec<DiffValue>>> { in evaluate() argument 98 impl From<&DiffValue> for SpecValue { 99 fn from(v: &DiffValue) -> Self { in from() 106 DiffValue::FuncRef { .. } in from() 107 | DiffValue::ExternRef { .. } in from() 108 | DiffValue::AnyRef { .. } in from() 109 | DiffValue::ExnRef { .. } in from() 110 | DiffValue::ContRef { .. } => { in from() 117 impl From<SpecValue> for DiffValue { implementation [all …]
|
| H A D | diff_wasmtime.rs | 163 arguments: &[DiffValue], in evaluate() argument 165 ) -> Result<Option<Vec<DiffValue>>> { in evaluate() argument 207 impl From<&DiffValue> for Val { 208 fn from(v: &DiffValue) -> Self { in from() 210 DiffValue::I32(n) => Val::I32(n), in from() 215 DiffValue::FuncRef { null } => { in from() 223 DiffValue::AnyRef { null } => { in from() 227 DiffValue::ExnRef { null } => { in from() 231 DiffValue::ContRef { null } => { in from() 239 impl From<Val> for DiffValue { implementation [all …]
|
| H A D | diff_wasmi.rs | 3 use crate::generators::{Config, DiffValue, DiffValueType}; 126 arguments: &[DiffValue], in evaluate() argument 128 ) -> Result<Option<Vec<DiffValue>>> { in evaluate() argument 168 impl From<&DiffValue> for wasmi::Val { 169 fn from(v: &DiffValue) -> Self { in from() 172 DiffValue::I32(n) => WasmiValue::I32(n), in from() 173 DiffValue::I64(n) => WasmiValue::I64(n), in from() 177 DiffValue::FuncRef { null } => { in from() 181 DiffValue::ExternRef { null } => { in from() 192 impl From<wasmi::Val> for DiffValue { implementation [all …]
|
| H A D | diff_v8.rs | 1 use crate::generators::{Config, DiffValue, DiffValueType}; 166 arguments: &[DiffValue], in evaluate() argument 168 ) -> Result<Option<Vec<DiffValue>>> { in evaluate() argument 185 DiffValue::FuncRef { null } | DiffValue::ExternRef { null } => { in evaluate() 190 DiffValue::V128(_) => return Ok(None), in evaluate() 191 DiffValue::AnyRef { .. } => unimplemented!(), in evaluate() 192 DiffValue::ExnRef { .. } => unimplemented!(), in evaluate() 298 ) -> DiffValue { in get_diff_value() argument 304 DiffValue::I64(val) in get_diff_value() 310 DiffValueType::FuncRef => DiffValue::FuncRef { in get_diff_value() [all …]
|
| H A D | engine.rs | 3 use crate::generators::{CompilerStrategy, Config, DiffValue, DiffValueType}; 86 arguments: &[DiffValue], in evaluate() argument 88 ) -> wasmtime::Result<Option<Vec<DiffValue>>>; in evaluate() argument 92 fn get_global(&mut self, name: &str, ty: DiffValueType) -> Option<DiffValue>; in get_global() argument 215 &[DiffValue::I32(1), DiffValue::I32(2)], in smoke_test_engine() 219 assert_eq!(results, Some(vec![DiffValue::I32(3)])); in smoke_test_engine() 222 assert_eq!(val, DiffValue::I32(1)); in smoke_test_engine()
|
| /wasmtime-44.0.1/crates/fuzzing/src/generators/ |
| H A D | value.rs | 11 pub enum DiffValue { enum 24 impl DiffValue { implementation 27 DiffValue::I32(_) => DiffValueType::I32, in ty() 28 DiffValue::I64(_) => DiffValueType::I64, in ty() 76 DiffValue::F32(bits) in arbitrary_of_type() 99 DiffValue::F64(bits) in arbitrary_of_type() 125 DiffValue::V128(vector) in arbitrary_of_type() 222 impl<'a> Arbitrary<'a> for DiffValue { implementation 225 DiffValue::arbitrary_of_type(u, ty) in arbitrary() 229 impl Hash for DiffValue { implementation [all …]
|
| /wasmtime-44.0.1/crates/fuzzing/src/ |
| H A D | generators.rs | 39 pub use value::{DiffValue, DiffValueType};
|
| H A D | oracles.rs | 28 use crate::generators::{self, CompilerStrategy, DiffValue, DiffValueType}; 456 args: &[DiffValue], in differential() argument
|
| /wasmtime-44.0.1/fuzz/fuzz_targets/ |
| H A D | differential.rs | 8 use wasmtime_fuzzing::generators::{Config, DiffValue, DiffValueType, SingleInstModule}; 153 DiffValue::arbitrary_of_type(&mut u, ty) in execute_one()
|