Commit Graph

3802 Commits

Author SHA1 Message Date
Syrus
db93d2693d Make setjmp/longjmp more secure 2018-12-18 23:21:18 -08:00
Syrus Akbary
e278bd4a29
Merge branch 'master' into feature/run-lua-wasm 2018-12-18 17:33:37 -08:00
Syrus
88ee0d736e Trying to fix linux compilation error 2018-12-18 17:31:30 -08:00
Lachlan Sneff
5b920b7953 More backing work 2018-12-18 20:28:15 -05:00
Syrus
116ed86668 Improved formatting 2018-12-18 17:23:45 -08:00
Syrus
c315cc43a3 Added lua.wasm example 2018-12-18 17:22:02 -08:00
Syrus
87c3c037e4 Added emscripten jmp instructions 2018-12-18 17:21:12 -08:00
Syrus
903e3223dd Fix formatting 2018-12-18 09:43:59 -08:00
Syrus
2d5a1fd170 Merge branch 'master' into feature/run-lua-wasm
# Conflicts:
#	src/apis/emscripten/env.rs
#	src/apis/emscripten/mod.rs
#	src/apis/emscripten/process.rs
#	src/apis/emscripten/syscalls.rs
2018-12-18 09:43:36 -08:00
Syrus Akbary
7dcb540b99
Merge pull request #68 from wasmerio/feature/emscripten-refactor
Refactored emscripten logic out of Instance
2018-12-18 09:32:45 -08:00
Steve Akinyemi
ef205fb60f Fix segfault 2018-12-18 14:00:18 +01:00
Syrus
be265ddba7 Improved lint 2018-12-17 22:26:05 -08:00
Syrus
bb298f1890 Merge branch 'master' into feature/emscripten-refactor 2018-12-17 22:24:44 -08:00
Syrus
3f27610459 Refactored emscripten logic out of Instance 2018-12-17 22:23:49 -08:00
Syrus Akbary
cf2f9184bb
Merge pull request #67 from wasmerio/feature/add-debug-argument-info
Add debug argument info
2018-12-17 21:57:04 -08:00
Syrus Akbary
310deb9780
Merge pull request #66 from wasmerio/feature/remove-cranestation-submodule
Remove cranestation submodule
2018-12-17 21:56:29 -08:00
Brandon Fish
fd94c2df86 Add more argument info to debug messages 2018-12-17 23:54:00 -06:00
Brandon Fish
1e3063f58e Update CI and README for submodule removal 2018-12-17 23:13:23 -06:00
Brandon Fish
5d6255ccd2 Remove cranestation submodule 2018-12-17 23:12:55 -06:00
Lachlan Sneff
e4dab88efd Redesign of vm data 2018-12-17 22:43:26 -05:00
Brandon Fish
ac87344013 Add emscripten nullfunc_v (#65) 2018-12-17 22:21:15 -05:00
Lachlan Sneff
0847c950a4 Merge branch 'master' into feature/vm_refactor 2018-12-17 21:51:03 -05:00
Lachlan Sneff
93f8cdfc81
Update cranelift to 0.26.0. (#64)
* Initial additional modules

* Update to cranelift 0.26.0

* Fixed formatting
2018-12-17 21:30:27 -05:00
Lachlan Sneff
fafb904875 Initial additional modules 2018-12-17 18:57:44 -05:00
Steve Akinyemi
a2bd8d170f Remove debug prints 2018-12-17 09:15:08 +01:00
Syrus Akbary
6362bc349c
Merge pull request #62 from xmclark/upgrade-wabt-rs
upgrade wabt
2018-12-16 14:17:16 -08:00
Syrus Akbary
9c3e075978
Merge pull request #63 from bjfish/fix-printf-for-nan-inf
Add Emscripten globals for Infinity and NaN to fix printf
2018-12-16 14:16:25 -08:00
Brandon Fish
de85ab943a Add Emscripten globals for Infinity and NaN to fix printf for these values 2018-12-16 14:00:43 -06:00
Mackenzie Clark
755f3ae690 upgrade to wabt-rs 0.7.2
includes a fix for windows builds, this brings wamer one step closer to windows support
2018-12-16 11:27:55 -08:00
Syrus Akbary
ae210253b6
Merge pull request #61 from bjfish/debug-message-for-mocked-missing-tables-globals
Add debug messages for mocked missing globals and tables
2018-12-16 11:20:55 -08:00
Syrus Akbary
1f3aec4029
Merge pull request #60 from wasmerio/fix/emscripten-main-zero-params
Added support for 0 or 2 params in main emscripten function
2018-12-16 10:17:41 -08:00
Brandon Fish
4b33b101ed Add a debug messages for mocked missing globals and tables 2018-12-16 10:43:35 -06:00
Syrus
982db0281c Added support for 0 or 2 params in main emscripten function 2018-12-15 22:51:10 -08:00
Syrus Akbary
ff45aea0ea [WIP] Improved memory handling (#56)
* Improved memory handling

* Fix memory accessibility

* Fix formatting
2018-12-15 13:30:53 -05:00
Syrus Akbary
64eff86395
Merge pull request #57 from bjfish/fix-additional-clippy-warnings
Fix additional clippy warnings
2018-12-14 23:41:18 -08:00
Brandon Fish
c6957a6287 Run cargo fmt to clean up 2018-12-15 01:17:55 -06:00
Syrus Akbary
914b20d01f
Merge branch 'master' into fix-additional-clippy-warnings 2018-12-14 23:06:45 -08:00
Syrus Akbary
ec83253a64
Merge pull request #58 from bjfish/configure-cargo-fmt
Configure cargo fmt
2018-12-14 23:04:26 -08:00
Brandon Fish
572115f140 Initial format using rustfmt 2018-12-15 00:46:11 -06:00
Brandon Fish
f651a47007 Add rustfmt make command and CI configure 2018-12-15 00:45:03 -06:00
Brandon Fish
9971c21d74 Fix clippy error equal expressions as operands to - 2018-12-15 00:11:32 -06:00
Brandon Fish
aa7fc05ea1 Fix clippy warning length comparison to one 2018-12-15 00:10:07 -06:00
Brandon Fish
d405d8de41 Fix clippy warnings unneeded returns 2018-12-15 00:07:14 -06:00
Brandon Fish
5b7f0f10dc Fix clippy redundant field names in struct initialization 2018-12-15 00:06:47 -06:00
Syrus Akbary
f51362be66
Merge pull request #54 from wasmerio/feature/runtime-upgrade
Wasmer runtime upgrade - Phase 1 (libcalls & memory)
2018-12-14 20:15:11 -08:00
Syrus
9d3b76835c Merge branch 'feature/runtime-upgrade' of github.com:wasmerio/wasmer into feature/runtime-upgrade 2018-12-14 19:57:44 -08:00
Syrus
1057131bc7 Added description of offset_guard_size 2018-12-14 19:57:00 -08:00
Syrus Akbary
81fb2fbd0b
Merge branch 'master' into feature/runtime-upgrade 2018-12-14 17:41:03 -08:00
Syrus
7e78d3c661 Improved max size code 2018-12-14 17:40:29 -08:00
Syrus
fd5554c3bd Refactored memory usage to use impl-abstract mmap 2018-12-14 17:32:35 -08:00