-
Notifications
You must be signed in to change notification settings - Fork 0
Layout of Linear Memory
zliang7 edited this page Jan 19, 2016
·
2 revisions
+---------------------
| Stack
+---------------------
| Runtime support
+---------------------
| Data of module 0
+---------------------
| Data of module 1
+---------------------
| Data of module n
+---------------------
| Heap
+---------------------
Stack:
- Optional
- 4KB aligned
- On the top of linear memory
- Catpure overflow.
- Size must be determined in link time.
Runtime support:
- Magic number
- Information of segments
- Init array
- arguments and environment
- ......