Skip to content

Commit

Permalink
Apply spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
VincenzoArceri committed Feb 12, 2024
1 parent 19c53f9 commit 9fbce95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/it/unipr/analysis/AbstractStack.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import java.util.function.Predicate;

public class AbstractStack implements ValueDomain<AbstractStack>, BaseLattice<AbstractStack> {
public static final int STACK_LIMIT = 64;
public static final int STACK_LIMIT = 72;
private static final AbstractStack BOTTOM = new AbstractStack(null);

private final LinkedList<KIntegerSet> stack;
Expand Down
6 changes: 4 additions & 2 deletions src/main/java/it/unipr/analysis/EVMAbstractState.java
Original file line number Diff line number Diff line change
Expand Up @@ -1110,10 +1110,12 @@ public EVMAbstractState assume(ValueExpression expression, ProgramPoint src, Pro
KIntegerSet condition = result.pop();

if (condition.isDefinitelyFalse()) {
// if condition is surely false, return the result
// if condition is surely false, return the
// result
return new EVMAbstractState(result, memory, mu_i);
} else if (condition.isDefinitelyTrue()) {
// if condition is surely true, return the bottom
// if condition is surely true, return the
// bottom
return bottom();
} else if (condition.isUnknown()) {
// Condition could be either true or false
Expand Down

0 comments on commit 9fbce95

Please sign in to comment.