echidna icon indicating copy to clipboard operation
echidna copied to clipboard

Consider printing out hexadecimal representation of panics and the error msg for a specific panic

Open 0xicingdeath opened this issue 1 year ago • 4 comments
trafficstars

Describe the desired feature

Consider displaying the hexadecimal value of the panic opcode or the specific error messages that are represented by the Panic(17). Since this number is technically in decimal, it needs to be converted into hex for Panic(0x11), thereby allowing us to determine that it is due to an arithmetic operation causing underflow.

 └╴error Revert Panic(17) <no source map>

0xicingdeath avatar Mar 12 '24 16:03 0xicingdeath

looks like it was removed in https://github.com/crytic/echidna/pull/1157 for context

0xalpharush avatar Mar 12 '24 16:03 0xalpharush

Can you open an issue in hevm for this?

arcz avatar Mar 12 '24 17:03 arcz

@arcz done

0xicingdeath avatar Mar 12 '24 17:03 0xicingdeath

Let's check if this was fixed

gustavo-grieco avatar May 15 '24 09:05 gustavo-grieco

Already fixed

gustavo-grieco avatar Jul 19 '24 11:07 gustavo-grieco