Skip to content

Commit 00f366c

Browse files
Add preserves-definedness attributes (#717)
* add `preserves-definedness` attributes * Set Version: 0.1.119 * Set Version: 0.1.120 --------- Co-authored-by: devops <[email protected]>
1 parent d921bcb commit 00f366c

File tree

3 files changed

+23
-3
lines changed

3 files changed

+23
-3
lines changed

package/version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.119
1+
0.1.120

pykwasm/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "pykwasm"
7-
version = "0.1.119"
7+
version = "0.1.120"
88
description = ""
99
authors = [
1010
"Runtime Verification, Inc. <[email protected]>",

pykwasm/src/pykwasm/kdist/wasm-semantics/wasm.md

+21-1
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,11 @@ The importing and exporting parts of specifications are dealt with in the respec
634634
...
635635
</globals>
636636
requires #typeMatches(TYP, VAL)
637-
637+
[preserves-definedness]
638+
// Uncertain about definedness of rule due to:
639+
// non-total symbol Lbl_ModuleInstCellMap_ ,
640+
// non-total symbol Lbl_GlobalInstCellMap_
641+
638642
```
639643

640644
The `get` and `set` instructions read and write globals.
@@ -1144,6 +1148,11 @@ The importing and exporting parts of specifications are dealt with in the respec
11441148
...
11451149
</moduleInst>
11461150
<nextFuncAddr> NEXTADDR => NEXTADDR +Int 1 </nextFuncAddr>
1151+
[preserves-definedness]
1152+
// Uncertain about definedness of rule due to:
1153+
// non-total symbol Lbl_ModuleInstCellMap_ ,
1154+
// non-total symbol Lbl_Map_ ,
1155+
// non-total symbol LblsetExtend(_,_,_,_)_WASM-DATA-TOOLS_ListInt_ListInt_Int_Int_Int
11471156
11481157
rule <instrs> allocfunc(MOD, ADDR, TYPE, LOCALS, INSTRS, #meta(... id: OID, localIds: LIDS)) => .K ... </instrs>
11491158
<funcs>
@@ -1163,6 +1172,8 @@ The importing and exporting parts of specifications are dealt with in the respec
11631172
)
11641173
...
11651174
</funcs>
1175+
[preserves-definedness]
1176+
// Uncertain about definedness of rule due to: non-total symbol Lbl_FuncDefCellMap_
11661177
11671178
syntax FuncMetadata ::= #meta(id: OptionalId, localIds: Map) [symbol(funcMeta)]
11681179
// ---------------------------------------------------------------------------------------
@@ -1382,6 +1393,11 @@ The importing and exporting parts of specifications are dealt with in the respec
13821393
)
13831394
...
13841395
</mems>
1396+
[preserves-definedness]
1397+
// Uncertain about definedness of rule due to:
1398+
// non-total symbol Lbl_ModuleInstCellMap_ ,
1399+
// non-total symbol Lbl_MemInstCellMap_
1400+
13851401
```
13861402

13871403
The assorted store operations take an address of type `i32` and a value.
@@ -1865,6 +1881,10 @@ The value of a global gets copied when it is imported.
18651881
...
18661882
</funcDef>
18671883
requires FTYPE ==K TYPES[TIDX]
1884+
[preserves-definedness]
1885+
// Uncertain about definedness of rule due to:
1886+
// non-total symbol Lbl_ModuleInstCellMap_ ,
1887+
// non-total symbol LblsetExtend(_,_,_,_)_WASM-DATA-TOOLS_ListInt_ListInt_Int_Int_Int
18681888
18691889
rule <instrs> #import(MOD, NAME, #tableDesc(... id: OID, type: LIM) ) => .K ... </instrs>
18701890
<curModIdx> CUR </curModIdx>

0 commit comments

Comments
 (0)