-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #304 from lisa-analyzer/pentagons
Implementation of the pentagon abstract domain
- Loading branch information
Showing
9 changed files
with
681 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,45 @@ | ||
class petagons_tests { | ||
|
||
/* | ||
Reference: https://doi.org/10.1016/j.scico.2009.04.004 | ||
*/ | ||
non_strict_abstraction(b, x, y) { | ||
if(b) { | ||
x = 0; y = 3; | ||
} else { | ||
x = -2; y = 1; | ||
} | ||
} | ||
|
||
/* | ||
Reference: https://doi.org/10.1016/j.scico.2009.04.004 | ||
*/ | ||
strict_abstraction(b, x, y) { | ||
if(b) { | ||
x = 0; y = 3; | ||
} else { | ||
x = -2; y = 0; | ||
} | ||
} | ||
|
||
/* | ||
Reference: https://doi.org/10.1016/j.scico.2009.04.004 | ||
*/ | ||
common_code_pattern_01(x, y, r) { | ||
if(x >= 0 && y >= 0) | ||
if (x > y) { | ||
r = x - y; | ||
assert r >= 0; | ||
} | ||
} | ||
|
||
/* | ||
Reference: https://doi.org/10.1016/j.scico.2009.04.004 | ||
*/ | ||
common_code_pattern_02(x, len) { | ||
if(len >= 0) { | ||
def r = x % len; | ||
assert r < len; | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
lisa/lisa-analyses/imp-testcases/numeric/pentagons/report.json
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,38 @@ | ||
{ | ||
"warnings" : [ ], | ||
"files" : [ "report.json", "untyped_petagons_tests.common_code_pattern_01(petagons_tests__this,_untyped_x,_untyped_y,_untyped_r).json", "untyped_petagons_tests.common_code_pattern_02(petagons_tests__this,_untyped_x,_untyped_len).json", "untyped_petagons_tests.non_strict_abstraction(petagons_tests__this,_untyped_b,_untyped_x,_untyped_y).json", "untyped_petagons_tests.strict_abstraction(petagons_tests__this,_untyped_b,_untyped_x,_untyped_y).json" ], | ||
"info" : { | ||
"cfgs" : "4", | ||
"duration" : "418ms", | ||
"end" : "2024-01-10T15:05:51.619+01:00", | ||
"expressions" : "40", | ||
"files" : "4", | ||
"globals" : "0", | ||
"members" : "4", | ||
"programs" : "1", | ||
"start" : "2024-01-10T15:05:51.201+01:00", | ||
"statements" : "21", | ||
"units" : "1", | ||
"version" : "0.1b8", | ||
"warnings" : "0" | ||
}, | ||
"configuration" : { | ||
"analysisGraphs" : "NONE", | ||
"descendingPhaseType" : "NONE", | ||
"dumpForcesUnwinding" : "false", | ||
"fixpointWorkingSet" : "DuplicateFreeFIFOWorkingSet", | ||
"glbThreshold" : "5", | ||
"hotspots" : "unset", | ||
"jsonOutput" : "true", | ||
"openCallPolicy" : "WorstCasePolicy", | ||
"optimize" : "false", | ||
"recursionWideningThreshold" : "5", | ||
"semanticChecks" : "", | ||
"serializeInputs" : "false", | ||
"serializeResults" : "true", | ||
"syntacticChecks" : "", | ||
"useWideningPoints" : "true", | ||
"wideningThreshold" : "5", | ||
"workdir" : "test-outputs/numeric/pentagons" | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
..._tests.common_code_pattern_01(petagons_tests__this,_untyped_x,_untyped_y,_untyped_r).json
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 @@ | ||
{"name":"untyped petagons_tests::common_code_pattern_01(petagons_tests* this, untyped x, untyped y, untyped r)","description":null,"nodes":[{"id":0,"subNodes":[1,4],"text":"&&(>=(x, 0), >=(y, 0))"},{"id":1,"subNodes":[2,3],"text":">=(x, 0)"},{"id":2,"text":"x"},{"id":3,"text":"0"},{"id":4,"subNodes":[5,6],"text":">=(y, 0)"},{"id":5,"text":"y"},{"id":6,"text":"0"},{"id":7,"subNodes":[8,9],"text":">(x, y)"},{"id":8,"text":"x"},{"id":9,"text":"y"},{"id":10,"subNodes":[11,12],"text":"r = -(x, y)"},{"id":11,"text":"r"},{"id":12,"subNodes":[13,14],"text":"-(x, y)"},{"id":13,"text":"x"},{"id":14,"text":"y"},{"id":15,"subNodes":[16],"text":"assert >=(r, 0)"},{"id":16,"subNodes":[17,18],"text":">=(r, 0)"},{"id":17,"text":"r"},{"id":18,"text":"0"},{"id":19,"text":"ret"}],"edges":[{"sourceId":0,"destId":7,"kind":"TrueEdge"},{"sourceId":0,"destId":19,"kind":"FalseEdge"},{"sourceId":7,"destId":10,"kind":"TrueEdge"},{"sourceId":7,"destId":19,"kind":"FalseEdge"},{"sourceId":10,"destId":15,"kind":"SequentialEdge"},{"sourceId":15,"destId":19,"kind":"SequentialEdge"}],"descriptions":[{"nodeId":0,"description":{"expressions":["x >= 0 && y >= 0"],"state":{"heap":"monolith","type":{"r":"#TOP#","this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"r":"[-Inf, +Inf], {}","x":"[-Inf, +Inf], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":1,"description":{"expressions":["x >= 0"],"state":{"heap":"monolith","type":{"r":"#TOP#","this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"r":"[-Inf, +Inf], {}","x":"[-Inf, +Inf], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":2,"description":{"expressions":["x"],"state":{"heap":"monolith","type":{"r":"#TOP#","this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"r":"[-Inf, +Inf], {}","x":"[-Inf, +Inf], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":3,"description":{"expressions":["0"],"state":{"heap":"monolith","type":{"r":"#TOP#","this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"r":"[-Inf, +Inf], {}","x":"[-Inf, +Inf], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":4,"description":{"expressions":["y >= 0"],"state":{"heap":"monolith","type":{"r":"#TOP#","this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"r":"[-Inf, +Inf], {}","x":"[-Inf, +Inf], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":5,"description":{"expressions":["y"],"state":{"heap":"monolith","type":{"r":"#TOP#","this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"r":"[-Inf, +Inf], {}","x":"[-Inf, +Inf], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":6,"description":{"expressions":["0"],"state":{"heap":"monolith","type":{"r":"#TOP#","this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"r":"[-Inf, +Inf], {}","x":"[-Inf, +Inf], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":7,"description":{"expressions":["x > y"],"state":{"heap":"monolith","type":{"r":"#TOP#","this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"r":"[-Inf, +Inf], {}","x":"[0, +Inf], {}","y":"[0, +Inf], {}"}}}},{"nodeId":8,"description":{"expressions":["x"],"state":{"heap":"monolith","type":{"r":"#TOP#","this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"r":"[-Inf, +Inf], {}","x":"[0, +Inf], {}","y":"[0, +Inf], {}"}}}},{"nodeId":9,"description":{"expressions":["y"],"state":{"heap":"monolith","type":{"r":"#TOP#","this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"r":"[-Inf, +Inf], {}","x":"[0, +Inf], {}","y":"[0, +Inf], {}"}}}},{"nodeId":10,"description":{"expressions":["r"],"state":{"heap":"monolith","type":{"r":["float32","int32"],"this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"r":"[1, +Inf], {}","x":"[1, +Inf], {}","y":"[0, +Inf], (x)"}}}},{"nodeId":11,"description":{"expressions":["r"],"state":{"heap":"monolith","type":{"r":"#TOP#","this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"r":"[-Inf, +Inf], {}","x":"[1, +Inf], {}","y":"[0, +Inf], (x)"}}}},{"nodeId":12,"description":{"expressions":["x - y"],"state":{"heap":"monolith","type":{"r":"#TOP#","this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"r":"[-Inf, +Inf], {}","x":"[1, +Inf], {}","y":"[0, +Inf], (x)"}}}},{"nodeId":13,"description":{"expressions":["x"],"state":{"heap":"monolith","type":{"r":"#TOP#","this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"r":"[-Inf, +Inf], {}","x":"[1, +Inf], {}","y":"[0, +Inf], (x)"}}}},{"nodeId":14,"description":{"expressions":["y"],"state":{"heap":"monolith","type":{"r":"#TOP#","this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"r":"[-Inf, +Inf], {}","x":"[1, +Inf], {}","y":"[0, +Inf], (x)"}}}},{"nodeId":15,"description":{"expressions":["skip"],"state":{"heap":"monolith","type":{"r":["float32","int32"],"this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"r":"[1, +Inf], {}","x":"[1, +Inf], {}","y":"[0, +Inf], (x)"}}}},{"nodeId":16,"description":{"expressions":["r >= 0"],"state":{"heap":"monolith","type":{"r":["float32","int32"],"this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"r":"[1, +Inf], {}","x":"[1, +Inf], {}","y":"[0, +Inf], (x)"}}}},{"nodeId":17,"description":{"expressions":["r"],"state":{"heap":"monolith","type":{"r":["float32","int32"],"this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"r":"[1, +Inf], {}","x":"[1, +Inf], {}","y":"[0, +Inf], (x)"}}}},{"nodeId":18,"description":{"expressions":["0"],"state":{"heap":"monolith","type":{"r":["float32","int32"],"this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"r":"[1, +Inf], {}","x":"[1, +Inf], {}","y":"[0, +Inf], (x)"}}}},{"nodeId":19,"description":{"expressions":["skip"],"state":{"heap":"monolith","type":{"r":"#TOP#","this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"r":"[-Inf, +Inf], {}","x":"[-Inf, +Inf], {}","y":"[-Inf, +Inf], {}"}}}}]} |
1 change: 1 addition & 0 deletions
1
..._petagons_tests.common_code_pattern_02(petagons_tests__this,_untyped_x,_untyped_len).json
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 @@ | ||
{"name":"untyped petagons_tests::common_code_pattern_02(petagons_tests* this, untyped x, untyped len)","description":null,"nodes":[{"id":0,"subNodes":[1,2],"text":">=(len, 0)"},{"id":1,"text":"len"},{"id":2,"text":"0"},{"id":3,"subNodes":[4,5],"text":"r = %(x, len)"},{"id":4,"text":"r"},{"id":5,"subNodes":[6,7],"text":"%(x, len)"},{"id":6,"text":"x"},{"id":7,"text":"len"},{"id":8,"subNodes":[9],"text":"assert <(r, len)"},{"id":9,"subNodes":[10,11],"text":"<(r, len)"},{"id":10,"text":"r"},{"id":11,"text":"len"},{"id":12,"text":"ret"}],"edges":[{"sourceId":0,"destId":3,"kind":"TrueEdge"},{"sourceId":0,"destId":12,"kind":"FalseEdge"},{"sourceId":3,"destId":8,"kind":"SequentialEdge"},{"sourceId":8,"destId":12,"kind":"SequentialEdge"}],"descriptions":[{"nodeId":0,"description":{"expressions":["len >= 0"],"state":{"heap":"monolith","type":{"len":"#TOP#","this":["petagons_tests*"],"x":"#TOP#"},"value":{"len":"[-Inf, +Inf], {}","x":"[-Inf, +Inf], {}"}}}},{"nodeId":1,"description":{"expressions":["len"],"state":{"heap":"monolith","type":{"len":"#TOP#","this":["petagons_tests*"],"x":"#TOP#"},"value":{"len":"[-Inf, +Inf], {}","x":"[-Inf, +Inf], {}"}}}},{"nodeId":2,"description":{"expressions":["0"],"state":{"heap":"monolith","type":{"len":"#TOP#","this":["petagons_tests*"],"x":"#TOP#"},"value":{"len":"[-Inf, +Inf], {}","x":"[-Inf, +Inf], {}"}}}},{"nodeId":3,"description":{"expressions":["r"],"state":{"heap":"monolith","type":{"len":"#TOP#","r":["float32","int32"],"this":["petagons_tests*"],"x":"#TOP#"},"value":{"len":"[0, +Inf], {}","r":"[-Inf, +Inf], (len)","x":"[-Inf, +Inf], {}"}}}},{"nodeId":4,"description":{"expressions":["r"],"state":{"heap":"monolith","type":{"len":"#TOP#","this":["petagons_tests*"],"x":"#TOP#"},"value":{"len":"[0, +Inf], {}","x":"[-Inf, +Inf], {}"}}}},{"nodeId":5,"description":{"expressions":["x % len"],"state":{"heap":"monolith","type":{"len":"#TOP#","this":["petagons_tests*"],"x":"#TOP#"},"value":{"len":"[0, +Inf], {}","x":"[-Inf, +Inf], {}"}}}},{"nodeId":6,"description":{"expressions":["x"],"state":{"heap":"monolith","type":{"len":"#TOP#","this":["petagons_tests*"],"x":"#TOP#"},"value":{"len":"[0, +Inf], {}","x":"[-Inf, +Inf], {}"}}}},{"nodeId":7,"description":{"expressions":["len"],"state":{"heap":"monolith","type":{"len":"#TOP#","this":["petagons_tests*"],"x":"#TOP#"},"value":{"len":"[0, +Inf], {}","x":"[-Inf, +Inf], {}"}}}},{"nodeId":8,"description":{"expressions":["skip"],"state":{"heap":"monolith","type":{"len":"#TOP#","r":["float32","int32"],"this":["petagons_tests*"],"x":"#TOP#"},"value":{"len":"[0, +Inf], {}","r":"[-Inf, +Inf], (len)","x":"[-Inf, +Inf], {}"}}}},{"nodeId":9,"description":{"expressions":["r < len"],"state":{"heap":"monolith","type":{"len":"#TOP#","r":["float32","int32"],"this":["petagons_tests*"],"x":"#TOP#"},"value":{"len":"[0, +Inf], {}","r":"[-Inf, +Inf], (len)","x":"[-Inf, +Inf], {}"}}}},{"nodeId":10,"description":{"expressions":["r"],"state":{"heap":"monolith","type":{"len":"#TOP#","r":["float32","int32"],"this":["petagons_tests*"],"x":"#TOP#"},"value":{"len":"[0, +Inf], {}","r":"[-Inf, +Inf], (len)","x":"[-Inf, +Inf], {}"}}}},{"nodeId":11,"description":{"expressions":["len"],"state":{"heap":"monolith","type":{"len":"#TOP#","r":["float32","int32"],"this":["petagons_tests*"],"x":"#TOP#"},"value":{"len":"[0, +Inf], {}","r":"[-Inf, +Inf], (len)","x":"[-Inf, +Inf], {}"}}}},{"nodeId":12,"description":{"expressions":["skip"],"state":{"heap":"monolith","type":{"len":"#TOP#","this":["petagons_tests*"],"x":"#TOP#"},"value":{"len":"[-Inf, +Inf], {}","x":"[-Inf, +Inf], {}"}}}}]} |
1 change: 1 addition & 0 deletions
1
..._tests.non_strict_abstraction(petagons_tests__this,_untyped_b,_untyped_x,_untyped_y).json
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 @@ | ||
{"name":"untyped petagons_tests::non_strict_abstraction(petagons_tests* this, untyped b, untyped x, untyped y)","description":null,"nodes":[{"id":0,"text":"b"},{"id":1,"subNodes":[2,3],"text":"x = 0"},{"id":2,"text":"x"},{"id":3,"text":"0"},{"id":4,"subNodes":[5,6],"text":"y = 3"},{"id":5,"text":"y"},{"id":6,"text":"3"},{"id":7,"subNodes":[8,9],"text":"x = -2"},{"id":8,"text":"x"},{"id":9,"text":"-2"},{"id":10,"subNodes":[11,12],"text":"y = 1"},{"id":11,"text":"y"},{"id":12,"text":"1"},{"id":13,"text":"ret"}],"edges":[{"sourceId":0,"destId":1,"kind":"TrueEdge"},{"sourceId":0,"destId":7,"kind":"FalseEdge"},{"sourceId":1,"destId":4,"kind":"SequentialEdge"},{"sourceId":4,"destId":13,"kind":"SequentialEdge"},{"sourceId":7,"destId":10,"kind":"SequentialEdge"},{"sourceId":10,"destId":13,"kind":"SequentialEdge"}],"descriptions":[{"nodeId":0,"description":{"expressions":["b"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"b":"[-Inf, +Inf], {}","x":"[-Inf, +Inf], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":1,"description":{"expressions":["x"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":["int32"],"y":"#TOP#"},"value":{"b":"[-Inf, +Inf], {}","x":"[0, 0], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":2,"description":{"expressions":["x"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"b":"[-Inf, +Inf], {}","x":"[-Inf, +Inf], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":3,"description":{"expressions":["0"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"b":"[-Inf, +Inf], {}","x":"[-Inf, +Inf], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":4,"description":{"expressions":["y"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":["int32"],"y":["int32"]},"value":{"b":"[-Inf, +Inf], {}","x":"[0, 0], (y)","y":"[3, 3], {}"}}}},{"nodeId":5,"description":{"expressions":["y"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":["int32"],"y":"#TOP#"},"value":{"b":"[-Inf, +Inf], {}","x":"[0, 0], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":6,"description":{"expressions":["3"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":["int32"],"y":"#TOP#"},"value":{"b":"[-Inf, +Inf], {}","x":"[0, 0], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":7,"description":{"expressions":["x"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":["int32"],"y":"#TOP#"},"value":{"b":"[-Inf, +Inf], {}","x":"[-2, -2], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":8,"description":{"expressions":["x"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"b":"[-Inf, +Inf], {}","x":"[-Inf, +Inf], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":9,"description":{"expressions":["-2"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"b":"[-Inf, +Inf], {}","x":"[-Inf, +Inf], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":10,"description":{"expressions":["y"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":["int32"],"y":["int32"]},"value":{"b":"[-Inf, +Inf], {}","x":"[-2, -2], (y)","y":"[1, 1], {}"}}}},{"nodeId":11,"description":{"expressions":["y"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":["int32"],"y":"#TOP#"},"value":{"b":"[-Inf, +Inf], {}","x":"[-2, -2], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":12,"description":{"expressions":["1"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":["int32"],"y":"#TOP#"},"value":{"b":"[-Inf, +Inf], {}","x":"[-2, -2], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":13,"description":{"expressions":["skip"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":["int32"],"y":["int32"]},"value":{"b":"[-Inf, +Inf], {}","x":"[-2, 0], (y)","y":"[1, 3], {}"}}}}]} |
1 change: 1 addition & 0 deletions
1
...gons_tests.strict_abstraction(petagons_tests__this,_untyped_b,_untyped_x,_untyped_y).json
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 @@ | ||
{"name":"untyped petagons_tests::strict_abstraction(petagons_tests* this, untyped b, untyped x, untyped y)","description":null,"nodes":[{"id":0,"text":"b"},{"id":1,"subNodes":[2,3],"text":"x = 0"},{"id":2,"text":"x"},{"id":3,"text":"0"},{"id":4,"subNodes":[5,6],"text":"y = 3"},{"id":5,"text":"y"},{"id":6,"text":"3"},{"id":7,"subNodes":[8,9],"text":"x = -2"},{"id":8,"text":"x"},{"id":9,"text":"-2"},{"id":10,"subNodes":[11,12],"text":"y = 0"},{"id":11,"text":"y"},{"id":12,"text":"0"},{"id":13,"text":"ret"}],"edges":[{"sourceId":0,"destId":1,"kind":"TrueEdge"},{"sourceId":0,"destId":7,"kind":"FalseEdge"},{"sourceId":1,"destId":4,"kind":"SequentialEdge"},{"sourceId":4,"destId":13,"kind":"SequentialEdge"},{"sourceId":7,"destId":10,"kind":"SequentialEdge"},{"sourceId":10,"destId":13,"kind":"SequentialEdge"}],"descriptions":[{"nodeId":0,"description":{"expressions":["b"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"b":"[-Inf, +Inf], {}","x":"[-Inf, +Inf], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":1,"description":{"expressions":["x"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":["int32"],"y":"#TOP#"},"value":{"b":"[-Inf, +Inf], {}","x":"[0, 0], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":2,"description":{"expressions":["x"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"b":"[-Inf, +Inf], {}","x":"[-Inf, +Inf], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":3,"description":{"expressions":["0"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"b":"[-Inf, +Inf], {}","x":"[-Inf, +Inf], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":4,"description":{"expressions":["y"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":["int32"],"y":["int32"]},"value":{"b":"[-Inf, +Inf], {}","x":"[0, 0], (y)","y":"[3, 3], {}"}}}},{"nodeId":5,"description":{"expressions":["y"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":["int32"],"y":"#TOP#"},"value":{"b":"[-Inf, +Inf], {}","x":"[0, 0], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":6,"description":{"expressions":["3"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":["int32"],"y":"#TOP#"},"value":{"b":"[-Inf, +Inf], {}","x":"[0, 0], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":7,"description":{"expressions":["x"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":["int32"],"y":"#TOP#"},"value":{"b":"[-Inf, +Inf], {}","x":"[-2, -2], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":8,"description":{"expressions":["x"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"b":"[-Inf, +Inf], {}","x":"[-Inf, +Inf], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":9,"description":{"expressions":["-2"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":"#TOP#","y":"#TOP#"},"value":{"b":"[-Inf, +Inf], {}","x":"[-Inf, +Inf], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":10,"description":{"expressions":["y"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":["int32"],"y":["int32"]},"value":{"b":"[-Inf, +Inf], {}","x":"[-2, -2], (y)","y":"[0, 0], {}"}}}},{"nodeId":11,"description":{"expressions":["y"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":["int32"],"y":"#TOP#"},"value":{"b":"[-Inf, +Inf], {}","x":"[-2, -2], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":12,"description":{"expressions":["0"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":["int32"],"y":"#TOP#"},"value":{"b":"[-Inf, +Inf], {}","x":"[-2, -2], {}","y":"[-Inf, +Inf], {}"}}}},{"nodeId":13,"description":{"expressions":["skip"],"state":{"heap":"monolith","type":{"b":"#TOP#","this":["petagons_tests*"],"x":["int32"],"y":["int32"]},"value":{"b":"[-Inf, +Inf], {}","x":"[-2, 0], (y)","y":"[0, 3], {}"}}}}]} |
Oops, something went wrong.