We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b453767 commit 997f1c4Copy full SHA for 997f1c4
core/vm/analysis.go
@@ -76,7 +76,7 @@ func codeBitmapInternal(code, bits bitvec) bitvec {
76
for pc := uint64(0); pc < uint64(len(code)); {
77
op := OpCode(code[pc])
78
pc++
79
- if op < PUSH1 || op > PUSH32 {
+ if int8(op) < int8(PUSH1) { // If not PUSH (the int8(op) > int(PUSH32) is always false).
80
continue
81
}
82
numbits := op - PUSH1 + 1
0 commit comments