Merge pull request #3424 from wbt/addDecompilerLink

Correct FAQ answer re: decompiler
This commit is contained in:
chriseth
2018-01-26 19:22:15 +01:00
committed by GitHub
+6 -5
View File
@@ -39,12 +39,13 @@ This is just the bytecode "data" sent along with the request.
Is there a decompiler available? Is there a decompiler available?
================================ ================================
There is no decompiler to Solidity. This is in principle possible There is no exact decompiler to Solidity, but
to some degree, but for example variable names will be lost and `Porosity <https://github.com/comaeio/porosity>`_ is close.
great effort will be necessary to make it look similar to Because some information like variable names, comments, and
the original source code. source code formatting is lost in the compilation process,
it is not possible to completely recover the original source code.
Bytecode can be decompiled to opcodes, a service that is provided by Bytecode can be disassembled to opcodes, a service that is provided by
several blockchain explorers. several blockchain explorers.
Contracts on the blockchain should have their original source Contracts on the blockchain should have their original source