Skip to content

Commit

Permalink
Merge pull request #18 from jumormt/main
Browse files Browse the repository at this point in the history
sync with the latest SVF
  • Loading branch information
yuleisui authored Dec 4, 2023
2 parents 40fe9ce + 373a974 commit c990056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Z3Manager/Z3Mgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ z3::expr Z3SSEMgr::getGepObjAddress(z3::expr pointer, u32_t offset){

s32_t Z3SSEMgr::getGepOffset(const GepStmt* gep){
if(gep->getOffsetVarAndGepTypePairVec().empty())
return gep->getConstantFieldIdx();
return gep->getConstantStructFldIdx();

s32_t totalOffset = 0;
for(int i = gep->getOffsetVarAndGepTypePairVec().size() - 1; i >= 0; i--){
Expand Down

0 comments on commit c990056

Please sign in to comment.