Commit Graph

402 Commits

Author SHA1 Message Date
Lachlan Sneff
ec9e83eca6 Add a few more syscalls 2018-11-26 16:07:30 -05:00
Steve Akinyemi
b1ba24e99d Add _localtimeand _time functions 2018-11-26 22:01:15 +01:00
Syrus Akbary
5907bcc0f4 Added emscripten syscall20 implementation 2018-11-26 12:48:39 -08:00
Syrus Akbary
5911ac58c0 Added _clock_gettime emscripten implementation 2018-11-26 12:28:20 -08:00
Syrus Akbary
cb7c7fd475 Added _gettimeofday to emscripten 2018-11-26 12:02:29 -08:00
Syrus Akbary
444d85f9c9 Added debug release 2018-11-26 11:47:33 -08:00
Syrus Akbary
057e1ead18 Mock all the functions
Based on the suggestion from @lachlansneff
2018-11-26 11:16:09 -08:00
Lachlan Sneff
76c9107e48 Added a few more syscalls 2018-11-26 01:17:56 -05:00
Syrus Akbary
f186ed8534 Added self-update command 2018-11-25 21:31:32 -08:00
Syrus Akbary
5a81c501be
Merge branch 'master' into feature/compile-and-run-nginx-wasm 2018-11-25 21:28:20 -08:00
Syrus Akbary
bb91006158
Merge pull request #30 from losfair/sa-onstack
Recover properly when a stack overflow occurs in user code.
2018-11-25 21:27:36 -08:00
losfair
dad50f6f2c Add the SA_ONSTACK flag to SigAction so that stack overflow doesn't prevent unwinding. 2018-11-26 13:13:52 +08:00
Lachlan Sneff
02182909c4
Merge branch 'master' into feature/compile-and-run-nginx-wasm 2018-11-26 00:10:17 -05:00
Lachlan Sneff
c4b2e87c19 Finish merging 2018-11-26 00:08:33 -05:00
Lachlan Sneff
91265cb91e Merge master into feature/compile-and-run-nginx-wasm 2018-11-26 00:06:51 -05:00
Lachlan Sneff
a8b62ae8a5 Hack together enough emscripten stack stuff to make it happy 2018-11-26 00:06:50 -05:00
Steve Akinyemi
ecc8199855 Remove failing impl 2018-11-26 00:05:36 -05:00
Steve Akinyemi
399f72df94 Add some syscalls 2018-11-26 00:05:36 -05:00
Lachlan Sneff
75ef87824e Segfault-based memory bounds-checking. (#29)
* Mostly working

* Improve CircleCI releases

* Recover safely from WebAssembly-generated traps

* Add notes about async signal safety

* Improved trap catching with call_protected macro

* Improved test assert_trap code using call_protected macro

* Mostly working
2018-11-26 00:02:59 -05:00
Syrus Akbary
5feda6b524 Improved test assert_trap code using call_protected macro 2018-11-26 00:01:30 -05:00
Syrus Akbary
a44a3b0456 Improved trap catching with call_protected macro 2018-11-26 00:01:30 -05:00
losfair
6d09fab498 Add notes about async signal safety 2018-11-26 00:01:30 -05:00
losfair
227a3ee6d6 Recover safely from WebAssembly-generated traps 2018-11-26 00:01:30 -05:00
Lachlan Sneff
4015fb6193 Hack together enough emscripten stack stuff to make it happy 2018-11-25 23:56:21 -05:00
Lachlan Sneff
399d253bc1 Segfault-based memory bounds-checking. (#29)
* Mostly working

* Improve CircleCI releases

* Recover safely from WebAssembly-generated traps

* Add notes about async signal safety

* Improved trap catching with call_protected macro

* Improved test assert_trap code using call_protected macro

* Mostly working
2018-11-25 10:51:21 -08:00
Syrus Akbary
c62e9455e1
Merge pull request #28 from wasmerio/trap-unwind
Trap unwind
2018-11-24 11:11:32 -08:00
Syrus Akbary
6b75580749 Improved test assert_trap code using call_protected macro 2018-11-24 10:52:17 -08:00
Syrus Akbary
e258875d4b Improved trap catching with call_protected macro 2018-11-24 10:50:48 -08:00
Steve Akinyemi
88235eab37 Remove failing impl 2018-11-24 18:38:51 +01:00
Steve Akinyemi
6a72d942fd Update to use new varargs impl 2018-11-24 18:31:38 +01:00
Steve Akinyemi
c639bf850e Add some syscalls 2018-11-24 18:07:45 +01:00
Steve Akinyemi
d351ac0136 Remove old emscripten examples 2018-11-24 18:07:08 +01:00
Steve Akinyemi
2486ac96a3 Add existing syscalls impl 2018-11-24 18:07:08 +01:00
Steve Akinyemi
916b266bb3 Add nginx.wat 2018-11-24 18:06:30 +01:00
Steve Akinyemi
44429aae74 Add legend to emscripten readme 2018-11-24 18:06:30 +01:00
Steve Akinyemi
c7ac71b0e4 Reafactor varargs macro 2018-11-24 18:06:30 +01:00
losfair
a316253b94 Add notes about async signal safety 2018-11-24 22:25:32 +08:00
losfair
5de9f0f7b4 Recover safely from WebAssembly-generated traps 2018-11-24 19:40:29 +08:00
Syrus Akbary
453b7c9f12
Merge pull request #25 from wasmerio/improve-circleci-releases
Improve CircleCI releases
2018-11-23 10:38:22 -08:00
Syrus Akbary
21c74db3df Improve CircleCI releases 2018-11-23 10:35:41 -08:00
Syrus Akbary
3dc911989f
Merge pull request #24 from wasmerio/feature/type-safety
Add VarArgs newtype to simplify emscripten varargs.
2018-11-23 07:28:11 -08:00
Lachlan Sneff
6121370656 Fix debug macro warnings 2018-11-23 00:13:20 -05:00
Lachlan Sneff
587fb92de6 Add VarArgs type 2018-11-23 00:13:01 -05:00
Syrus Akbary
0d23a173c4
Merge pull request #23 from 0xflotus/patch-1
fixed WebAssembly
2018-11-22 19:58:09 -08:00
0xflotus
4ad8de5dfa
fixed WebAssembly 2018-11-23 00:52:57 +01:00
Syrus Akbary
2d69af9669 Updated cranelift submodule link to allow anonymous pulling 2018-11-22 10:45:01 -08:00
Syrus Akbary
3ea37dcc59 Updated references from wafoundation to wasmerio 2018-11-21 22:19:14 -08:00
Syrus Akbary
8d4594bb7f Updated README 2018-11-21 22:12:34 -08:00
Syrus Akbary
ad562ddc35 Remove debug statements on release 2018-11-21 21:22:27 -08:00
Syrus Akbary
cf22c6f1b1
Merge pull request #20 from WAFoundation/feature/add-emscripten-compatible-apis
Add emscripten compatible apis
2018-11-21 21:11:11 -08:00