forked from runtimeverification/wasm-semantics
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
48c1c90
commit 89e69ef
Showing
14 changed files
with
479 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
(module $mymodule | ||
(type (;0;) (func)) | ||
(import "env" "managedSignalError" (func $managedSignalError (type 0))) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<generatedTop> | ||
<k> | ||
#module (... types: #type (... type: [ .ValTypes ] -> [ .ValTypes ] , metadata: ) .EmptyStmts , funcs: .EmptyStmts , tables: .EmptyStmts , mems: .EmptyStmts , globals: .EmptyStmts , elem: .EmptyStmts , data: .EmptyStmts , start: .EmptyStmts , importDefns: #import ( "env" , "managedSignalError" , #funcDesc (... id: , type: 0 ) ) .EmptyStmts , exports: .EmptyStmts , metadata: #meta (... id: , funcIds: .Map , filename: .String ) ) ~> .K | ||
</k> | ||
<wasm> | ||
<instrs> | ||
.K | ||
</instrs> | ||
<valstack> | ||
.ValStack | ||
</valstack> | ||
<curFrame> | ||
<locals> | ||
.List | ||
</locals> | ||
<curModIdx> | ||
.Int | ||
</curModIdx> | ||
</curFrame> | ||
<moduleRegistry> | ||
.Map | ||
</moduleRegistry> | ||
<moduleIds> | ||
.Map | ||
</moduleIds> | ||
<moduleInstances> | ||
.ModuleInstCellMap | ||
</moduleInstances> | ||
<nextModuleIdx> | ||
0 | ||
</nextModuleIdx> | ||
<mainStore> | ||
<funcs> | ||
.FuncDefCellMap | ||
</funcs> | ||
<nextFuncAddr> | ||
0 | ||
</nextFuncAddr> | ||
<tabs> | ||
.TabInstCellMap | ||
</tabs> | ||
<nextTabAddr> | ||
0 | ||
</nextTabAddr> | ||
<mems> | ||
.List | ||
</mems> | ||
<globals> | ||
.GlobalInstCellMap | ||
</globals> | ||
<nextGlobAddr> | ||
0 | ||
</nextGlobAddr> | ||
<elems> | ||
.ElemInstCellMap | ||
</elems> | ||
<nextElemAddr> | ||
0 | ||
</nextElemAddr> | ||
</mainStore> | ||
<deterministicMemoryGrowth> | ||
true | ||
</deterministicMemoryGrowth> | ||
</wasm> | ||
</generatedTop> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
(module $mymodule | ||
(import "env" "myGlobal" (global $myGlobal i32)) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<generatedTop> | ||
<k> | ||
#module (... types: .EmptyStmts , funcs: .EmptyStmts , tables: .EmptyStmts , mems: .EmptyStmts , globals: .EmptyStmts , elem: .EmptyStmts , data: .EmptyStmts , start: .EmptyStmts , importDefns: #import ( "env" , "myGlobal" , #globalDesc (... id: , type: const i32 ) ) .EmptyStmts , exports: .EmptyStmts , metadata: #meta (... id: , funcIds: .Map , filename: .String ) ) ~> .K | ||
</k> | ||
<wasm> | ||
<instrs> | ||
.K | ||
</instrs> | ||
<valstack> | ||
.ValStack | ||
</valstack> | ||
<curFrame> | ||
<locals> | ||
.List | ||
</locals> | ||
<curModIdx> | ||
.Int | ||
</curModIdx> | ||
</curFrame> | ||
<moduleRegistry> | ||
.Map | ||
</moduleRegistry> | ||
<moduleIds> | ||
.Map | ||
</moduleIds> | ||
<moduleInstances> | ||
.ModuleInstCellMap | ||
</moduleInstances> | ||
<nextModuleIdx> | ||
0 | ||
</nextModuleIdx> | ||
<mainStore> | ||
<funcs> | ||
.FuncDefCellMap | ||
</funcs> | ||
<nextFuncAddr> | ||
0 | ||
</nextFuncAddr> | ||
<tabs> | ||
.TabInstCellMap | ||
</tabs> | ||
<nextTabAddr> | ||
0 | ||
</nextTabAddr> | ||
<mems> | ||
.List | ||
</mems> | ||
<globals> | ||
.GlobalInstCellMap | ||
</globals> | ||
<nextGlobAddr> | ||
0 | ||
</nextGlobAddr> | ||
<elems> | ||
.ElemInstCellMap | ||
</elems> | ||
<nextElemAddr> | ||
0 | ||
</nextElemAddr> | ||
</mainStore> | ||
<deterministicMemoryGrowth> | ||
true | ||
</deterministicMemoryGrowth> | ||
</wasm> | ||
</generatedTop> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
(module $mymodule | ||
(import "env" "myGlobal" (global $myGlobal (mut i32))) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<generatedTop> | ||
<k> | ||
#module (... types: .EmptyStmts , funcs: .EmptyStmts , tables: .EmptyStmts , mems: .EmptyStmts , globals: .EmptyStmts , elem: .EmptyStmts , data: .EmptyStmts , start: .EmptyStmts , importDefns: #import ( "env" , "myGlobal" , #globalDesc (... id: , type: var i32 ) ) .EmptyStmts , exports: .EmptyStmts , metadata: #meta (... id: , funcIds: .Map , filename: .String ) ) ~> .K | ||
</k> | ||
<wasm> | ||
<instrs> | ||
.K | ||
</instrs> | ||
<valstack> | ||
.ValStack | ||
</valstack> | ||
<curFrame> | ||
<locals> | ||
.List | ||
</locals> | ||
<curModIdx> | ||
.Int | ||
</curModIdx> | ||
</curFrame> | ||
<moduleRegistry> | ||
.Map | ||
</moduleRegistry> | ||
<moduleIds> | ||
.Map | ||
</moduleIds> | ||
<moduleInstances> | ||
.ModuleInstCellMap | ||
</moduleInstances> | ||
<nextModuleIdx> | ||
0 | ||
</nextModuleIdx> | ||
<mainStore> | ||
<funcs> | ||
.FuncDefCellMap | ||
</funcs> | ||
<nextFuncAddr> | ||
0 | ||
</nextFuncAddr> | ||
<tabs> | ||
.TabInstCellMap | ||
</tabs> | ||
<nextTabAddr> | ||
0 | ||
</nextTabAddr> | ||
<mems> | ||
.List | ||
</mems> | ||
<globals> | ||
.GlobalInstCellMap | ||
</globals> | ||
<nextGlobAddr> | ||
0 | ||
</nextGlobAddr> | ||
<elems> | ||
.ElemInstCellMap | ||
</elems> | ||
<nextElemAddr> | ||
0 | ||
</nextElemAddr> | ||
</mainStore> | ||
<deterministicMemoryGrowth> | ||
true | ||
</deterministicMemoryGrowth> | ||
</wasm> | ||
</generatedTop> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
(module $mymodule | ||
(import "env" "myMem" (memory $myMem 10 20)) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<generatedTop> | ||
<k> | ||
#module (... types: .EmptyStmts , funcs: .EmptyStmts , tables: .EmptyStmts , mems: .EmptyStmts , globals: .EmptyStmts , elem: .EmptyStmts , data: .EmptyStmts , start: .EmptyStmts , importDefns: #import ( "env" , "myMem" , #memoryDesc (... id: , type: #limits ( 10 , 20 ) ) ) .EmptyStmts , exports: .EmptyStmts , metadata: #meta (... id: , funcIds: .Map , filename: .String ) ) ~> .K | ||
</k> | ||
<wasm> | ||
<instrs> | ||
.K | ||
</instrs> | ||
<valstack> | ||
.ValStack | ||
</valstack> | ||
<curFrame> | ||
<locals> | ||
.List | ||
</locals> | ||
<curModIdx> | ||
.Int | ||
</curModIdx> | ||
</curFrame> | ||
<moduleRegistry> | ||
.Map | ||
</moduleRegistry> | ||
<moduleIds> | ||
.Map | ||
</moduleIds> | ||
<moduleInstances> | ||
.ModuleInstCellMap | ||
</moduleInstances> | ||
<nextModuleIdx> | ||
0 | ||
</nextModuleIdx> | ||
<mainStore> | ||
<funcs> | ||
.FuncDefCellMap | ||
</funcs> | ||
<nextFuncAddr> | ||
0 | ||
</nextFuncAddr> | ||
<tabs> | ||
.TabInstCellMap | ||
</tabs> | ||
<nextTabAddr> | ||
0 | ||
</nextTabAddr> | ||
<mems> | ||
.List | ||
</mems> | ||
<globals> | ||
.GlobalInstCellMap | ||
</globals> | ||
<nextGlobAddr> | ||
0 | ||
</nextGlobAddr> | ||
<elems> | ||
.ElemInstCellMap | ||
</elems> | ||
<nextElemAddr> | ||
0 | ||
</nextElemAddr> | ||
</mainStore> | ||
<deterministicMemoryGrowth> | ||
true | ||
</deterministicMemoryGrowth> | ||
</wasm> | ||
</generatedTop> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
(module $mymodule | ||
(import "env" "myTable" (table $myTable 10 20 funcref)) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<generatedTop> | ||
<k> | ||
#module (... types: .EmptyStmts , funcs: .EmptyStmts , tables: .EmptyStmts , mems: .EmptyStmts , globals: .EmptyStmts , elem: .EmptyStmts , data: .EmptyStmts , start: .EmptyStmts , importDefns: #import ( "env" , "myTable" , #tableDesc (... id: , type: #limits ( 10 , 20 ) ) ) .EmptyStmts , exports: .EmptyStmts , metadata: #meta (... id: , funcIds: .Map , filename: .String ) ) ~> .K | ||
</k> | ||
<wasm> | ||
<instrs> | ||
.K | ||
</instrs> | ||
<valstack> | ||
.ValStack | ||
</valstack> | ||
<curFrame> | ||
<locals> | ||
.List | ||
</locals> | ||
<curModIdx> | ||
.Int | ||
</curModIdx> | ||
</curFrame> | ||
<moduleRegistry> | ||
.Map | ||
</moduleRegistry> | ||
<moduleIds> | ||
.Map | ||
</moduleIds> | ||
<moduleInstances> | ||
.ModuleInstCellMap | ||
</moduleInstances> | ||
<nextModuleIdx> | ||
0 | ||
</nextModuleIdx> | ||
<mainStore> | ||
<funcs> | ||
.FuncDefCellMap | ||
</funcs> | ||
<nextFuncAddr> | ||
0 | ||
</nextFuncAddr> | ||
<tabs> | ||
.TabInstCellMap | ||
</tabs> | ||
<nextTabAddr> | ||
0 | ||
</nextTabAddr> | ||
<mems> | ||
.List | ||
</mems> | ||
<globals> | ||
.GlobalInstCellMap | ||
</globals> | ||
<nextGlobAddr> | ||
0 | ||
</nextGlobAddr> | ||
<elems> | ||
.ElemInstCellMap | ||
</elems> | ||
<nextElemAddr> | ||
0 | ||
</nextElemAddr> | ||
</mainStore> | ||
<deterministicMemoryGrowth> | ||
true | ||
</deterministicMemoryGrowth> | ||
</wasm> | ||
</generatedTop> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
(module $mymodule | ||
(import "env" "myTable" (table $myTable 10 funcref)) | ||
) |
Oops, something went wrong.