Skip to content

Commit c812fd5

Browse files
author
bjjwwang
committed
fix lab2
1 parent bd8680a commit c812fd5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lab-Exercise-2/Z3Examples.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ namespace SVF {
8888
return pointer;
8989
}
9090
else {
91+
gepObj += maxNumOfExpr/2; // gep obj ID starts from maxNumOfExpr/2 in this lab exercise
9192
z3::expr e = getZ3Expr(Z3Mgr::getVirtualMemAddress(gepObj));
9293
updateZ3Expr(gepObj, e);
9394
return e;

0 commit comments

Comments
 (0)