Commit Graph

1532 Commits

Author SHA1 Message Date
Takeshi Yoneda
f2c0d764f9 Add the background section in README. (#35)
Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
2021-10-26 20:32:31 +09:00
Takeshi Yoneda
23df8dc412 refactor: introduce the concept of Engine (#34) 2021-10-22 17:16:11 +09:00
Takeshi Yoneda
f3b2f8ce89 Add call stack limits. (#33)
This commit completes the Wasm specification tests -- check the VM is guarded against the callstack exhaustion via assert_exhaustion tests.
2021-10-18 22:30:24 +09:00
Takeshi Yoneda
f9dad5e6df Make function calls direct jmps. (#32) 2021-10-17 14:14:58 +09:00
Takeshi Yoneda
695c8911a3 Add assert_unlinkable tests. (#31) 2021-10-15 14:01:08 +09:00
Takeshi Yoneda
69dbb2f8fb Add assert_invalid tests and harden against malicious binary. (#30) 2021-10-15 10:00:47 +09:00
Takeshi Yoneda
2e34bad267 Add assert_return.get tests. (#29) 2021-10-11 12:30:22 +09:00
Takeshi Yoneda
775c865b67 Add assert_trap tests. (#28) 2021-10-11 12:11:40 +09:00
Takeshi Yoneda
5d555254ac Refactor / Pass Wasm Specification test suites. (#27) 2021-10-07 21:35:04 +09:00
Gaboose
71556e50c4 wasi: add stdio and file system support (#22) 2021-04-03 08:09:38 +09:00
Takeshi Yoneda
fcd295b30f Merge pull request #21 from Gaboose/fix-table-index-bug
Fix table index bug
2021-03-11 22:30:01 +09:00
Gabrielius Mickevičius
6a20311ff0 bugfix: pointers in IndexSpace.Table
set them to &elem.Init[i] instead of the temporary variable
2021-03-11 11:41:15 +02:00
Gabrielius Mickevičius
b8e3efb751 add failing test to TestModule_buildTableIndexSpace 2021-03-11 11:39:55 +02:00
Gabrielius Mickevičius
5157040ce9 add name to resolveImport errors 2021-03-11 11:34:09 +02:00
Takeshi Yoneda
80e7451764 Merge pull request #14 from gballet/reamde-typos
README: fix a couple typos
2020-09-28 23:27:44 +09:00
Guillaume Ballet
bec8e28e7e README: fix a couple typos 2020-09-28 13:10:32 +02:00
Takeshi Yoneda
22ff530ffa Merge pull request #8 from ilmanzo/num_tests
add some tests for num instructions
2020-05-18 21:23:58 +09:00
Andrea Manzini
3ec4594b72 completed i32ne test 2020-05-18 14:20:14 +02:00
Andrea Manzini
1edf05d568 split each test case in own function but table-driven 2020-05-18 13:43:01 +02:00
Takeshi Yoneda
186de4f61e Merge pull request #9 from zhiqiangxu/RuntimeData
add RuntimeData field to VirtualMachine
2020-05-18 20:24:32 +09:00
徐志强
96d3054826 add comment 2020-05-18 19:14:08 +08:00
徐志强
f5e7f8cb6e add RuntimeData field to VirtualMachine 2020-05-18 15:51:03 +08:00
Andrea Manzini
a76b47b7ba refactor with table driven tests 2020-05-16 11:34:41 +02:00
Andrea Manzini
6bd36975e5 add some tests 2020-05-14 14:26:08 +02:00
mathetake
07ad79d1e3 tiny fix 2020-05-11 21:53:52 +09:00
Takeshi Yoneda
b513ba4a44 Merge pull request #5 from mathetake/unittests
add unit tests: hostfunc, vm.go
2020-05-09 18:08:12 +09:00
mathetake
779f8b5365 unittest: vm.go 2020-05-09 18:06:17 +09:00
mathetake
f768496bb4 unittest: hostfunc 2020-05-09 17:16:56 +09:00
mathetake
378c1a4dd7 refactor: hostfunc module builder 2020-05-09 14:04:58 +09:00
mathetake
05c0096c52 ci: setup .circleci/config.yml 2020-05-09 14:01:02 +09:00
mathetake
04903b990a remove debugging code 2020-05-05 23:21:00 +09:00
mathetake
52edbd17a5 initial commit 2020-05-05 21:04:23 +09:00