decompiling

Why is it so easy to decompile .NET IL code?

别等时光非礼了梦想. 提交于 2019-12-03 08:54:03
问题 Why is it so easy to decompile .NET IL-code into source code, compared to decompiling native x86 binaries? (Reflector produces quite good source code most of the time, while decompiling the output of a C++ compiler is almost impossible.) Is it because IL contains a lot of meta data? Or is it because IL is a higher abstraction than x86 instructions? I did some research and found the following two usefull articles, but neither of them answers my question. MSIL Decompiler Theory C Decompiler -

How to reverse a DLL into C++ code?

冷暖自知 提交于 2019-12-03 07:42:38
I know it's impossible to reverse a dll into a c++ code so I would like to collect as much as possible details from it. It's not my dll, so I don't have the source code of course. Which program should I use? Well, if you are skilled you can disassemble the DLL and understand all of its functions. This takes a substantial amount of time, but if you do that you can reverse it back to source by hand. Otherwise, you can start by using a tool like Dependency Walker to get the DLLs and functions it depends on, and the functions it exports. From there you can find functions that interest you, and use

How to debug a Java application without access to the source code?

人走茶凉 提交于 2019-12-03 06:58:23
I need to debug a Java application I have no source code for. It is running locally on a Jetty server. Decompiling using JD-GUI works fine. Attaching JDB via a socket connection or shared memory works fine, too. Where I fail is joining the pieces together. I mainly tried Eclipse with the JD-Eclipse plugin and remote debugging. I failed to find a way to successfully attach the debugger to a running process. Everything seems to assume that I have at least parts of the application available as source code in a project, but I have not. And it is quite a large application (200+ MiB of JAR files and

What tool can decompile a DLL into C++ source code? [closed]

末鹿安然 提交于 2019-12-03 03:39:48
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 months ago . I have an old DLL that stopped working (log2vis.dll) and I want to look inside it to see what objects it uses. The DLL was written in C++ (not .NET). Is there a tool that will decompile/disassemble C++ files? 回答1: This might be impossible or at least very hard. The DLL's contents don't depend (a lot) on it

Reflector for Java?

喜欢而已 提交于 2019-12-03 02:16:26
问题 Is there a Java equivalent to .NET Reflector? Edit: more specifically, decompiling is what I'm after. 回答1: From what little I know the functionality of .NET Reflector is available in pretty much all Java IDEs, including Eclipse. Just add a jar file to a projects and you can browse its classes just as you browse your own classes. For the decompiler aspect (as opposed to the pure class browser) there are some alternatives as well. The JDK tool javap only decompiles to byte-code so it isn't

How to decompile an android app from the google play store

给你一囗甜甜゛ 提交于 2019-12-03 00:46:11
I want to decompile one android app that is available on google play store. Can anybody suggest to me an online tool or any apktool that will help me to decompile source code of apk? Thanks in advance. Install which app you need from the playstore. Install Apk Extractor from playstore. Extract the apk using that Apk Extractor app. Just go to this link JavaDecompilers Choose file and do Upload and DEcompile. You will get the zip file. 来源: https://stackoverflow.com/questions/43752446/how-to-decompile-an-android-app-from-the-google-play-store

Why is it so easy to decompile .NET IL code?

∥☆過路亽.° 提交于 2019-12-02 22:50:28
Why is it so easy to decompile .NET IL-code into source code, compared to decompiling native x86 binaries? (Reflector produces quite good source code most of the time, while decompiling the output of a C++ compiler is almost impossible.) Is it because IL contains a lot of meta data? Or is it because IL is a higher abstraction than x86 instructions? I did some research and found the following two usefull articles, but neither of them answers my question. MSIL Decompiler Theory C Decompiler - Quick primer I think you've got the most important bits already. As you say, there's more metadata

How to use ICSharpCode.Decompiler to decompile a whole assembly to a text file?

岁酱吖の 提交于 2019-12-02 21:51:35
问题 I need to get either the whole IL Code or Decompiled Source Code to a text file. Is that possible with the ILSpy Decompile Engine ICSharpCode.Decompiler? 回答1: With ILSpy, you can select an assembly node in the tree view, and then use File > Save Code to save the result to disk. ILSpy will use the currently selected language to do so, so it can both disassemble and decompile. When decompiling to C#, the save dialog will have options for saving a C# project (.csproj) with separate source code

What tool can decompile a DLL into C++ source code? [closed]

99封情书 提交于 2019-12-02 17:07:54
I have an old DLL that stopped working (log2vis.dll) and I want to look inside it to see what objects it uses. The DLL was written in C++ (not .NET). Is there a tool that will decompile/disassemble C++ files? This might be impossible or at least very hard. The DLL's contents don't depend (a lot) on it being written in C++; it's all machine code. That code might have been optimized so a lot of information that was present in the original source code is simply gone. That said, here is one article that goes through a lot of material about doing this. Hex-Rays decompiler is probably the best in

Reflector for Java?

别等时光非礼了梦想. 提交于 2019-12-02 15:48:27
Is there a Java equivalent to .NET Reflector ? Edit: more specifically, decompiling is what I'm after. From what little I know the functionality of .NET Reflector is available in pretty much all Java IDEs, including Eclipse. Just add a jar file to a projects and you can browse its classes just as you browse your own classes. For the decompiler aspect (as opposed to the pure class browser) there are some alternatives as well. The JDK tool javap only decompiles to byte-code so it isn't really useful to get to the source code (but might help with getting an understanding of the code). JAD is a