You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
voidtest() {
_Ptr<int>a= ((void*)0);
if (a== (int*) 0)
return;
}
The cast (int*) is not converted to (_Ptr<int>), but this is required before the function can be _Checked. This creates a bit more manual work when converting code with 3C.
The text was updated successfully, but these errors were encountered:
The fix: constraints variables for CStyleCastExprs are currently created by ConstraintResolver in getExprConstraintVars, but getExprConstraintVars is only called when we need to get constraint variables for assignment expressions (and a few other places). Instead, cast expressions could be visited by the VarAdder.
converts to
The cast
(int*)
is not converted to(_Ptr<int>)
, but this is required before the function can be_Checked
. This creates a bit more manual work when converting code with 3C.The text was updated successfully, but these errors were encountered: