Home
last modified time | relevance | path

Searched refs:MemoryOutOfBounds (Results 1 – 18 of 18) sorted by relevance

/wasmtime-44.0.1/tests/disas/
H A Dx64-simple-load.wat20 ;; ╰─╼ trap: MemoryOutOfBounds
23 ;; ╰─╼ trap: MemoryOutOfBounds
/wasmtime-44.0.1/crates/fuzzing/src/oracles/
H A Ddiff_wasmi.rs54 Some(wasmi::TrapCode::MemoryOutOfBounds) in trap_code()
99 TrapCode::MemoryOutOfBounds => Trap::MemoryOutOfBounds, in wasmi_to_wasmtime_trap_code()
H A Ddiff_v8.rs93 Trap::MemoryOutOfBounds => { in assert_error_match()
/wasmtime-44.0.1/tests/
H A Ddisable_host_trap_handlers.rs48 assert_eq!(trap, Trap::MemoryOutOfBounds); in no_host_trap_handlers()
/wasmtime-44.0.1/crates/wasmtime/tests/
H A Dcustom_signal_handler.rs180 assert_eq!(trap, Trap::MemoryOutOfBounds); in test_custom_signal_handler_single_instance()
201 assert_eq!(trap, Trap::MemoryOutOfBounds); in test_custom_signal_handler_single_instance()
/wasmtime-44.0.1/crates/environ/src/
H A Dtrap_encoding.rs69 MemoryOutOfBounds = "out of bounds memory access",
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dlibcalls.rs839 .ok_or_else(|| Trap::MemoryOutOfBounds)?; in array_new_data()
842 let src = usize::try_from(src).map_err(|_| Trap::MemoryOutOfBounds)?; in array_new_data()
847 .ok_or_else(|| Trap::MemoryOutOfBounds)?; in array_new_data()
909 let dst = usize::try_from(dst).map_err(|_| Trap::MemoryOutOfBounds)?; in array_init_data()
910 let src = usize::try_from(src).map_err(|_| Trap::MemoryOutOfBounds)?; in array_init_data()
911 let len = usize::try_from(len).map_err(|_| Trap::MemoryOutOfBounds)?; in array_init_data()
929 .ok_or_else(|| Trap::MemoryOutOfBounds)?; in array_init_data()
937 .ok_or_else(|| Trap::MemoryOutOfBounds)?; in array_init_data()
H A Dinterpreter.rs470 TrapKind::MemoryOutOfBounds => Trap::MemoryOutOfBounds, in trap()
H A Dmemory.rs803 return Err(Trap::MemoryOutOfBounds); in validate_atomic_addr()
H A Dinstance.rs1114 let oob = || Trap::MemoryOutOfBounds; in validate_inbounds()
/wasmtime-44.0.1/tests/all/
H A Dpooling_allocator.rs164 assert_eq!(trap, Trap::MemoryOutOfBounds); in memory_guard_page_trap()
170 assert_eq!(trap, Trap::MemoryOutOfBounds); in memory_guard_page_trap()
179 assert_eq!(trap, Trap::MemoryOutOfBounds); in memory_guard_page_trap()
185 assert_eq!(trap, Trap::MemoryOutOfBounds); in memory_guard_page_trap()
1448 assert_eq!(trap, Trap::MemoryOutOfBounds); in pooling_reuse_resets()
H A Dtraps.rs649 Trap::MemoryOutOfBounds, in trap_codes()
660 Trap::MemoryOutOfBounds, in trap_codes()
1271 Trap::MemoryOutOfBounds, in div_plus_load_reported_right()
1275 Trap::MemoryOutOfBounds, in div_plus_load_reported_right()
1279 Trap::MemoryOutOfBounds, in div_plus_load_reported_right()
1283 Trap::MemoryOutOfBounds, in div_plus_load_reported_right()
H A Dmemory.rs608 Err(Trap::MemoryOutOfBounds) in shared_memory_basics()
612 Err(Trap::MemoryOutOfBounds) in shared_memory_basics()
616 Err(Trap::MemoryOutOfBounds) in shared_memory_basics()
H A Dfuel.rs294 assert_eq!(trap.downcast::<Trap>().unwrap(), Trap::MemoryOutOfBounds); in unconditionally_trapping_memory_accesses_save_fuel_before_trapping()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/
H A Dallocator.rs630 bail!(Trap::MemoryOutOfBounds); in check_memory_init_bounds()
732 return Err(Trap::MemoryOutOfBounds.into()); in initialize_memories()
/wasmtime-44.0.1/crates/c-api/src/
H A Dtrap.rs10 assert!(Trap::MemoryOutOfBounds as u8 == 1);
/wasmtime-44.0.1/crates/cranelift/src/
H A Dlib.rs268 ir::TrapCode::HEAP_OUT_OF_BOUNDS => Trap::MemoryOutOfBounds, in clif_trap_to_env_trap()
/wasmtime-44.0.1/pulley/src/
H A Dinterp.rs954 MemoryOutOfBounds, enumerator
1234 i.done_trap_kind::<I>(Some(TrapKind::MemoryOutOfBounds))?; in addr()
1253 i.done_trap_kind::<I>(Some(TrapKind::MemoryOutOfBounds))?; in addr()
1277 i.done_trap_kind::<I>(Some(TrapKind::MemoryOutOfBounds))?; in addr()