Commit Graph

113 Commits

Author SHA1 Message Date
707f30757c Added probestack to LibCall 2018-12-10 16:22:56 -08:00
e7c4e25e77 Fix clippy warnings returning the result of a let binding from a block 2018-12-09 01:13:47 -06:00
a9d95b42c5 Fix unneeded return statement 2018-12-08 00:27:36 -06:00
0e024aa722 Fix crashing cli args 2018-12-06 22:42:16 -05:00
28a668f38c Stack allocate arguments 2018-12-06 15:21:58 -05:00
5b8e4ed4a6 Fix argv allocation 2018-12-06 16:20:02 +01:00
2b3c87e80c Add support for argc/argv 2018-12-06 12:51:09 +01:00
fbc2fc9c50 Make mock func calls non printed in releases 2018-12-05 23:53:41 -08:00
27b4015373 Make progressbar optional 2018-12-05 23:29:27 -08:00
36f70005c9 Improved progress bar style 2018-12-05 23:23:06 -08:00
bb34f4718e Add initial progress bar 2018-12-05 20:39:06 -05:00
b5e93ecae8 Improved docs on emscripten memory instantiation 2018-11-29 22:46:52 -08:00
948f519a04 Make tests happy again 2018-11-29 20:49:34 -08:00
1db0306b8b implmented mmap2 2018-11-29 00:11:36 -05:00
80ddc759a1 Formatted files 2018-11-28 13:25:56 -08:00
02477b6e5e Added support for conditional emscripten 2018-11-28 13:25:17 -08:00
4fb01c87ec Improved import functions casting readability 2018-11-26 21:23:23 -08:00
c2ede37a72 Improved formatting 2018-11-26 20:29:26 -08:00
50f6ea3bd4 Fixed all Rust warnings 2018-11-26 20:28:13 -08:00
cb7c7fd475 Added _gettimeofday to emscripten 2018-11-26 12:02:29 -08:00
76c9107e48 Added a few more syscalls 2018-11-26 01:17:56 -05:00
ecc8199855 Remove failing impl 2018-11-26 00:05:36 -05:00
399f72df94 Add some syscalls 2018-11-26 00:05:36 -05:00
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
a44a3b0456 Improved trap catching with call_protected macro 2018-11-26 00:01:30 -05:00
227a3ee6d6 Recover safely from WebAssembly-generated traps 2018-11-26 00:01:30 -05:00
4015fb6193 Hack together enough emscripten stack stuff to make it happy 2018-11-25 23:56:21 -05:00
88235eab37 Remove failing impl 2018-11-24 18:38:51 +01:00
c639bf850e Add some syscalls 2018-11-24 18:07:45 +01:00
38f045da3c run cargo fmt 2018-11-21 20:59:23 -08:00
ccdabd26b5 pypyjs.wasm is finally working 🎉 2018-11-21 20:58:32 -08:00
fca2eb3884 Merge branch 'master' into feature/add-emscripten-compatible-apis
# Conflicts:
#	Cargo.lock
#	cranelift
#	src/webassembly/instance.rs
2018-11-20 19:07:51 -08:00
f3833dc237 Merge branch 'master' into parallel-compilation
# Conflicts:
#	src/webassembly/instance.rs
2018-11-20 16:30:25 -08:00
771dae7feb Refactor api code and doc 2018-11-21 00:45:57 +01:00
3b878620cc Added support for mocking globals and tables by default 2018-11-19 13:09:16 -08:00
12dc70d497 Added support for global references 2018-11-19 10:27:55 -08:00
f2d2c9b9f8 Use rayon for easy parallel compilation 2018-11-18 23:51:56 -08:00
9680d586c3 Use iterator map for compilation 2018-11-18 22:12:22 -08:00
39e1f59311 Merge branch 'master' into features/global-value-offset 2018-11-18 21:05:55 -08:00
a7e1775255 Added mocking back into instance 2018-11-18 21:05:26 -08:00
60b1520808 Improved naming of Exportable to ImportableExportable 2018-11-18 20:23:01 -08:00
9f561db90b Added support for global value offsets
This commit depends on this PR landing on cranelift:
https://github.com/CraneStation/cranelift/pull/612
2018-11-18 20:22:18 -08:00
91875fef06 Merge branch 'master' into cranelift-upgrade
# Conflicts:
#	src/webassembly/module.rs
2018-11-18 13:09:34 -08:00
e7923d3b32 Add memory_grow.wast test file. 2018-11-17 22:13:59 +01:00
7977d09fc7 Merge branch 'master' into fix/table-import-memory-repr-rebased
# Conflicts:
#	.circleci/config.yml
#	install.sh
#	src/build_spectests.rs
#	src/linkers/emscripten/abort.rs
#	src/linkers/emscripten/mod.rs
#	src/linkers/mod.rs
#	src/main.rs
#	src/webassembly/instance.rs
#	src/webassembly/memory.rs
#	src/webassembly/mod.rs
#	src/webassembly/module.rs
2018-11-17 01:01:47 -08:00
e4ed4cc532 Improved instance & module data pointers location
# Conflicts:
#	src/webassembly/instance.rs
#	src/webassembly/module.rs
2018-11-17 00:42:31 -08:00
ac2d605472 Added Instance options, automatically mock missing imports
# Conflicts:
#	src/webassembly/instance.rs
#	src/webassembly/mod.rs
2018-11-17 00:37:45 -08:00
a96c106b17 Improved debug statements
Same commit as aba907cbc4 but without using the log debug macro (as causes fail)
2018-11-17 00:05:41 -08:00
df482667aa Fix table and memory import and improve memory storage 2018-11-16 16:55:49 +01:00
a9e46a02d3 Merge branch 'master' into cranelift-upgrade
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	src/webassembly/mod.rs
#	src/webassembly/module.rs
2018-11-15 19:40:45 -08:00