+ 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.

22nd Mar 2017, 3:41 PM
shobhit
shobhit - avatar
5 odpowiedzi
+ 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
22nd Mar 2017, 4:03 PM
Eranga
Eranga - avatar
+ 13
I think any ide can do that, maybe a plugin is required. At least for Eclipse you need to install a plugin.
22nd Mar 2017, 5:14 PM
Tashi N
Tashi N - avatar
+ 7
its accurate,different softwares are needed to decompile different programs. NOTE :- ONLY source of open source softwares are allowee to be decompiled legally
22nd Mar 2017, 4:04 PM
Meharban Singh
Meharban Singh - avatar
+ 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#).
23rd Mar 2017, 1:40 AM
William La Flamme
William La Flamme - avatar
+ 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
23rd Mar 2017, 1:44 AM
William La Flamme
William La Flamme - avatar