Questions tagged [decompiler]

A decompiler performs, as far as possible, the reverse operation to that of a compiler.

That is, it translates a file containing information at a relatively low level of abstraction (usually designed to be computer readable rather than human readable) into a form having a higher level of abstraction (usually designed to be human readable).

The decompiler does not reconstruct the original source code, and its output is far less intelligible to a human than original source code.

Resources

575 questions
736
votes
17 answers

decompiling DEX into Java sourcecode

How can one decompile Android DEX (VM bytecode) files into corresponding Java sourcecode?
Will
  • 68,898
  • 35
  • 156
  • 231
556
votes
19 answers

How do I "decompile" Java class files?

What program can I use to decompile a class file? Will I actually get Java code, or is it just JVM assembly code? On Java performance questions on this site I often see responses from people who have "decompiled" the Java class file to see how the…
Kip
  • 99,109
  • 82
  • 222
  • 258
302
votes
8 answers

How to decompile a whole Jar file?

Does anyone know of a free decompiler that can decompile an entire Jar file instead of a single class? I have a problem with sub classes like name$1.class name$2.class name.class
StoneHeart
  • 14,122
  • 31
  • 65
  • 83
63
votes
13 answers

how to use DEXtoJar

I find the solution to decompile a file dex to jar from this link http://code.google.com/p/dex2jar/downloads/list but i don't understand how to use it.
fou
  • 661
  • 1
  • 6
  • 6
44
votes
14 answers

How to get Java Decompiler / JD / JD-Eclipse running in Eclipse Helios

Java Decompiler (JD) is generally recommended as a good, well, Java Decompiler. JD-Eclipse is the Eclipse plugin for JD. I had problems on several different machines to get the plugin running. Whenever I tried to open a .class file, the standard…
43
votes
5 answers

Decompile Python 2.7 .pyc

I've searched up and down, but can't find a de-compiler that will work for Python 2.7 .pyc. Does anybody know of one that will work for Python 2.7? Thanks
suffa
  • 3,178
  • 7
  • 41
  • 62
42
votes
11 answers

IntelliJ shows decompiled .class file instead of source code

I am having issues with IntelliJ - it shows me a "decompiled" version of the class instead of its source code if I ctrl+click the class. This is what I see: I am trying to open regular JDK source files. The most relevant issue I found is explained…
takeoff
  • 433
  • 1
  • 4
  • 6
41
votes
9 answers

Choose and test java decompiler

Now I'm trying to find the best java decompiler, I found these: http://java.decompiler.free.fr/ http://www.reversed-java.com/fernflower/ http://dj.navexpress.com/ http://cavaj-java-decompiler.en.softonic.com/ With these decompilers I handle byte…
user471011
  • 6,480
  • 15
  • 57
  • 84
37
votes
8 answers

How to debug compiled Java code in Eclipse

I wonder if there are any solutions for Eclipse IDE to debug Java code for which I have no source, i.e. to debug dynamically decompiled code, step through it, etc.? I tried to use JD-Eclipse, JadClipse, and these plug-ins work great if I want to…
NSPKUWCExi2pr8wVoGNk
  • 2,343
  • 2
  • 19
  • 26
37
votes
9 answers

How to change already compiled .class file without decompile?

I want to change .class file's method. I installed JD Eclipse Decompiler and opened the .class file. I added some codes and save .class file. But, .class file is not changing. I don't know how to use decompiler. And if is it possible, how to change…
Breed Hansen
  • 1,079
  • 3
  • 13
  • 21
36
votes
7 answers

How does one decompile and recompile a database application?

I have an Access database application and I would like to know the proper way of decompiling and recompiling it.
Alex Gordon
  • 51,480
  • 273
  • 609
  • 976
34
votes
4 answers

Is there a java classfile / bytecode editor to edit instructions?

Is there a utility (or eclipse plugin) for editing java class files? I'd like to manipulate the bytecode of a java class file without recompiling it nor having a complete buildpath. E.g. to rename methods, add/delete instructions, change constants…
MRalwasser
  • 14,580
  • 14
  • 95
  • 134
33
votes
2 answers

Eclipse "Enhanced Class Decompiler" plugin does not decompile when debugging

Problem description: Decompile works fine when viewing a class (i.e. Ctrl+Shift+T), but not when stepping into code from the debugging perspective - instead the "Class File Viewer" is opened. Version Used: Eclipse Oxygen and Enhanced Class…
panschk
  • 2,988
  • 3
  • 22
  • 20
29
votes
2 answers

Android - How to decode and decompile any APK file?

I'm working on ads: my customers gave me some APK files of their Apps. My work consists of inserting ad banners into them. After closing the ad banners, these apps will run. My question is: How to decode and decompile APK file?
green.android
  • 711
  • 2
  • 7
  • 21
27
votes
3 answers

Compiler C to Brainfuck (for harassing a professor)?

A professor of mine has said he'll accept homework assignments in any language we'd care to use. I'm on good enough terms that I'd like to mess with him a bit and submit a valid homework assignment using brainfuck, whitespace, or some equally…
Sevenless
  • 2,645
  • 2
  • 24
  • 46
1
2 3
38 39