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

614 questions
6
votes
1 answer

Java 6 / 7 Decompiling Command Line

I'm aware that part of this has been asked before however my search continues empty handed. Currently I'm using JD-Gui to decompile jar files and have switched to fernflower but it seems to have issues with enumeration, will not decompile specific…
user2080413
  • 61
  • 1
  • 2
6
votes
1 answer

Cannot download JD-Eclipse from site? Any other download sources?

Working on a backup laptop that doesn't have JD decompiler installed. Went to the site to download (http://java.decompiler.free.fr) but the download links now appear to reference a Google Drive location and the error message below keeps coming…
Luke Studley
  • 185
  • 1
  • 8
5
votes
2 answers

.NET System.Data namespace decompilation: where can I find the code relating to SQL Server concurrency violations

Where in the .NET System.Data namespace is the code that determines, when the update-command is executed, whether a row in a SQL Server 2K table has been changed after the client program had read it in, i.e. that the client-side version of the row…
Tim
  • 8,669
  • 31
  • 105
  • 183
5
votes
2 answers

ICSharpCode.Decompiler + Mono.Cecil -> How to generate code for a single method?

I'm able to use Mono.Cecil and ICSharpCode.Decompiler to generate the code for a type or an assembly. But if I try to generate the code for a single method I'll get an error "Object reference not set to an instance of an object." Can you guys give…
lpinho
  • 349
  • 2
  • 5
  • 10
5
votes
2 answers

Best tool to decompile a C# .Net 1.1 application

Possible Duplicate: A .net disassembler/decompiler Is there a “free” alternative to .NET Reflector? A good while ago we wrote C# .NET 1.1 application for a customer and during the process of office moves and redundancies, the source code was not…
TeamWild
  • 2,460
  • 8
  • 43
  • 53
5
votes
4 answers

How can I make Lua scripts un-decompilable?

I have many Lua scripts (for the multiplayer mod Multi Theft Auto) that are compiled, for many reasons, including theft prevention. In reality, this is only a theft deterrent, as Luadec (http://luadec51.luaforge.net/) can easily de-compile the…
user1066652
5
votes
3 answers

C# commandline decompiler

I'm looking to decompile a lot of assemblies into C#. I found several tools that do a visual decompile. However I was wondering if there is a tool that can do decompiling from the command line (similar to ildasm /OUT). The motivation is that there…
user1042466
  • 51
  • 1
  • 2
5
votes
3 answers

Getting the AST of a function

Say I have a function: function hi() print('hi') end I'd like to be able to take this function as an argument and perform analysis on it, such as listing all the function calls in it, seeing all the variables it references, etc. Note that I'm…
Seth Carnegie
  • 73,875
  • 22
  • 181
  • 249
5
votes
3 answers

decompile/extract microsoft agent?

I'm looking for a way to decompress or decompile a microsoft agent. for example the merlin agent I'd like to extract the animations/images. best way i've found so far is. recording my screen with a pink background. and splitting the video... but…
Mars
  • 4,197
  • 11
  • 39
  • 63
5
votes
3 answers

Why are decompiled java programs not always directly compilable and what are the parts that are not?

So I am trying to make slight valid legal changes to a compiled java program. I am decompiling it using JD-GUI for Mac. For the most part the decompiled code is error free but there are some strange things like undeclared variables, multiple…
Sam Bryant
  • 51
  • 3
5
votes
2 answers

Searching through *.class files in eclipse

Is it possible to search for terms (such as method names) in .class files (from Referenced Libraries) in eclipse (I am able to view them automatically with JD Java Decompiler, so if I go through various class files I can find what I'm looking for…
alex28
  • 552
  • 2
  • 10
  • 19
5
votes
0 answers

How do I compare two EXE files, find differences and decompile those with Cutter or Radare2?

After struggling for days, I'd like to ask the community :) I have two exe files. Both at the same size and pretty big (around 80MB). The first exe is the original file, which has been compiled some time ago. I also have the corresponding PDB…
Knutwurst
  • 53
  • 2
  • 8
5
votes
0 answers

How to configure Resharper to decompile the implementation assemblies, not the empty reference assemblies?

Context I am using VS 2019 with Resharper 2018.3 developing a .NET Asp Core 3 Preview 5 project. When I ctrl-click (navigate) on an method which is not in my source Resharper decompiles it. Unfortunately Resharper decompiles the empty reference…
g.pickardou
  • 32,346
  • 36
  • 123
  • 268
5
votes
1 answer

Is it possible to add breakpoint at an arbitrary line number in a decompiled file in IntelliJ?

In IntelliJ, if I open a class file for which I don't have the source it gets automatically decompiled. The problem is I want to set a breakpoint on a line number that is further that the last line in the decompiled version of the file. I know that…
qwertzguy
  • 15,699
  • 9
  • 63
  • 66
5
votes
1 answer

Decompile a class/type created dynamically

I'm creating types dynamically by using emit. I'm quite new to this, so I'd like to have look at the code, that I've created, just to make sure it's correct. Is it possible to have a look at the generated code? What's an appropriate way to to…
Joe M. Doe
  • 61
  • 6