Skip to content

Commit 858ddab

Browse files
Propagating top in EVM abstract state
1 parent 12a4abb commit 858ddab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/it/unipr/analysis/EVMAbstractState.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ public EVMAbstractState smallStepSemantics(ValueExpression expression, ProgramPo
152152
// bottom state is propagated
153153
if (this.isBottom())
154154
return this;
155+
else if (this.stacks.isTop())
156+
return this;
155157

156158
if (expression instanceof Constant) {
157159
return this;

0 commit comments

Comments
 (0)