diff options
author | chriseth <chris@ethereum.org> | 2018-01-27 02:22:15 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-27 02:22:15 +0800 |
commit | 9028610b451faeb649bc1c2f77d832e1e712ba0e (patch) | |
tree | 78bfc787a1e17d833b4d884ab172369d14940a7f | |
parent | bbad48bb347fe29a7418afbe00c4d4bb73674a90 (diff) | |
parent | efcc8efffa44a7f171981d1494524ad1193898ae (diff) | |
download | dexon-solidity-9028610b451faeb649bc1c2f77d832e1e712ba0e.tar.gz dexon-solidity-9028610b451faeb649bc1c2f77d832e1e712ba0e.tar.zst dexon-solidity-9028610b451faeb649bc1c2f77d832e1e712ba0e.zip |
Merge pull request #3424 from wbt/addDecompilerLink
Correct FAQ answer re: decompiler
-rw-r--r-- | docs/frequently-asked-questions.rst | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/frequently-asked-questions.rst b/docs/frequently-asked-questions.rst index 7c934041..a6bead29 100644 --- a/docs/frequently-asked-questions.rst +++ b/docs/frequently-asked-questions.rst @@ -39,12 +39,13 @@ 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. +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 decompiled to opcodes, a service that is provided by +Bytecode can be disassembled to opcodes, a service that is provided by several blockchain explorers. Contracts on the blockchain should have their original source |