Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bjjwwang committed Jul 29, 2024
1 parent dbf0d37 commit 7660b94
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions svf/lib/AE/Core/RelationSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,12 +320,14 @@ AbstractState RelationSolver::BS(const AbstractState& domain, const Z3Expr &phi)
{
if (item.first >= bias)
{
if (!retInv.inVarToValTable(item.first-bias))
retInv[item.first-bias] = IntervalValue::top();

if (item.second == (infinity))
retInv[item.first - bias] = IntervalValue(BoundedDouble::minus_infinity(),
retInv[item.first - bias].getInterval().ub());
else
retInv[item.first - bias] = IntervalValue(float(-item.second),
retInv[item.first - bias].getInterval().ub());
retInv[item.first - bias] = IntervalValue(float(-item.second), retInv[item.first - bias].getInterval().ub());

}
else
Expand Down
2 changes: 1 addition & 1 deletion svf/lib/AE/Svfexe/AbstractInterpretation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,7 @@ void AbstractInterpretation::handleExtAPI(const CallICFGNode *call)
}
else
{
as[lhsId] = IntervalValue();
as[lhsId] = IntervalValue::top();
}
return;
}
Expand Down

0 comments on commit 7660b94

Please sign in to comment.