49 Commits

Author SHA1 Message Date
NikVolf
b44e51a82c fix test 2018-02-20 18:16:43 +03:00
NikVolf
75745055cc add testsuite and list all malformed cases 2018-02-20 18:01:02 +03:00
NikVolf
123b00733f zeroes check in reserved 2018-02-16 15:22:34 +03:00
NikVolf
f3a103e415 fix sections out of order 2018-02-16 15:11:25 +03:00
NikVolf
34344263d5 refactor section 2018-02-16 00:24:13 +03:00
NikVolf
f868b7b371 fix test payloads 2018-02-16 00:00:04 +03:00
NikVolf
2979bfdf36 Fix warnings and bump version 2018-02-09 15:44:55 +03:00
Nikolay Volf
26912d23bc
Merge pull request #163 from paritytech/add-test
Wrong varuint1 case
2018-02-09 14:08:35 +03:00
NikVolf
ca0c2dd450 inconsistent metadata test and panic fix 2018-02-07 21:57:09 +03:00
NikVolf
ddee847466 wrong varuint1 case 2018-02-07 20:26:18 +03:00
NikVolf
f915a89b9d spaces to tabs 2018-01-23 22:47:20 +03:00
NikVolf
c6c6ca591c integration test 2018-01-18 23:16:00 +03:00
NikVolf
fb11b5af1a fix space calculation 2018-01-18 23:04:52 +03:00
NikVolf
7f79860e52 add doc comment 2018-01-18 19:28:57 +03:00
NikVolf
fa87fff6d0 parse names in custom section 2018-01-18 19:26:30 +03:00
Nikolay Volf
360c106ccf
Merge pull request #138 from icefoxen/element-debug
Added Debug to lots of the `elements` types.
2018-01-10 19:01:05 +04:00
Simon Heath
bddeb51f02 Made default module magic number endian-independent.
And added unit test.  You can change the `LittleEndian` to `BigEndian`
in `Module::default()` and see what it would otherwise do when built
on a big-endian platform.
2018-01-09 19:45:34 -05:00
Simon Heath
588706b7e8 Added Debug to lots of the elements types.
Because when I'm trying to debug my program it's nice to be able
to print out the pieces of it.

Also added Copy and Clone to a few types that could use it, just 'cause.
2018-01-09 18:35:23 -05:00
NikVolf
97257a7865 serialize buffer takes slice 2017-12-27 12:28:42 +03:00
NikVolf
c373a4adc1 peek module size utility 2017-10-30 17:37:06 +03:00
fro
7385baf967 Clone impl for a module 2017-10-24 16:11:03 +03:00
NikVolf
acdf61e49e add extra tests and conds 2017-09-07 17:47:43 +02:00
NikVolf
aa08acff8b replace with wrapping neg 2017-09-07 16:16:20 +02:00
NikVolf
c603f3a4ed panic confirmed with a test 2017-09-07 12:56:26 +02:00
NikVolf
5f1cf258cc add edge case for i64.const 2017-09-06 19:06:14 +02:00
NikVolf
8407520ab4 malformed test 2017-06-06 14:19:36 +03:00
NikVolf
a080b42db0 fix also functions_section -> function_section 2017-06-03 23:37:36 +03:00
NikVolf
35f22f3cdd rename FunctionsSection -> FunctionSection 2017-06-03 23:31:38 +03:00
NikVolf
3fb35f29b2 tests and bug fixed for i64store interpretation 2017-05-16 14:42:58 +03:00
Svyatoslav Nikolsky
19a7d875b0 Merge branch 'master' into interpreter 2017-05-10 13:09:37 +03:00
Svyatoslav Nikolsky
e14e3e055a flush 2017-04-28 13:34:58 +03:00
Svyatoslav Nikolsky
0eb881f487 initial interpreter commit 2017-04-26 10:51:59 +03:00
NikVolf
989bf3288e export section 2017-04-25 16:33:17 +03:00
NikVolf
b13248470b tests for i64/i32 leb 2017-04-20 19:17:20 +03:00
NikVolf
9b401659e9 const test cases 2017-04-20 17:56:15 +03:00
NikVolf
c188647003 missing bindings to individual sections 2017-04-12 18:52:51 +03:00
NikVolf
29f64f3fec module scaffolding and such 2017-04-06 16:00:12 +03:00
NikVolf
74b310113e builders intial 2017-04-06 11:34:31 +03:00
NikVolf
321d1cf4e6 docs 2017-04-04 03:03:57 +03:00
NikVolf
15035de380 module docs 2017-04-04 00:27:31 +03:00
NikVolf
7f2eb379f4 integration tests working 2017-04-04 00:22:08 +03:00
NikVolf
6dc392bf18 integration tests 2017-04-03 23:56:21 +03:00
NikVolf
38da8860ed sections & module final 2017-04-03 23:08:13 +03:00
NikVolf
4e1f1f2d86 remaining sections 2017-04-03 22:58:00 +03:00
NikVolf
054e9d71e2 function signatures 2017-03-30 23:23:54 +03:00
NikVolf
779f3257cd import section, examples 2017-03-30 20:55:25 +03:00
NikVolf
b504dbc61c types deserialization 2017-03-29 23:13:54 +03:00
NikVolf
3fa3a96d3a working sections parse 2017-03-29 19:40:51 +03:00
NikVolf
4ab9e569d1 initial commit 2017-03-29 18:16:58 +03:00