829 Commits

Author SHA1 Message Date
Sergey Pepyakin
6a3b9af597 Initial sketch 2017-11-25 22:28:15 +03:00
Nikolay Volf
0b5939e4e7
Merge pull request #117 from paritytech/move-sig-check
Move signature checking into export_entry
2017-11-24 16:13:56 +03:00
Sergey Pepyakin
c4245d584e Move signature checking into export_entry
Looking at the tests it seems that signature checking is expected to be done by `export_entry`. But in fact if signatures don't match, `export_entry` delegates to it's `env` field, which will usually should return `Error::Function` since there is no function registered with a such name.

This change set should fix that.
2017-11-23 13:49:03 +03:00
NikVolf
7ed7f79a2d bump version 2017-11-22 00:54:38 +03:00
Nikolay Volf
aa1271b365
Merge pull request #116 from paritytech/import-extend
Import section handy functions
2017-11-22 00:53:41 +03:00
NikVolf
18a877e692 import handy functions 2017-11-21 20:03:06 +03:00
NikVolf
03c3e57488 fix travis documentation upload 2017-11-20 19:38:41 +03:00
Nikolay Volf
636d96eb2b
Update README.md 2017-11-20 13:36:07 +03:00
Sergey Pepyakin
d2dffb8f92
Merge pull request #113 from paritytech/fix-stack-top
Default STACKTOP in env module - 256kb, configurable
2017-11-13 19:46:31 +03:00
NikVolf
6b6e102b24 default stack top - 256kb, configurable 2017-11-12 18:58:10 +03:00
NikVolf
5112ec4b15 bump version 2017-11-10 00:54:35 +03:00
Nikolay Volf
6efc0e8e49
Merge pull request #112 from paritytech/interpreter-memops
Implement copy_nonoverlapping and clear.
2017-11-10 00:54:05 +03:00
Sergey Pepyakin
027c59fa7e Implement copy_nonoverlapping and clear. 2017-11-09 19:19:52 +03:00
Alexey
3f519dd4ac
Merge pull request #111 from paritytech/doc-link
Update doc link in Cargo.toml
2017-11-03 14:07:52 +03:00
Nikolay Volf
6006864073
Update doc link in Cargo.toml 2017-11-03 02:07:42 +03:00
NikVolf
107900a3bc bump version 2017-11-02 13:52:54 +03:00
Nikolay Volf
58f732ae21
Merge pull request #110 from paritytech/memory-get-into
MemoryInstance::get_into() to safe copy into mutable slice without allocations
2017-11-02 13:52:20 +03:00
NikVolf
13ddb31b94 remove space 2017-11-02 13:35:21 +03:00
NikVolf
aba11d5b67 get_into to avoid copy 2017-11-02 13:32:29 +03:00
Nikolay Volf
a787b2ec93
Merge pull request #109 from paritytech/editorconfig
Add .editorconfig
2017-11-01 16:35:27 +03:00
Sergey Pepyakin
0de83b2b94 Add .editorconfig 2017-11-01 14:15:15 +03:00
NikVolf
4a0f5aa444 bump version 2017-10-30 18:10:30 +03:00
Nikolay Volf
ec3fa66e22
Merge pull request #108 from paritytech/peek
Peek module size utility
2017-10-30 18:09:44 +03:00
NikVolf
c373a4adc1 peek module size utility 2017-10-30 17:37:06 +03:00
NikVolf
1602f7ace6 bump version 2017-10-25 18:51:08 +03:00
Nikolay Volf
c01769f76f Merge pull request #107 from paritytech/exportentry_field_mut
field_mut better return &mut String
2017-10-25 18:50:29 +03:00
fro
2b9a7a4cda field_mut better return &mut String 2017-10-25 18:33:14 +03:00
Nikolay Volf
b2486aab60 Merge pull request #106 from paritytech/module-clone
Clone impl for a module
2017-10-24 16:47:28 +03:00
fro
7385baf967 Clone impl for a module 2017-10-24 16:11:03 +03:00
Nikolay Volf
5e8c101a80 Update README.md 2017-10-24 15:11:50 +03:00
NikVolf
dd2df80007 bump version and move repo 2017-10-23 15:54:51 +03:00
NikVolf
665b8da84c bump version 2017-09-19 13:40:09 +03:00
Nikolay Volf
63c57946d1 Merge pull request #102 from waywardmonkeys/clone-opcode
Opcode: impl Clone.
2017-09-19 12:53:19 +03:00
Bruce Mitchener
5c7a3c8c72 Opcode: impl Clone. 2017-09-19 16:05:18 +07:00
NikVolf
6b4c7c9e67 bump version 2017-09-15 21:51:45 +03:00
Nikolay Volf
8ee48a922f Merge pull request #101 from pchickey/pch/expose_env_module
Allow interpreter ProgramInstance to be created with arbitrary env module
2017-09-15 21:50:58 +03:00
Pat Hickey
f21bf553c3 interpreter: ProgramInstance exposes constructor for arbitrary env module 2017-09-14 18:42:59 -07:00
Alexey
debbaeee32 Update README.md 2017-09-11 15:14:01 +03:00
Nikolay Volf
e694214ec8 Merge pull request #95 from pchickey/decode_fuzz
Add cargo-fuzz testing for deserialize
2017-09-11 13:37:25 +03:00
Nikolay Volf
919b029c7c Update README.md 2017-09-09 16:39:58 +03:00
Pat Hickey
b318925325 deserialize fuzz target: add expect() explanations instad of unwrap() 2017-09-07 21:38:22 -07:00
Pat Hickey
3679f64b08 add fuzzing instructions to README 2017-09-07 13:06:50 -07:00
Pat Hickey
15690273cb fuzz: install wasm-opt from submodule automatically 2017-09-07 13:01:52 -07:00
Pat Hickey
840ed594b8 add gitignore in fuzz 2017-09-07 12:41:46 -07:00
Pat Hickey
06073b9e1c add decoder fuzzer 2017-09-07 12:41:46 -07:00
Svyatoslav Nikolsky
6f162b89ed Merge pull request #93 from NikVolf/i64-const-test
Fix VarInt32/64 decoding + edge cases test
2017-09-07 22:32:11 +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