A black-box raw calldata decoder using only calldata to guess types and parse parameters.
A black-box raw calldata decoder using only calldata. Based off the topics discussed in DeGatchi's article, Reverse The EVM: Raw Calldata.
How to implement
If dynamic type:
How to implement
Value | Slot |
---|---|
0xe5 | 0x20 |
0x60 -> start at 0x80 (end of 0x60) | 0x40 |
0x01 | 0x60 |
0x02 | 0x80 |
For 0x60
at 0x40
:
Then we need to create a test for this ^
This repo can be expanded to become much more sophisticated. There are some core features missing.
If you feel contributing please feel free to make a pr :)