We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 34bb005 + 723064b commit 28cb13fCopy full SHA for 28cb13f
src/hevm/src/EVM/Op.hs
@@ -167,4 +167,6 @@ opString (i, o) = let showPc x | x < 0x10 = '0' : showHex x ""
167
OpLog x -> "LOG" ++ show x
168
OpPush x -> "PUSH " ++ show x
169
OpRevert -> "REVERT"
170
- OpUnknown x -> "UNKNOWN " ++ show x
+ OpUnknown x -> case x of
171
+ 254 -> "INVALID"
172
+ _ -> "UNKNOWN " ++ (showHex x "")
0 commit comments