Commit Graph

974 Commits

Author SHA1 Message Date
wenyongh
42dc2d65a1 Refine interpreter call native process and memory boundary check (#124) 2019-09-19 04:05:15 -05:00
wenyongh
6e99a37bf2 Refine wgl lib and refine wasm function index check (#122)
Refine wgl lib: remove module_inst parameter from widget functions
Refine wasm function check: move function index check from interpreter call_indirect to runtime instantiate
2019-09-16 14:49:17 +08:00
wenyongh
ff0267b7e6 Remove get_module_inst() and fix issue of call native (#120) 2019-09-11 15:56:47 +08:00
Josh Triplett
473f96525b Document the Contributor Covenant as our Code of Conduct. (#116)
See https://01.org/blogs/2018/intel-covenant-code
2019-09-10 16:29:50 +08:00
Weining
a770706cb6 Fix typo 'destory' and compile issue (#119)
* Optimize samples build process

* Samples: build 64 bit version by default

* Fix typo 'destory'

* Fix compile issue
2019-09-10 15:52:03 +08:00
wenyongh
26149021ff Add parameter module inst for native wrapper functions (#117)
And add asm code of em64/arm/mips version to call native wrapper functions;
Fix some issues of calling wrapper functions;
2019-09-10 10:23:46 +08:00
Wang Xin
2294f52e3a Update README.md (#114) 2019-09-09 20:51:40 +08:00
Wang Xin
c0a2cba5ce Merge branch 'master' into master 2019-09-09 07:42:30 +08:00
Wang Xin
fdba8adcaa Update release_ack.md 2019-09-07 14:34:03 +08:00
Wang Xin
efd809756a re-organized the readme (#111)
* Update README.md

* re-organize the readme

* more changes

* roadmap and releases

* Update README.md
2019-09-07 14:27:11 +08:00
Wang Xin
8af66fd738 Update README.md 2019-09-07 14:23:18 +08:00
Xin Wang
fd5eaa1a28 roadmap and releases 2019-09-07 14:16:50 +08:00
Xin Wang
2b915b9383 more changes 2019-09-07 13:23:52 +08:00
Xin Wang
d9540ebd16 re-organize the readme 2019-09-07 12:14:58 +08:00
Wang Xin
c633be998b Update README.md 2019-09-07 09:30:06 +08:00
Wang Xin
9b07113d77 Merge pull request #1 from intel/master
sync with master
2019-09-07 08:20:41 +08:00
Jonathan Dong
8deef78624 Add build configuration for Mac (#110)
* Add build configuration for Mac

This patch implements Mac build basically based on Linux platform
implementations and configurations.

The document to build it on Mac has been updated as well.

* Update wasm_application.h

* Update lib_export.h

Add comments for the functions.
2019-09-06 16:51:36 +08:00
wenyongh
4a14e54e86 Enhance security of libc strcpy/sprintf wrapper function (#108) 2019-08-29 14:31:15 +08:00
wenyongh
5257dd8a48 Use one libc wrapper copy for sgx and other platforms (#107)
And remove bh_printf macro for other platform header files
2019-08-28 15:19:52 +08:00
wenyongh
5c69543c54 Add Linux SGX support (#106) 2019-08-28 15:08:52 +08:00
wenyongh
c808aa2ebb Add more security checks for libc wrapper API's (#105) 2019-08-28 15:06:04 +08:00
wenyongh
92cbecbec8 Refine binary size and fix several minor issues (#104)
* Implement memory profiler, optimize memory usage, modify code indent

* Implement memory.grow and limit heap space base offset to 1G; modify iwasm build type to Release and 64 bit by default

* Add a new extension library: connection

* Fix bug of reading magic number and version in big endian platform

* Re-org platform APIs: move most platform APIs from iwasm to shared-lib

* Enhance wasm loader to fix some security issues

* Fix issue about illegal load of EXC_RETURN into PC on stm32 board

* Updates that let a restricted version of the interpreter run in SGX

* Enable native/app address validation and conversion for wasm app

* Remove wasm_application_exectue_* APIs from wasm_export.h which makes confused

* Refine binary size and fix several minor issues

Optimize interpreter LOAD/STORE opcodes to decrease the binary size
Fix issues when using iwasm library: _bh_log undefined, bh_memory.h not found
Remove unused _stdin/_stdout/_stderr global variables resolve in libc wrapper
Add macros of global heap size, stack size, heap size for Zephyr main.c
Clear compile warning of wasm_application.c
2019-08-27 14:09:23 +08:00
wenyongh
de81b95ab8 Enable native/app address validation and conversion for wasm app (#102)
Enable setting external memory space for wasm app, the feature is disabled by default;
Remove wasm_application_exectue_* APIs from wasm_export.h which makes confused.
2019-08-21 16:39:50 +08:00
wenyongh
9ed6d6af0a Fix issue about illegal load of EXC_RETURN into PC on stm32 board (#98) 2019-08-14 16:14:44 +08:00
luhanzhl
2f10027447 add iot app store demo (#96) 2019-08-14 10:37:39 +08:00
Jonathan Beri
51ac31eaa1 Initial Dockerfile (#97)
* Initial Dockerfile

Dockerfile supports clang-8 and adds `iwasm` to `bin`.

* Updated README with Docker instructions

Added to Platform and app building section how to use the docker file to build the core and compile an app with clang.
2019-08-14 10:34:36 +08:00
wenyongh
3f15fb3424 Enhance wasm loader to fix some security issues (#91)
* Implement memory profiler, optimize memory usage, modify code indent

* Implement memory.grow and limit heap space base offset to 1G; modify iwasm build type to Release and 64 bit by default

* Add a new extension library: connection

* Fix bug of reading magic number and version in big endian platform

* Re-org platform APIs: move most platform APIs from iwasm to shared-lib

* Enhance wasm loader to fix some security issues
2019-08-08 16:53:56 +08:00
Weining
3b19306869 Optimize samples build process and build 64 bit binaries by default (#90)
* Optimize samples build process

* Samples: build 64 bit version by default
2019-08-02 14:00:35 +08:00
Weining
09d5149081 Fix compile issue (#88) 2019-08-02 07:13:16 +08:00
Weining
9aa9cbde77 Implement 2D graphic API (#87)
* Implement 2D graphic library based on LittlevGL

* Add lvgl license file
2019-08-01 16:57:54 +08:00
wenyongh
1db5a2f697 Re-org platform APIs: move most platform APIs of iwasm to shared-lib (#45) 2019-07-22 11:32:51 +08:00
Yiting Wang
08ebc6c773 Add support for VxWorks (#43)
This adds iwasm support for VxWorks 7.
2019-07-10 16:01:43 +08:00
wenyongh
5b0c8fa0ba Fix bug of reading magic number and version in big endian platform (#41) 2019-06-13 22:29:08 -05:00
wenyongh
7f1e024fce Add a new extension library: connection (#39) 2019-06-10 21:52:15 -05:00
Andrew Brown
69d62f573a Add Fedora dependency installation instructions (#38) 2019-06-08 05:37:44 -05:00
aaltonenzhang
77be251978 add guide to build hello world sample using clang-8 in README. (#37) 2019-06-04 10:34:46 +08:00
wenyongh
504268b297 Implement memory.grow and limit heap space base offset to 1G (#36)
* Implement memory profiler, optimize memory usage, modify code indent

* Implement memory.grow and limit heap space base offset to 1G; modify iwasm build type to Release and 64 bit by default
2019-05-31 01:21:39 -05:00
wenyongh
ff7cbdd2fb Implement memory profiler, optimize memory usage, modify code indent (#35) 2019-05-23 05:03:31 -05:00
zhujinzhou
9136abfe31 add support for AliOS Things (#34)
* Add support of AliOS-Things

* update the README.md format

* update the README.md #1

* update the README.md #2
2019-05-22 20:33:39 -07:00
litian-int
cec74b0709 update README of littlevgl sample (#31) 2019-05-20 02:01:04 -05:00
wenyongh
77073162b4 Merge pull request #30 from Weining2019/master
Update the README.md
2019-05-20 01:38:45 -05:00
wenyongh
e4c6b53d50 Update README.md 2019-05-20 14:37:55 +08:00
Weining Lu
e411963a86 Update README 2019-05-20 14:26:28 +08:00
Weining
ab17c8e06d Merge pull request #8 from intel/master
sync
2019-05-20 14:02:01 +08:00
Wang Xin
6d1a0ab76d Update README.md 2019-05-18 08:39:12 -07:00
wenyongh
271253f940 Merge pull request #28 from lucshi/patch-2
Update README.md
2019-05-17 07:59:27 -05:00
wenyongh
4fb47e9005 Update README.md 2019-05-17 20:58:57 +08:00
lucshi
b11f7a26d9 Update README.md 2019-05-17 20:43:28 +08:00
wenyongh
608be44626 Merge pull request #27 from lucshi/patch-1
Update README.md
2019-05-17 06:24:55 -05:00
lucshi
55bce984aa Update README.md 2019-05-17 19:14:16 +08:00