6a3b9af597
Initial sketch
2017-11-25 22:28:15 +03:00
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
39be2717c9
removed 'AbsenceMismatch' test
2017-09-04 12:25:23 +03:00
a85162dcd1
added memory/table import limits validation
2017-09-04 12:00:01 +03:00
41e7ee732f
native_env_function_own_memory
2017-08-03 11:25:44 +03:00
7deee2c46b
CustomUserError -> UserError
2017-08-01 16:15:08 +03:00
9437b7bdfc
merge 2 error enums
2017-08-01 14:44:33 +03:00
a02fdf5836
return custom user errors from native functions
2017-08-01 13:16:25 +03:00
8eee595e77
native globals
2017-07-31 11:58:24 +03:00
2f73f02831
instantiate env module
2017-07-25 15:26:31 +03:00
a5da7d604b
global import breaks with Function("missing exports with name STACKTOP")
2017-07-25 14:31:17 +03:00
d096e04052
assert global value persistence
2017-07-11 19:12:01 +03:00
7195b97095
fixed native functions argument order
2017-06-26 17:32:18 +03:00
4b3f67e3cc
function_type returns type reference
2017-06-26 11:54:34 +03:00
8209ff7d6d
use ModuleInstance methods for validation
2017-06-23 10:39:31 +03:00
4b61e18929
plain instruction set draft
2017-06-22 17:52:05 +03:00
4ad3808e20
check export type in env_native
2017-06-21 09:23:20 +03:00
9949706e7c
fixed shr && shl in dev configuration
2017-06-19 13:55:53 +03:00
f2ee624cea
static variants of passed functions
2017-06-14 17:07:22 +03:00
2ce12d5a70
if_else_with_return_type_validation
2017-06-14 14:09:00 +03:00
0ee2826943
another tests added
2017-06-13 12:01:59 +03:00
f0ecdc5af2
instructions validator
2017-06-07 14:48:02 +03:00
a0bfa322c6
UserFunctionExecutor
2017-05-19 09:36:50 +03:00
977df55323
NativeModuleInstance
2017-05-18 15:08:55 +03:00
fa86543fbb
module reference in user functions closures
2017-05-15 19:03:49 +03:00
429e54d928
another extension of user functions tests
2017-05-15 16:15:05 +03:00
2063bed2bd
exptended test for user functions
2017-05-15 15:57:46 +03:00
b7ff4d92d4
simple user function
2017-05-15 15:40:08 +03:00
53659c8b35
interpretter unhappy test
2017-05-12 19:49:51 +03:00
65b09ceba1
fixed tests compilation
2017-05-04 19:54:51 +03:00
cc3abac681
global_get_set
2017-05-03 11:06:26 +03:00