-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make adder work with the full Elrond semantics (#6)
- Loading branch information
1 parent
bd3f2b3
commit 4ceab3f
Showing
34 changed files
with
1,387 additions
and
2,478 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 |
---|---|---|
|
@@ -5,6 +5,9 @@ | |
|
||
.build | ||
.kprove-* | ||
.kore-repl-history | ||
.sessionCommands | ||
tmp | ||
|
||
# User-specific files | ||
*.rsuser | ||
|
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "kmxwasm/k-src/wasm-semantics"] | ||
path = kmxwasm/k-src/wasm-semantics | ||
url = https://github.com/runtimeverification/wasm-semantics | ||
[submodule "kmxwasm/k-src/elrond-semantics"] | ||
path = kmxwasm/k-src/elrond-semantics | ||
url = https://github.com/runtimeverification/elrond-semantics |
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 |
---|---|---|
@@ -1 +1 @@ | ||
v0.1.209 | ||
v0.1.366 |
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
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
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,45 @@ | ||
module CEILS-SYNTAX | ||
imports BOOL | ||
imports BYTES | ||
imports INT | ||
imports WASM-DATA | ||
|
||
syntax Bool ::= definedSubstrBytes(Bytes, startIndex: Int, endIndex: Int) [function, total] | ||
syntax Bool ::= definedReplaceAtBytes(dest: Bytes, index: Int, src: Bytes) [function, total] | ||
syntax Bool ::= definedPadRightBytes(Bytes, length: Int, value: Int) [function, total] | ||
syntax Bool ::= definedModInt(Int, Int) [function, total] | ||
syntax Bool ::= definedShlInt(Int, Int) [function, total] | ||
syntax Bool ::= definedShrInt(Int, Int) [function, total] | ||
syntax Bool ::= definedProjectBytes(KItem) [function, total] | ||
syntax Bool ::= definedProjectInt(KItem) [function, total] | ||
syntax Bool ::= definedMapLookup(Map, KItem) [function, total] | ||
|
||
syntax Bool ::= definedGetInts(Ints, Int) [function, total] | ||
syntax Bool ::= definedGetElemSegment(ElemSegment, Int) [function, total] | ||
|
||
// --------------------------------------- | ||
|
||
syntax Bytes ::= substrBytesTotal(Bytes, startIndex: Int, endIndex: Int) | ||
[function, total, klabel(substrBytesTotal), symbol, no-evaluators] | ||
syntax Bytes ::= replaceAtBytesTotal(dest: Bytes, index: Int, src: Bytes) | ||
[function, total, klabel(replaceAtBytesTotal), symbol, no-evaluators] | ||
syntax Bytes ::= padRightBytesTotal(Bytes, length: Int, value: Int) | ||
[function, total, klabel(padRightBytesTotal), symbol, no-evaluators] | ||
syntax Int ::= Int "modIntTotal" Int | ||
[function, total, klabel(modIntTotal), symbol, no-evaluators, smtlib(modIntTotal)] | ||
syntax Int ::= Int "<<IntTotal" Int | ||
[function, total, klabel(shlIntTotal), symbol, no-evaluators] | ||
syntax Int ::= Int ">>IntTotal" Int | ||
[function, total, klabel(shrIntTotal), symbol, no-evaluators] | ||
syntax Bytes ::= projectBytesTotal(KItem) | ||
[function, total, klabel(projectBytesTotal), symbol, no-evaluators] | ||
syntax Int ::= projectIntTotal(KItem) | ||
[function, total, klabel(projectIntTotal), symbol, no-evaluators] | ||
|
||
|
||
syntax Int ::= #getIntsTotal(Ints, Int) | ||
[function, total, klabel(#getIntsTotal), symbol, no-evaluators/*, smtlib(poundGetInts)*/] | ||
syntax Index ::= #getElemSegmentTotal(ElemSegment, Int) | ||
[function, total, klabel(#getElemSegmentTotal), symbol, no-evaluators] | ||
|
||
endmodule |
Oops, something went wrong.