We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given something like:
contract Paying { function sendIt(uint b) { msg.sender.send(b); } }
We get the following output on a --decompile run:
--decompile
Attempting to parse ABI definition... Success. Hash: 0xEDA04C5E function sendIt(uint256) { if (!msg.value) { } return; return; } LOC: 6
I'll probably look at this myself at some point.
The text was updated successfully, but these errors were encountered:
It seems that Contract::decompileBlock is missing quite a lot of instruction handlers. I'll stick to the assembly for now.
Contract::decompileBlock
Sorry, something went wrong.
@danslo can you please share the bytecode and the ABI ? Thanks,
I used the following command:
$ porosity --abi '[{"constant":false,"inputs":[{"name":"b","type":"uint256"}],"name":"sendIt","outputs":[],"payable":false,"type":"function"}]' --code "60606040526000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063eda04c5e14603a575bfe5b3415604157fe5b605560048080359060200190919050506057565b005b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051809050600060405180830381858888f19350505050505b505600a165627a7a72305820ef13a7f7d1ec57a59c91050c926805239aefefbe5383c28daeb4f8e7ff0da7dd0029" --decompile
No branches or pull requests
Given something like:
We get the following output on a
--decompile
run:I'll probably look at this myself at some point.
The text was updated successfully, but these errors were encountered: