Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion chc/app/CHVersion.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
chcversion: str = "0.2.0-2026-06-06"
chcversion: str = "0.2.0-2026-06-18"
5 changes: 4 additions & 1 deletion chc/proof/CProofDiagnostic.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,10 @@ def invsmap(self) -> Dict[int, List[int]]:
for n in inode.findall("arg"):
xargindex = n.get("a")
xarginvs = n.get("i")
if xargindex is not None and xarginvs is not None:
if (
xargindex is not None
and xarginvs is not None
and not (xarginvs == '')):
self._invsmap[int(xargindex)] = [
int(x) for x in xarginvs.split(",")]
return self._invsmap
Expand Down
326 changes: 179 additions & 147 deletions tests/kendra/id259Q/id259Q.json

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions tests/kendra/id279Q/id279Q.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,16 @@
"predicate": "signed-to-signed-cast-ub",
"status": "safe",
"tgtstatus": "safe"
},
{
"cfgctxt": "instr:1_stmt:1",
"expctxt": "2op:2_2op:1_mem_lhs",
"line": 58,
"predicate": "int-overflow",
"status": "open",
"tgtstatus": "open"
}

]
}
}
Expand Down Expand Up @@ -385,6 +394,14 @@
"predicate": "signed-to-signed-cast-ub",
"status": "safe",
"tgtstatus": "safe"
},
{
"cfgctxt": "instr:1_stmt:1",
"expctxt": "2op:2_2op:1_mem_lhs",
"line": 58,
"predicate": "int-overflow",
"status": "open",
"tgtstatus": "open"
}
]
}
Expand Down Expand Up @@ -580,6 +597,14 @@
"predicate": "signed-to-signed-cast-ub",
"status": "safe",
"tgtstatus": "safe"
},
{
"cfgctxt": "instr:1_stmt:1",
"expctxt": "2op:2_2op:1_mem_lhs",
"line": 58,
"predicate": "int-overflow",
"status": "open",
"tgtstatus": "open"
}
]
}
Expand Down Expand Up @@ -775,6 +800,14 @@
"predicate": "signed-to-signed-cast-ub",
"status": "safe",
"tgtstatus": "safe"
},
{
"cfgctxt": "instr:1_stmt:1",
"expctxt": "2op:2_2op:1_mem_lhs",
"line": 58,
"predicate": "int-overflow",
"status": "open",
"tgtstatus": "open"
}
]
}
Expand Down
Loading