EzDevInfo.com

decompiler

A decompiler with multiple backend support, written in Python. Works with IDA and Capstone.

Where can I find a Java decompiler? [duplicate]

This question already has an answer here:

http://www.kpdus.com/jad.html#download ?

The above link to JAD (a Java decompiler) is not working. Is there any other place where I can find a Java decompiler?


Source: (StackOverflow)

JD Decompiler for Eclipse 4.2 Juno

It appears that the website for the JD Decompiler is down, but fortunately, I found the JAR files for this plugin on my hard drive: jd.ide.eclipse.win32.x86_64_0.1.3.jar and jd.ide.eclipse_0.1.3.jar. I put them in the plugins directory of my Eclipse 4.2 Juno installation, but it seems like the plugin doesn't work. Does anyone here have this problem?

Is there anywhere else where I can find this plugin? Thanks!


Source: (StackOverflow)

Advertisements

decompiling DEX into Java sourcecode

How can one decompile Android DEX (VM bytecode) files into corresponding Java sourcecode?


Source: (StackOverflow)

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 compiler optimizes certain things.


Source: (StackOverflow)

How to decompile a whole Jar file? [closed]

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


Source: (StackOverflow)

How to debug compiled Java code in Eclipse [closed]


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 look at some class files, but as I debug, I get "Source not found." - how can I "attach" these plug-ins to "provide" source?

My environment:

  • Eclipse 3.5
  • Windows XP (but I look for a cross platform solution, if possible)

Thank you.


Source: (StackOverflow)

Choose and test java decompiler [closed]

Now I'm trying to find the best java decompiler, I found these:

With these decompilers I handle byte code of this class:

public class ss
{
public static void main(String args[])
{
  try{
   System.out.println("try");

  }
  catch(Exception e)
  {
   System.out.println("catch");
  }
  finally
  {System.out.println("finally");}
}
}

and I got the following results:

fernflower:

public class ss {

   public static void main(String[] var0) {
      try {
         System.out.println("try");
      } catch (Exception var5) {
         System.out.println("catch");
      } finally {
         System.out.println("finally");
      }

   }
}

DJ Java Decompiler:

import java.io.PrintStream;

public class ss
{

    public ss()
    {
    }

    public static void main(String args[])
    {
        System.out.println("try");
        System.out.println("finally");
        break MISSING_BLOCK_LABEL_50;
        Exception exception;
        exception;
        System.out.println("catch");
        System.out.println("finally");
        break MISSING_BLOCK_LABEL_50;
        Exception exception1;
        exception1;
        System.out.println("finally");
        throw exception1;
    }
}

cavaj:

import java.io.PrintStream;

public class ss
{

    public ss()
    {
    }

    public static void main(String args[])
    {
        System.out.println("try");
        System.out.println("finally");
        break MISSING_BLOCK_LABEL_50;
        Exception exception;
        exception;
        System.out.println("catch");
        System.out.println("finally");
        break MISSING_BLOCK_LABEL_50;
        Exception exception1;
        exception1;
        System.out.println("finally");
        throw exception1;
    }
}

http://java.decompiler.free.fr/:

import java.io.PrintStream;
public class ss
{
  public static void main(String[] paramArrayOfString)
  {
    try
    {
      System.out.println("try");
    }
    catch (Exception localException)
    {
      System.out.println("catch");
    }
    finally {
      System.out.println("finally");
    }
  }
}

I see that the best result in decompiler: http://java.decompiler.free.fr/

To test, I wrote very simple code. What do you think, what code to write to test decompilers? Maybe the idea is to better than a try{} catch(){} finally{}?


Source: (StackOverflow)

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 "Source not found" editor would show, displaying lowlevel bytecode disassembly, not the Java source output you'd expect from a decompiler.

Installation docs in http://java.decompiler.free.fr/?q=jdeclipse are not bad but quite vague when it comes to troubleshooting.

Opening this question to collect additional information: What problems did you encounter before JD was running in Eclipse Helios? What was the solution?


Source: (StackOverflow)

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

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

The only utilities I found are:

  • classeditor but it's very limited in functionality (e.g. renaming of things and manipulating instructions isn't possible).

  • jbe doesn't save changes (maybe because class verifying fails - before I made any changes, although the class runs perfectly)

    (jbe initially had a classpath issue, adding the class path to the jbe.bat file helped)


Source: (StackOverflow)

Android - How to decode and decompile any APK file?

I'm working for ads. My customers give me some APK files of their Apps. My work is insert ads banners into them. After close ads banners, these apps will run. My question is : How to decode and decompile APK file ?


Source: (StackOverflow)

Decompiler for APK? [closed]

I know it is not right to do this, but is there any APK decoder/decompiler available around?

[Edit] From all efforts and searching i can conclude that, its not possible to regenerate exact java code from APK. Even re-engineering from DEX file will give procedural steps. Definitely it will help to understand the code & approach; It will be not at all compilable.


Source: (StackOverflow)

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.


Source: (StackOverflow)

How to decompile an exe file compiled by py2exe?

How to decompile an exe file compiled by py2exe?

just one exe file, didn'n have any zip file.

how to decompile to pyc or pyo file?


Source: (StackOverflow)

Obfuscating C-based binaries to avoid decompilation

Is there some way to obfuscate C-based executables or libraries to prevent decompilation?


Source: (StackOverflow)

Is there any way to decompile Linux .so?

Is there any way to decompile Linux .so?


Source: (StackOverflow)