From a396572f570d94e016d238ba2c8336864c107742 Mon Sep 17 00:00:00 2001 From: wbt Date: Tue, 23 Jan 2018 09:53:00 -0500 Subject: Update FAQ answer re decompiler --- docs/frequently-asked-questions.rst | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/frequently-asked-questions.rst b/docs/frequently-asked-questions.rst index 7c934041..7837fa78 100644 --- a/docs/frequently-asked-questions.rst +++ b/docs/frequently-asked-questions.rst @@ -39,12 +39,14 @@ This is just the bytecode "data" sent along with the request. Is there a decompiler available? ================================ -There is no decompiler to Solidity. This is in principle possible -to some degree, but for example variable names will be lost and -great effort will be necessary to make it look similar to -the original source code. - -Bytecode can be decompiled to opcodes, a service that is provided by +There is no official decompiler to Solidity, but third party security +company `Comae `_ has developed +`Porosity `_. +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 -- cgit v1.2.3 From efcc8efffa44a7f171981d1494524ad1193898ae Mon Sep 17 00:00:00 2001 From: wbt Date: Fri, 26 Jan 2018 13:15:22 -0500 Subject: Respond to chriseth's suggestions https://github.com/ethereum/solidity/pull/3424#pullrequestreview-90873869 --- docs/frequently-asked-questions.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/frequently-asked-questions.rst b/docs/frequently-asked-questions.rst index 7837fa78..a6bead29 100644 --- a/docs/frequently-asked-questions.rst +++ b/docs/frequently-asked-questions.rst @@ -39,9 +39,8 @@ This is just the bytecode "data" sent along with the request. Is there a decompiler available? ================================ -There is no official decompiler to Solidity, but third party security -company `Comae `_ has developed -`Porosity `_. +There is no exact decompiler to Solidity, but +`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. -- cgit v1.2.3