Skip to content

Commit

Permalink
Fix in couting definitely unreachable jumps, filtering stacks in JUMP
Browse files Browse the repository at this point in the history
and JUMPI opcodes in EVM abstract state
  • Loading branch information
VincenzoArceri committed May 20, 2024
1 parent 94343b5 commit 2ba37c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/it/unipr/EVMLiSA.java
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ else if (!reachableFrom)
else if (topStackValuesPerJump == null) {
// If all stacks are bottom, then we have a
// maybeFakeMissedJump
maybeFakeMissedJumps++;
definitelyUnreachable++;
} else if (!topStackValuesPerJump.contains(KIntegerSet.NUMERIC_TOP)) {
// If the elements at the top of the stacks are all
// different from NUMERIC_TOP, then we are sure that it
Expand Down

0 comments on commit 2ba37c4

Please sign in to comment.