Commit Graph

166 Commits

Author SHA1 Message Date
wenyongh
3969ee5143
Merge pull request #34 from intel/master
Remove get_module_inst() and fix issue of call native (#120)
2019-09-11 15:57:20 +08:00
wenyongh
307b54cc59
Remove get_module_inst() and fix issue of call native (#120) 2019-09-11 15:56:47 +08:00
wenyongh
46fa0097bb Remove get_module_inst() and fix issue of call native 2019-09-11 15:54:44 +08:00
wenyongh
ccf65e6b3c
Merge pull request #33 from intel/master
Document the Contributor Covenant as our Code of Conduct. (#116)
2019-09-11 15:31:20 +08:00
Josh Triplett
2902722708 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
wenyongh
4bbf343944
Merge pull request #32 from intel/master
Fix typo 'destory' and compile issue (#119)
2019-09-10 15:53:39 +08:00
Weining
030dd4ad21 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
8ece29105c
Merge pull request #31 from intel/master
Add parameter module inst for native wrapper functions (#117)
2019-09-10 10:40:38 +08:00
wenyongh
fb9f5f670d
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
wenyongh
64d75fa1b0 Fix issue of call native for x86_64/arm/mips, add module inst parameter for native wrapper functions 2019-09-10 09:44:28 +08:00
wenyongh
1b2dbeb0fd
Merge pull request #30 from intel/master
Sync up with master repo
2019-09-10 08:54:27 +08:00
Wang Xin
bc762fe9e2
Update README.md (#114) 2019-09-09 20:51:40 +08:00
Wang Xin
39d04cae41
Merge branch 'master' into master 2019-09-09 07:42:30 +08:00
wenyongh
95dbaac2a7
Merge pull request #29 from intel/master
Sync up with master repo
2019-09-08 13:27:05 +08:00
Wang Xin
a522e985f3
Update release_ack.md 2019-09-07 14:34:03 +08:00
Wang Xin
2f71a92ca3
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
5872a700d7
Update README.md 2019-09-07 14:23:18 +08:00
Xin Wang
1eb0febc54 roadmap and releases 2019-09-07 14:16:50 +08:00
Xin Wang
f022df3160 more changes 2019-09-07 13:23:52 +08:00
Xin Wang
cbd046000d re-organize the readme 2019-09-07 12:14:58 +08:00
Wang Xin
6d2bd54d20
Update README.md 2019-09-07 09:30:06 +08:00
Wang Xin
aee6103db6
Merge pull request #1 from intel/master
sync with master
2019-09-07 08:20:41 +08:00
wenyongh
1ac087c5fd
Merge pull request #28 from intel/master
Sync up with master repo
2019-09-06 16:54:25 +08:00
Jonathan Dong
af98e9afc3 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
ebfe822720
Enhance security of libc strcpy/sprintf wrapper function (#108) 2019-08-29 14:31:15 +08:00
wenyongh
cfd2c2d7a1 Enhance security of libc strcpy/sprintf wrapper function 2019-08-29 14:28:45 +08:00
wenyongh
2f766abd8a
Merge pull request #27 from intel/master
Use one libc wrapper copy for sgx and other platforms (#107)
2019-08-28 15:20:38 +08:00
wenyongh
1806432841
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
cdaa0deed8 Use one libc wrapper copy for sgx and other platforms; remove bh_printf macro for other platform header files 2019-08-28 15:16:59 +08:00
wenyongh
34676daf31
Merge pull request #26 from intel/master
Add Linux SGX support (#106)
2019-08-28 15:09:41 +08:00
wenyongh
907df087bf
Add Linux SGX support (#106) 2019-08-28 15:08:52 +08:00
wenyongh
4c284adcba
Merge pull request #25 from intel/master
Add more security checks for libc wrapper API's (#105)
2019-08-28 15:06:58 +08:00
wenyongh
e8011b141f
Add more security checks for libc wrapper API's (#105) 2019-08-28 15:06:04 +08:00
wenyongh
ad5f4fc071 Add more strict security checks for libc wrapper API's 2019-08-28 13:52:37 +08:00
wenyongh
76ed0fcd83
Merge pull request #24 from intel/master
Refine binary size and fix several minor issues (#104)
2019-08-27 14:10:14 +08:00
wenyongh
7863f37582
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
5ed0b0c500
Merge pull request #23 from intel/master
Enable native/app address validation and conversion for wasm app (#102)
2019-08-27 14:06:59 +08:00
wenyongh
49429b11d9 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 13:51:40 +08:00
wenyongh
b7c963a9bf
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
6dc3e98936 Remove wasm_application_exectue_* APIs from wasm_export.h which makes confused 2019-08-21 16:33:58 +08:00
wenyongh
7993bc1f7c Enable native/app address validation and conversion for wasm app 2019-08-21 16:17:26 +08:00
wenyongh
e119204367 Updates that let a restricted version of the interpreter run in SGX 2019-08-19 15:53:02 +08:00
wenyongh
ca601f595c
Merge pull request #22 from intel/master
Fix issue about illegal load of EXC_RETURN into PC on stm32 board (#98)
2019-08-14 16:16:50 +08:00
wenyongh
955f439be5
Fix issue about illegal load of EXC_RETURN into PC on stm32 board (#98) 2019-08-14 16:14:44 +08:00
wenyongh
6a318c4d33 Fix issue about illegal load of EXC_RETURN into PC on stm32 board 2019-08-14 16:12:04 +08:00
wenyongh
7a08c3dd31
Merge pull request #21 from intel/master
Sync up with main repo
2019-08-14 12:13:06 +08:00
luhanzhl
e581f6f4c9 add iot app store demo (#96) 2019-08-14 10:37:39 +08:00
Jonathan Beri
c842191e6a 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
311ce9a8c5
Merge pull request #20 from intel/master
Enhance wasm loader to fix some security issues (#91)
2019-08-08 16:55:43 +08:00
wenyongh
c47baf221f
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