Commit Graph

110 Commits

Author SHA1 Message Date
wenyongh
a55acdcc25
Update lib_export.h 2019-09-06 16:42:13 +08:00
wenyongh
03aab545c6
Update wasm_application.h
Add comments for the functions.
2019-09-06 16:28:34 +08:00
simu.dy
2c91c28c51 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.
2019-09-06 15:12:05 +08:00
wenyongh
ebfe822720
Enhance security of libc strcpy/sprintf wrapper function (#108) 2019-08-29 14:31:15 +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
907df087bf
Add Linux SGX support (#106) 2019-08-28 15:08:52 +08:00
wenyongh
e8011b141f
Add more security checks for libc wrapper API's (#105) 2019-08-28 15:06:04 +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
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
955f439be5
Fix issue about illegal load of EXC_RETURN into PC on stm32 board (#98) 2019-08-14 16:14:44 +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
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
Weining
b0a1acb577 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
3512a0a63f Fix compile issue (#88) 2019-08-02 07:13:16 +08:00
Weining
6a86893971 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
9a02c49d7c
Re-org platform APIs: move most platform APIs of iwasm to shared-lib (#45) 2019-07-22 11:32:51 +08:00
Yiting Wang
eb043ff598 Add support for VxWorks (#43)
This adds iwasm support for VxWorks 7.
2019-07-10 16:01:43 +08:00
wenyongh
ccef8c09cb
Fix bug of reading magic number and version in big endian platform (#41) 2019-06-13 22:29:08 -05:00
wenyongh
cd77f70370
Add a new extension library: connection (#39) 2019-06-10 21:52:15 -05:00
Andrew Brown
20768d6b8e Add Fedora dependency installation instructions (#38) 2019-06-08 05:37:44 -05:00
aaltonenzhang
4456ff89d8 add guide to build hello world sample using clang-8 in README. (#37) 2019-06-04 10:34:46 +08:00
wenyongh
25eed9cc59
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
985ab77c44
Implement memory profiler, optimize memory usage, modify code indent (#35) 2019-05-23 05:03:31 -05:00
zhujinzhou
2138d9b428 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
a66f18ec31 update README of littlevgl sample (#31) 2019-05-20 02:01:04 -05:00
wenyongh
ff49e67943
Merge pull request #30 from Weining2019/master
Update the README.md
2019-05-20 01:38:45 -05:00
wenyongh
5ab2a7b8ee
Update README.md 2019-05-20 14:37:55 +08:00
Weining Lu
f64b753484 Update README 2019-05-20 14:26:28 +08:00
Weining
b2f9063209
Merge pull request #8 from intel/master
sync
2019-05-20 14:02:01 +08:00
Wang Xin
9da47ed84c
Update README.md 2019-05-18 08:39:12 -07:00
wenyongh
67f0bd5c44
Merge pull request #28 from lucshi/patch-2
Update README.md
2019-05-17 07:59:27 -05:00
wenyongh
33c6b12f88
Update README.md 2019-05-17 20:58:57 +08:00
lucshi
13111221ca
Update README.md 2019-05-17 20:43:28 +08:00
wenyongh
15d19ea0c5
Merge pull request #27 from lucshi/patch-1
Update README.md
2019-05-17 06:24:55 -05:00
lucshi
88963e74c9
Update README.md 2019-05-17 19:14:16 +08:00
Weining
eead4f6caa
Merge pull request #7 from intel/master
sync
2019-05-17 18:15:58 +08:00
wenyongh
aa2c9045a2
Merge pull request #26 from wenyongh/master
Fix minor compile warning
2019-05-17 05:15:24 -05:00
wenyongh
f5b61c6c41 Fix compile warning 2019-05-17 18:14:13 +08:00
wenyongh
f11a2b0daf
Merge pull request #6 from intel/master
Merge pull request #25 from wenyongh/master
2019-05-17 05:06:02 -05:00
Weining
8deb148a65
Merge pull request #6 from intel/master
sync
2019-05-17 18:04:49 +08:00
wenyongh
28377a00e8
Merge pull request #25 from wenyongh/master
Fix some compile errors
2019-05-17 05:03:50 -05:00
Weining
e450e60413
Merge pull request #5 from intel/master
sync
2019-05-17 18:02:09 +08:00
wenyongh
e7da4d42f7 Fix some compile errors 2019-05-17 18:01:35 +08:00
wenyongh
47c4505fec
Merge pull request #5 from intel/master
Sync up with from main repo.
2019-05-17 04:36:30 -05:00
wenyongh
6a6f195990
Merge pull request #24 from offercomes/patch-1
Update README.md
2019-05-17 04:34:22 -05:00
offercomes
f43032cecc
Update README.md
Fixed a picture showing up problem.
2019-05-17 17:30:32 +08:00
Weining
8cc885fd85
Merge pull request #4 from intel/master
sync upstream
2019-05-17 17:27:15 +08:00
wenyongh
726ba1dc25
Merge pull request #23 from wenyongh/master
Import app manager, samples and test-tools, and re-org directories and files
2019-05-17 04:19:50 -05:00
wenyongh
1c89072d99 Import app manager, samples and test-tools 2019-05-17 17:15:25 +08:00