+ 3
i came across decompilation. what is it about.
i know we can decompile bytecodes into source code but is it accurate and which software is used for decompilation.
5 ответов
+ 2
As u already knw u can't read byte code. let's say u want to see code of a .jar Decompilers comes to help u with that. it's very helpful when u do reverse engineering.
this is just one tool there r more
http://jd.benow.ca
+ 13
I think any ide can do that, maybe a plugin is required. At least for Eclipse you need to install a plugin.
+ 7
its accurate,different softwares are needed to decompile different programs.
NOTE :- ONLY source of open source softwares are allowee to be decompiled legally
+ 1
many different types of programs, such as net reflector for c# or jd-gui for java are available, and understand there is a difference between disassembly (extracting the machine code which is near 100%accurate ) and decompiling (generating psuedocode from the understood machine code, much less accurate unless built from the ground up to be reflected like c#).
+ 1
another point i want to make is java is only mostly accurate for decompiling, its biggest issues are generic methods, switch case/for loops, and anonymous functions, if none in the code it's pretty much 100% accurate, if it is there's a little work to be done to fully recreate the source code