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
7
votes
2 answers

How can I decompile .pyc files from Python 3.10?

I did try uncompyle6, decompyl3, and others, but none of them worked with 3.10. Is it even possible to do this right now?
Rana
  • 81
  • 1
  • 1
  • 3
7
votes
3 answers

How to decompile pdb to get C# source code?

My scenario: I want to write in log file part of code where exception has happened (for example 5 lines before and 5 lines after line where exception happened - or at least all the code of that method). My idea is to decompile pdb file in C# code…
Bero
  • 229
  • 1
  • 3
  • 16
7
votes
1 answer

decompile Kotlin source code from .apk file

Few days back my Hard Drive courrupted due to this I lost my whole project files. I have an .apk file of that project. but problem is that the .apk files contain 100% Kotlin language. I found one way to decompile code, but bad luck it doesn't…
Kaunain
  • 168
  • 3
  • 16
7
votes
1 answer

Decompile .class files to .java source code using java libraries

I am working on project of java that needs to decompile .class file to source code, I've found many ways such as such as JAD decompiler and 'javap -p' method... , but I think these methods are cannot be done programatically (please tell if can), Is…
droidev
  • 7,352
  • 11
  • 62
  • 94
7
votes
4 answers

Can you decompile a game down to its original source code?

I use Battlefield 4 just as an example, this can go for any game really. I've been wondering if something like this is possible: Since BF4 is running client-side, that means you have all the code that makes up the game. Would it 'technically' be…
novs12
  • 657
  • 2
  • 7
  • 15
7
votes
1 answer

How can I decompile a batch of .NET DLLs into a Visual Studio project

I just need to search for bits of text in my C# code. I already have .NET Reflector and the File Disassembler Add-In, but these just seem to decompile one DLL.
John Assymptoth
  • 8,227
  • 12
  • 49
  • 68
6
votes
4 answers

ILSpy, how to resolve dependencies?

I want to disassemble an entire .NET assembly with ILSpy. I used this code as base: http://skysigal.xact-solutions.com/Blog/tabid/427/entryid/2488/Default.aspx And it works fine, just when I have an assembly that references Npgsql.dll (or any other…
Stefan Steiger
  • 78,642
  • 66
  • 377
  • 442
6
votes
2 answers

extract flutter source code from release apk

Actually I have lost my source code to my app and what I am left with is release apk. I come across some answers of extracting source code from debug apk. But I am afraid that I don't have debug apk. So is there any way to get source code or have I…
Tanha Patel
  • 395
  • 2
  • 9
6
votes
2 answers

Strange behaviour of Kotlin compiler or Java decompiler

This question is driven by my curiosity alone, so I would like to receive a full answer, rather than simple "yes" or "no". Let's consider this piece of code: // Is stored in util files and used to omit annoying (this as? Smth)?.doSmth() inline fun…
GV_FiQst
  • 1,487
  • 14
  • 30
6
votes
3 answers

decompilation resources and theory

There must be a million of books and papers on the theory and techniques of building compilers. Are there any resources on doing the reverse? Im not interested in any particular HW platform. Looking for good books/research papers that examine the…
Saideira
  • 2,374
  • 6
  • 38
  • 49
6
votes
3 answers

How do I decompile Python 3.5 .pyc?

I have been searching around and haven't been able to find anything that can help me to decompile Python 3.5. Does anyone know of one?
Matthew Zielke
  • 151
  • 1
  • 1
  • 7
6
votes
4 answers

Decompiling .apk file created in Appcelerator and getting to .js files

Is there any way to get to .js files with code created with Appcelerator from compiled .apk? I lost a source coude of one of projects and now have only .apk files and would like not to rewrite the whole code. Thank in advance
6
votes
2 answers

Java Decompiler for Eclipse kepler

I have tried both JadClipse and JD-Eclipse plugin but none seems to work every time I open a class file It says "Source not found". Both my *.class and *.class(without source) are by default set to 'JD-Eclipse' but it doesn't seem to work, Has…
Anirudh
  • 2,286
  • 4
  • 38
  • 64
6
votes
2 answers

Android storing key, decompiling fear

I'm using amazing FPS and I have to store the secret key in the java code. However I am afraid that someone would decompile my apk and find the key. I have decompiled the apk myself and could not find the key, but I am not a VM expert. Any help?
Faisal Abid
  • 8,900
  • 14
  • 59
  • 91
6
votes
1 answer

Objective C decompiler

What's the best way to decompile Objective-C applications and libraries? I know about Apple's own otool but was wondering if there is a more user friendly app with some code beatification.
Tarek
  • 2,372
  • 2
  • 23
  • 35