Syrus
db93d2693d
Make setjmp/longjmp more secure
2018-12-18 23:21:18 -08:00
Syrus
be265ddba7
Improved lint
2018-12-17 22:26:05 -08:00
Syrus
3f27610459
Refactored emscripten logic out of Instance
2018-12-17 22:23:49 -08: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
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
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
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
Brandon Fish
572115f140
Initial format using rustfmt
2018-12-15 00:46:11 -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
1057131bc7
Added description of offset_guard_size
2018-12-14 19:57:00 -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
Syrus
a2bcdb658f
Refactored libcalls
2018-12-13 12:49:30 -08:00
Syrus
9a028abfe5
Refactored emscripten usage to allow future ABIs
2018-12-10 21:19:39 -08:00
Syrus
6f179ed4d2
Fixed merge
2018-12-10 19:31:08 -08:00
Syrus
028d86a300
Provide instance options when instantiating. Make tests monothreaded
2018-12-10 19:19:46 -08:00
Syrus
44a745e4f5
Added start_instance function
2018-12-10 16:23:14 -08:00
Syrus
707f30757c
Added probestack to LibCall
2018-12-10 16:22:56 -08:00
Brandon Fish
e7c4e25e77
Fix clippy warnings returning the result of a let binding from a block
2018-12-09 01:13:47 -06:00
Brandon Fish
a9d95b42c5
Fix unneeded return statement
2018-12-08 00:27:36 -06:00
Brandon Fish
704556e45e
Fix redundant_field_names
2018-12-08 00:16:16 -06:00
Lachlan Sneff
0e024aa722
Fix crashing cli args
2018-12-06 22:42:16 -05:00
Lachlan Sneff
28a668f38c
Stack allocate arguments
2018-12-06 15:21:58 -05:00
Steve Akinyemi
5b8e4ed4a6
Fix argv allocation
2018-12-06 16:20:02 +01:00
Steve Akinyemi
2b3c87e80c
Add support for argc/argv
2018-12-06 12:51:09 +01:00
Syrus Akbary
fbc2fc9c50
Make mock func calls non printed in releases
2018-12-05 23:53:41 -08:00
Syrus Akbary
27b4015373
Make progressbar optional
2018-12-05 23:29:27 -08:00
Syrus Akbary
36f70005c9
Improved progress bar style
2018-12-05 23:23:06 -08:00
Lachlan Sneff
bb34f4718e
Add initial progress bar
2018-12-05 20:39:06 -05:00
Syrus Akbary
b5e93ecae8
Improved docs on emscripten memory instantiation
2018-11-29 22:46:52 -08:00
Syrus Akbary
948f519a04
Make tests happy again
2018-11-29 20:49:34 -08:00
Lachlan Sneff
c881f95eb6
Almost working
2018-11-29 15:49:04 -05:00
Lachlan Sneff
1db0306b8b
implmented mmap2
2018-11-29 00:11:36 -05:00
Syrus Akbary
80ddc759a1
Formatted files
2018-11-28 13:25:56 -08:00
Syrus Akbary
02477b6e5e
Added support for conditional emscripten
2018-11-28 13:25:17 -08:00
Syrus Akbary
4fb01c87ec
Improved import functions casting readability
2018-11-26 21:23:23 -08:00
Syrus Akbary
c2ede37a72
Improved formatting
2018-11-26 20:29:26 -08:00
Syrus Akbary
50f6ea3bd4
Fixed all Rust warnings
2018-11-26 20:28:13 -08:00
Syrus Akbary
cb7c7fd475
Added _gettimeofday to emscripten
2018-11-26 12:02:29 -08:00
Lachlan Sneff
76c9107e48
Added a few more syscalls
2018-11-26 01:17:56 -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
a44a3b0456
Improved trap catching with call_protected macro
2018-11-26 00:01:30 -05:00