Providing decoded tx_data in reports
See original GitHub issueDescription
Mythril reports vulnerable transaction sequences with corresponding argument values which may be included in tx_data
. However, reports currently provide tx_data
that is not decoded .
Therefore, if I want to test whether Mythril’s inputs work or not, it seems to I have to manually parse tx_data
when multiple argument values exist in functions (transactions).
For the running example in README.md, an expected report format may be:
Caller: [CREATOR], constructor
Caller: [CREATOR], killerize (0x....)
Caller: [CREATOR], activatekillability()
Caller: [CREATOR], commencekilling()
where we don’t need to parse tx_data
anymore.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
Instructions to Police for Reporting Crashes
Motor vehicle traffic crash reporting provides valuable data to many ... All crash reports submitted to TxDOT that do not include at least....
Read more >CR100 2022 Instructions for Police Reporting Crashes
When reporting crash data, it is important to provide sufficient details about the crash. This will enable TxDOT to classify the crash ...
Read more >TX: fix TX decoding when some values are actually arrays by ...
This PR fixes: -> Decoding of any Tx where any of a value is an array instead ... _validateNotArray(txData) , was typescript giving...
Read more >Decoding Ethereum smart contract data | by Yifei Huang
This assumes that the decoding is targeted at a smallish number (on the order of thousands) of distinct smart contracts. It leverages the...
Read more >abi-decoder - Go Packages
Go library for decoding data params and events from etherem ... Inspired by abi-decoder ... DecodeMethod(txData) if err != nil { log.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In my example, the constructor has only one input parameter which has uint type.
I meant in general case when a constructor has multiple args. Look into solidity abi spec for more info https://solidity.readthedocs.io/en/develop/abi-spec.html@norhh I have three additional questions.
Could you provide any examples? What do you mean by
int, uint, address etc
? In my example, the constructor has only one input parameter which hasuint
type.Or do you have any relevant documents?
test
function in my example), how can I know the size of the dynamic arrays frominput
field?