829 Commits

Author SHA1 Message Date
NikVolf
5712ff74ee remove should_panic 2018-02-20 16:48:42 +03:00
NikVolf
1bedcde2e3 add test 2018-02-20 16:05:14 +03:00
NikVolf
37411dd850 fix varint7 range checking 2018-02-20 16:02:06 +03:00
NikVolf
f6d14984f8 bump version 2018-02-19 18:17:55 +03:00
Nikolay Volf
ee6e00470f
Merge pull request #178 from paritytech/fix-unparsed
Fix some fuzzer bugs
2018-02-19 18:17:12 +03:00
NikVolf
7cf8a7a16b simplify section reader 2018-02-18 22:08:23 +03:00
NikVolf
3e5d6e1017 also use section reader for funcs body 2018-02-18 22:00:57 +03:00
NikVolf
cd3ab4017b also limit start section 2018-02-18 21:33:48 +03:00
NikVolf
fb00111048 strict function form 2018-02-18 21:21:08 +03:00
NikVolf
3dd4289b4c add doc comment 2018-02-16 16:47:10 +03:00
NikVolf
43eec3a97f fix typo in integer 2018-02-16 15:30:05 +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
196b730bf7 also segment via macro 2018-02-16 01:53:03 +03:00
NikVolf
5c4e65ae5e fix comment 2018-02-16 01:51:25 +03:00
NikVolf
f890e6d482 fix custom section metering 2018-02-16 01:43:24 +03:00
NikVolf
8f70a30e15 exhaust read for section 2018-02-16 00:54:18 +03:00
NikVolf
23119fca95 remove stray println 2018-02-16 00:26:26 +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
cc0cd414aa add macro for buf read 2018-02-15 23:44:11 +03:00
NikVolf
5a2b924e3b check for buffer left 2018-02-15 21:06:09 +03:00
NikVolf
6e89dfbd9e take limited amount from reader 2018-02-15 20:30:36 +03:00
NikVolf
a178efea7e fix 3rd untrusted allcoation 2018-02-15 19:42:47 +03:00
NikVolf
55e0fb852a fix another untrusted allocation 2018-02-15 19:35:11 +03:00
NikVolf
386a965863 fix segment read untrusted 2018-02-15 19:29:56 +03:00
NikVolf
412600d4d8 remove unparsed version 2018-02-15 18:54:04 +03:00
Sergey Pepyakin
325deab488
Merge pull request #173 from paritytech/fix-shl-overflow
Fix shift overflow while decoding LEB
2018-02-15 17:02:48 +03:00
NikVolf
ec3e12acea fix overflow while decoding leb 2018-02-15 16:11:29 +03:00
NikVolf
8354b3e372 bump version 2018-02-14 18:56:00 +03:00
Nikolay Volf
51b44ecf34
Merge pull request #172 from paritytech/func-serde
Dedicated serialize/deserialze for Func struct
2018-02-14 18:55:26 +03:00
NikVolf
85aff7cbd7 Dedicated serialize/deserialze for Func struct 2018-02-14 18:45:32 +03:00
NikVolf
6df88cfa13 bump version 2018-02-12 03:54:33 +03:00
Nikolay Volf
514bbe6c09
Merge pull request #169 from frehberg/master
CustomSection derive Default
2018-02-12 03:53:38 +03:00
Frank Rehberger
de64dea1b4 CustomSection derive Default 2018-02-11 22:22:33 +01:00
Nikolay Volf
92901b838b
Merge pull request #168 from paritytech/fix-bump
Fix warnings and bump version
2018-02-09 16:46:59 +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
Nikolay Volf
bb0cd0c8fd
Merge pull request #164 from paritytech/payload-len-panic
Inconsistent metadata test and panic fix
2018-02-08 18:13:12 +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
Nikolay Volf
94fba1c41a
Merge pull request #162 from paritytech/doc-comment
Add a comment for name section
2018-02-05 20:28:50 +03:00
Sergey Pepyakin
8661f25921
Split docs for NameSection to two parts 2018-02-05 16:34:03 +03:00
Nikolay Volf
bc54beb3a5
Add a comment 2018-02-05 01:46:41 +03:00
Nikolay Volf
4519538096
Merge pull request #158 from paritytech/tabify
Spaces to tabs
2018-01-23 23:11:59 +03:00
NikVolf
f915a89b9d spaces to tabs 2018-01-23 22:47:20 +03:00
Nikolay Volf
bb24f2a11a
Merge pull request #157 from paritytech/contribution-note
Contribution notice in license section
2018-01-23 20:01:15 +03:00
NikVolf
1cb7dcddcf contribution notice 2018-01-23 19:48:58 +03:00
NikVolf
07855d71b8 fix warnings and dep version 2018-01-23 16:51:29 +03:00
Nikolay Volf
e9064b3598
Merge pull request #156 from paritytech/deprecate-interpreter
Deprecate interpreter and bump version
2018-01-23 16:47:52 +03:00