Skip to content

Commit ea596df

Browse files
SLT and SGT semantics with tests
1 parent 3effb55 commit ea596df

File tree

9 files changed

+2310
-2
lines changed

9 files changed

+2310
-2
lines changed

evm-testcases/cfs/sgt/report.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"warnings" : [ ],
3+
"files" : [ "report.json", "untyped_program.evm-testcases_cfs_sgt_sgt_eth.sol().json" ],
4+
"info" : {
5+
"cfgs" : "1",
6+
"duration" : "254ms",
7+
"end" : "2025-05-13T09:14:36.975+02:00",
8+
"expressions" : "20",
9+
"files" : "1",
10+
"globals" : "0",
11+
"members" : "1",
12+
"programs" : "1",
13+
"start" : "2025-05-13T09:14:36.721+02:00",
14+
"statements" : "30",
15+
"units" : "0",
16+
"version" : "0.1",
17+
"warnings" : "0"
18+
},
19+
"configuration" : {
20+
"analysisGraphs" : "NONE",
21+
"descendingPhaseType" : "NONE",
22+
"dumpForcesUnwinding" : "false",
23+
"fixpointWorkingSet" : "DuplicateFreeFIFOWorkingSet",
24+
"glbThreshold" : "5",
25+
"hotspots" : "unset",
26+
"jsonOutput" : "true",
27+
"openCallPolicy" : "WorstCasePolicy",
28+
"optimize" : "false",
29+
"recursionWideningThreshold" : "5",
30+
"semanticChecks" : "JumpSolver",
31+
"serializeInputs" : "false",
32+
"serializeResults" : "true",
33+
"syntacticChecks" : "",
34+
"useWideningPoints" : "false",
35+
"wideningThreshold" : "5",
36+
"workdir" : "evm-outputs/cfs/sgt"
37+
}
38+
}

evm-testcases/cfs/sgt/sgt_eth.sol

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
PUSH1 0x00
2+
PUSH1 0x01
3+
SGT
4+
PUSH1 0x00
5+
PUSH32 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
6+
SGT
7+
PUSH1 0x01
8+
PUSH1 0x7f
9+
SGT
10+
PUSH32 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
11+
PUSH1 0x00
12+
SGT
13+
PUSH1 0x00
14+
PUSH32 0x8000000000000000000000000000000000000000000000000000000000000000
15+
SGT
16+
PUSH32 0x8000000000000000000000000000000000000000000000000000000000000000
17+
PUSH1 0x00
18+
SGT
19+
PUSH32 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd
20+
PUSH32 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe
21+
SGT
22+
PUSH32 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe
23+
PUSH32 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd
24+
SGT
25+
PUSH32 0x8000000000000000000000000000000000000000000000000000000000000000
26+
PUSH32 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
27+
SGT
28+
PUSH1 0xff
29+
PUSH1 0x01
30+
SGT

0 commit comments

Comments
 (0)