wasmi/src
Sergey Pepyakin c96735d6d6 Wasm function can only trap (#29)
* Introduce Trap struct.

* get_local can't fail.

* Add MemoryOutOfBounds trap.

* from_little_endian use slice instead of vec.

* MemoryAccessOutOfBounds for mem get and set.

* from_little_endian conversion can't fail.

* call_indirect traps.

* DivisionByZero and InvalidConversionToInt

* Use traps in value to convey an error

* select: int condition on stack top

* if: int condition on stack top

* Assert pops.

* Another protions of assert pops

* Introduce ValueStack

Also, hide FunctionContext and remove some stale code

* Traps in execution

* Make it compile.

* Check args before invoke.

* Document RuntimeArgs.

* Update host.rs

* Add rustdoc for Trap.
2018-02-01 14:59:21 +03:00
..
common Wasm function can only trap (#29) 2018-02-01 14:59:21 +03:00
tests Wasm function can only trap (#29) 2018-02-01 14:59:21 +03:00
validation Update to most recent parity-wasm (#21) 2018-01-26 18:35:12 +03:00
func.rs Wasm function can only trap (#29) 2018-02-01 14:59:21 +03:00
global.rs 4th iteration on documentation (#22) 2018-01-26 19:24:40 +03:00
host.rs Wasm function can only trap (#29) 2018-02-01 14:59:21 +03:00
imports.rs 4th iteration on documentation (#22) 2018-01-26 19:24:40 +03:00
lib.rs Wasm function can only trap (#29) 2018-02-01 14:59:21 +03:00
memory.rs Publish LINEAR_MEMORY_PAGE_SIZE constant (#31) 2018-02-01 14:46:49 +03:00
module.rs Wasm function can only trap (#29) 2018-02-01 14:59:21 +03:00
runner.rs Wasm function can only trap (#29) 2018-02-01 14:59:21 +03:00
table.rs Wasm function can only trap (#29) 2018-02-01 14:59:21 +03:00
types.rs 4th iteration on documentation (#22) 2018-01-26 19:24:40 +03:00
value.rs Wasm function can only trap (#29) 2018-02-01 14:59:21 +03:00