mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #4520 from ethereum/faq-reorg-index-tools
Move note on decompiling
This commit is contained in:
commit
9697b5886e
@ -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
|
||||
=====================================================
|
||||
|
||||
|
@ -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
|
||||
-----------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user