Commit Graph

686 Commits

Author SHA1 Message Date
b44e51a82c fix test 2018-02-20 18:16:43 +03:00
2ea7022ca8 convert spaces to tabs 2018-02-20 18:05:19 +03:00
75745055cc add testsuite and list all malformed cases 2018-02-20 18:01:02 +03:00
2aeaacad6b add testsuite dir 2018-02-20 17:30:47 +03:00
73318ee1f1 remove wabt submodule ref 2018-02-20 17:28:37 +03:00
7ae0c11411 bump version 2018-02-20 17:24:03 +03:00
8516158776 Merge pull request #186 from paritytech/fix-varint7
Fix varint7 bug
2018-02-20 17:05:24 +03:00
5712ff74ee remove should_panic 2018-02-20 16:48:42 +03:00
1bedcde2e3 add test 2018-02-20 16:05:14 +03:00
37411dd850 fix varint7 range checking 2018-02-20 16:02:06 +03:00
f6d14984f8 bump version 2018-02-19 18:17:55 +03:00
ee6e00470f Merge pull request #178 from paritytech/fix-unparsed
Fix some fuzzer bugs
2018-02-19 18:17:12 +03:00
7cf8a7a16b simplify section reader 2018-02-18 22:08:23 +03:00
3e5d6e1017 also use section reader for funcs body 2018-02-18 22:00:57 +03:00
cd3ab4017b also limit start section 2018-02-18 21:33:48 +03:00
fb00111048 strict function form 2018-02-18 21:21:08 +03:00
3dd4289b4c add doc comment 2018-02-16 16:47:10 +03:00
43eec3a97f fix typo in integer 2018-02-16 15:30:05 +03:00
123b00733f zeroes check in reserved 2018-02-16 15:22:34 +03:00
f3a103e415 fix sections out of order 2018-02-16 15:11:25 +03:00
196b730bf7 also segment via macro 2018-02-16 01:53:03 +03:00
5c4e65ae5e fix comment 2018-02-16 01:51:25 +03:00
f890e6d482 fix custom section metering 2018-02-16 01:43:24 +03:00
8f70a30e15 exhaust read for section 2018-02-16 00:54:18 +03:00
23119fca95 remove stray println 2018-02-16 00:26:26 +03:00
34344263d5 refactor section 2018-02-16 00:24:13 +03:00
f868b7b371 fix test payloads 2018-02-16 00:00:04 +03:00
cc0cd414aa add macro for buf read 2018-02-15 23:44:11 +03:00
5a2b924e3b check for buffer left 2018-02-15 21:06:09 +03:00
6e89dfbd9e take limited amount from reader 2018-02-15 20:30:36 +03:00
a178efea7e fix 3rd untrusted allcoation 2018-02-15 19:42:47 +03:00
55e0fb852a fix another untrusted allocation 2018-02-15 19:35:11 +03:00
386a965863 fix segment read untrusted 2018-02-15 19:29:56 +03:00
412600d4d8 remove unparsed version 2018-02-15 18:54:04 +03:00
325deab488 Merge pull request #173 from paritytech/fix-shl-overflow
Fix shift overflow while decoding LEB
2018-02-15 17:02:48 +03:00
ec3e12acea fix overflow while decoding leb 2018-02-15 16:11:29 +03:00
8354b3e372 bump version 2018-02-14 18:56:00 +03:00
51b44ecf34 Merge pull request #172 from paritytech/func-serde
Dedicated serialize/deserialze for Func struct
2018-02-14 18:55:26 +03:00
85aff7cbd7 Dedicated serialize/deserialze for Func struct 2018-02-14 18:45:32 +03:00
6df88cfa13 bump version 2018-02-12 03:54:33 +03:00
514bbe6c09 Merge pull request #169 from frehberg/master
CustomSection derive Default
2018-02-12 03:53:38 +03:00
de64dea1b4 CustomSection derive Default 2018-02-11 22:22:33 +01:00
92901b838b Merge pull request #168 from paritytech/fix-bump
Fix warnings and bump version
2018-02-09 16:46:59 +03:00
2979bfdf36 Fix warnings and bump version 2018-02-09 15:44:55 +03:00
26912d23bc Merge pull request #163 from paritytech/add-test
Wrong varuint1 case
2018-02-09 14:08:35 +03:00
bb0cd0c8fd Merge pull request #164 from paritytech/payload-len-panic
Inconsistent metadata test and panic fix
2018-02-08 18:13:12 +03:00
ca0c2dd450 inconsistent metadata test and panic fix 2018-02-07 21:57:09 +03:00
ddee847466 wrong varuint1 case 2018-02-07 20:26:18 +03:00
94fba1c41a Merge pull request #162 from paritytech/doc-comment
Add a comment for name section
2018-02-05 20:28:50 +03:00
8661f25921 Split docs for NameSection to two parts 2018-02-05 16:34:03 +03:00