Merge pull request #4520 from ethereum/faq-reorg-index-tools

Move note on decompiling
This commit is contained in:
chriseth 2018-07-20 13:44:12 +02:00 committed by GitHub
commit 9697b5886e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 21 deletions

View File

@ -25,21 +25,6 @@ What is the transaction "payload"?
This is just the bytecode "data" sent along with the request.
Is there a decompiler available?
================================
There is no exact decompiler to Solidity, but
`Porosity <https://github.com/comaeio/porosity>`_ is close.
Because some information like variable names, comments, and
source code formatting is lost in the compilation process,
it is not possible to completely recover the original source code.
Bytecode can be disassembled to opcodes, a service that is provided by
several blockchain explorers.
Contracts on the blockchain should have their original source
code published if they are to be used by third parties.
Create a contract that can be killed and return funds
=====================================================

View File

@ -119,11 +119,14 @@ Solidity Tools
* `solgraph <https://github.com/raineorshine/solgraph>`_
Visualize Solidity control flow and highlight potential security vulnerabilities.
* `Doxity <https://github.com/DigixGlobal/doxity>`_
Documentation Generator for Solidity.
* `evmdis <https://github.com/Arachnid/evmdis>`_
EVM Disassembler that performs static analysis on the bytecode to provide a higher level of abstraction than raw EVM operations.
* `Doxity <https://github.com/DigixGlobal/doxity>`_
Documentation Generator for Solidity.
.. note::
Information like variable names, comments, and source code formatting is lost in the compilation process and it is not possible to completely recover the original source code. Decompiling smart contracts to view the original source code might not be possible, or the end result that useful.
Third-Party Solidity Parsers and Grammars
-----------------------------------------