We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9903f5 commit 0337b8fCopy full SHA for 0337b8f
src/main/java/it/unipr/analysis/EVMAbstractState.java
@@ -2062,7 +2062,12 @@ public EVMAbstractState wideningAux(EVMAbstractState other) throws SemanticExcep
2062
2063
@Override
2064
public EVMAbstractState lubAux(EVMAbstractState other) throws SemanticException {
2065
- return new EVMAbstractState(stacks.lubAux(other.stacks),
+ AbstractStackSet stacks = this.stacks.lubAux(other.stacks);
2066
+ if (stacks.isBottom())
2067
+ return BOTTOM;
2068
+ if (stacks.isTop())
2069
+ return TOP;
2070
+ return new EVMAbstractState(stacks,
2071
memory.lub(other.getMemory()),
2072
storage.lub(other.storage));
2073
}
0 commit comments