wasmi/src
Sergey Pepyakin 9140e869e2 Update spec testsuite; Fix instantiation bug (#61)
The bug was about instantiating a module with elements segment being out-of-bounds, however, it was with zero length. E.g.:

```
(module
  (table 0 anyfunc)
  (elem (i32.const 1))
)
```

In our impl there was no out-of-bounds, because there was no attempt to set any table entry.

This change adds early check for specifically this case.
2018-02-19 18:59:18 +03:00
..
bin Add `instantiate` bin (#53) 2018-02-14 13:36:27 +03:00
common Just bump framestack limits. (#50) 2018-02-13 09:29:04 +03:00
tests Remove old fixtures. (#54) 2018-02-14 13:33:24 +03:00
validation Just bump framestack limits. (#50) 2018-02-13 09:29:04 +03:00
func.rs Refine errors (#36) 2018-02-06 14:14:57 +03:00
global.rs Minor fixes in docs (#38) 2018-02-06 23:10:58 +03:00
host.rs Refine errors (#36) 2018-02-06 14:14:57 +03:00
imports.rs Minor fixes in docs (#38) 2018-02-06 23:10:58 +03:00
lib.rs Merge signature mismatch traps (#57) 2018-02-14 18:27:22 +03:00
memory.rs Memory units (#42) 2018-02-09 16:45:21 +03:00
module.rs Update spec testsuite; Fix instantiation bug (#61) 2018-02-19 18:59:18 +03:00
runner.rs Merge signature mismatch traps (#57) 2018-02-14 18:27:22 +03:00
table.rs Add docs (#32) 2018-02-01 19:46:33 +03:00
types.rs Minor fixes in docs (#38) 2018-02-06 23:10:58 +03:00
value.rs Use wasmi ValueType for RuntimeValue instead pwasm (#52) 2018-02-14 13:36:17 +03:00