rfc: specify closed contract proof and report rules
This commit is contained in:
1 parent
a4181f2d8d
commit
8260d3521e
8 files changed
+185
-4
No files matched your search
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"rows": [
|
||||
{
|
||||
"site": {"function":"f","block":"entry","inst":0,"source":null},
|
||||
"kind": "pre", "scope": "boundary", "predicate": "always_true", "callback": null,
|
||||
"bindings": [], "status": "PROVEN_STATICALLY",
|
||||
"proof": {"result":"proven","reason":"closed_scalar","cost":4,"limit":1048576},
|
||||
"enforcement": "runtime",
|
||||
"boundaries": [{"function":"f","block":"entry","inst":0,"source":null}]
|
||||
},
|
||||
{
|
||||
"site": {"function":"f","block":"entry","inst":1,"source":null},
|
||||
"kind": "pre", "scope": "boundary", "predicate": "positive", "callback": null,
|
||||
"bindings": [{"kind":"parameter","name":"x","view":"value"}],
|
||||
"status": "ASSUMED_UNSAFE",
|
||||
"proof": {"result":"not_attempted","reason":"not_attempted","cost":null,"limit":1048576},
|
||||
"enforcement": "assumed_unsafe",
|
||||
"boundaries": [{"function":"f","block":"entry","inst":1,"source":null}]
|
||||
},
|
||||
{
|
||||
"site": {"function":"f","block":"entry","inst":2,"source":null},
|
||||
"kind": "pre", "scope": "boundary", "predicate": "positive", "callback": null,
|
||||
"bindings": [{"kind":"parameter","name":"y","view":"value"}],
|
||||
"status": "UNPROVEN",
|
||||
"proof": {"result":"not_attempted","reason":"not_attempted","cost":null,"limit":1048576},
|
||||
"enforcement": "documented",
|
||||
"boundaries": [{"function":"f","block":"entry","inst":2,"source":null}]
|
||||
},
|
||||
{
|
||||
"site": {"function":"f","block":"entry","inst":4,"source":null},
|
||||
"kind": "post", "scope": "boundary", "predicate": "same", "callback": null,
|
||||
"bindings": [{"kind":"snapshot","name":"old","view":"value"},{"kind":"result","name":null,"view":"value"}],
|
||||
"status": "CHECKED_AT_RUNTIME",
|
||||
"proof": {"result":"none","reason":"not_established","cost":16,"limit":1048576},
|
||||
"enforcement": "runtime",
|
||||
"boundaries": [{"function":"f","block":"left","inst":0,"source":null},{"function":"f","block":"right","inst":0,"source":null}]
|
||||
},
|
||||
{
|
||||
"site": {"function":"g","block":"entry","inst":2,"source":null},
|
||||
"kind": "modify", "scope": "value", "predicate": "valid_state", "callback": "update_state",
|
||||
"bindings": [{"kind":"representation","name":"state","view":"ref"}],
|
||||
"status": "CHECKED_AT_RUNTIME",
|
||||
"proof": {"result":"none","reason":"update","cost":null,"limit":1048576},
|
||||
"enforcement": "runtime",
|
||||
"boundaries": [{"function":"g","block":"entry","inst":2,"source":null}]
|
||||
}
|
||||
],
|
||||
"totals": {"PROVEN_STATICALLY":1,"CHECKED_AT_RUNTIME":2,"ASSUMED_UNSAFE":1,"UNPROVEN":1}
|
||||
}
|
||||
Reference in new issue
Block a user