decompiler

How can I make Lua scripts un-decompilable?

跟風遠走 提交于 2020-01-22 15:11:20
问题 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 scripts. Does anyone have have any tips on how I can make my scripts un-decompilable? 回答1: Encryption; that's really the only way it's going to work. Of course, since your program would have to decrypt them, they could just snatch the decrypted data

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

∥☆過路亽.° 提交于 2020-01-12 09:15:16
问题 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 me any hints about this? Thanks ahead for all the help. Code to generate code for all the types inside an assembly: DirectoryInfo di = new DirectoryInfo(appPath); FileInfo[] allAssemblies = di.GetFiles("*.dll"); foreach (var assemblyFile in

Decompile JAVA DLL

白昼怎懂夜的黑 提交于 2020-01-03 05:33:14
问题 I've received a java dll file with an app I've downloaded. This DLL file was written in Java and now I want to decompile it. Here is how I call this dll that contains a jar: new JarInputStream(getClass().getResourceAsStream("jarjava.dll")); Is there a way to decompile it? 回答1: Java source files are compiled to .class files. As far as I know, there is no standard way to compile java code to a DLL. What could have happened here: This is C code written against the JNI API, to be used to interact

Eclipse Class File Metadata

*爱你&永不变心* 提交于 2020-01-02 12:47:51
问题 In Visual Studio, I can obtain a succinct list of public methods/members exposed in a class for which I do not have the source (i.e. bundled inside a DLL) by pressing F12 (GoToDefinition). Similarly, I am learning the Android API - in Eclipse. Jumping to an Android framework method definition produces decompilation output which is not intuitive to read, and is very verbose. To mimic results like Visual Studio, I am considering several options: How can I format the decompilation output to be

Decompiling an ARM asm back to C

给你一囗甜甜゛ 提交于 2020-01-02 05:30:10
问题 I wrote a nice ARM assembler routine a few years back and it has done its job beautifully over the years on the ARM embedded systems it was designed for. Now, the time has come to port it on to non-ARM systems and I was wondering if there was tool or some sort of method to take my original ARM assembler source and get a rudimentory C file from it. I could probably do it myself in a couple of days, but it would be nice to have a starting point. Nicer still if the app or method was free :) Any

Is there a way to compare two .exes to see what differs between them?

那年仲夏 提交于 2019-12-25 12:15:52
问题 Is there a tool / process by which I can decompile two .exes (one of which runs on a handheld device, the other which doesn't) so that I can get a glimpse into what differs/what the problem may be? Of course, seeing that one has "00xA" where the other has "00xB" won't help me. I mean a way to see code that differs, or more likely, a compiled resource or config file difference, or some build option or so? I'm almost positive the problem has nothing to do with code per se (if/while/switch

Is there a way to compare two .exes to see what differs between them?

本小妞迷上赌 提交于 2019-12-25 12:15:20
问题 Is there a tool / process by which I can decompile two .exes (one of which runs on a handheld device, the other which doesn't) so that I can get a glimpse into what differs/what the problem may be? Of course, seeing that one has "00xA" where the other has "00xB" won't help me. I mean a way to see code that differs, or more likely, a compiled resource or config file difference, or some build option or so? I'm almost positive the problem has nothing to do with code per se (if/while/switch

Google maps does not work after resigning an apk

醉酒当歌 提交于 2019-12-24 12:22:09
问题 I am doing some modification in an existing apk that i got from my client to modify. I have decompiled application using apktool, changed some resources (like some strings from strings.xml ) and recompiled/built it again using same tool. Then I signed using one_click_signer tool that I found somewhere of the google. But when I install it on my device then google maps does not work anymore as it was working with original apk on the same device. I have searched a lot about this but did not got

Indirect jump destination calculation

旧街凉风 提交于 2019-12-24 06:58:30
问题 Given an arbitrary executable, is it possible to determine some or all of the indirect branch destination addresses? What is a programmatic approach to computing these destinations? I'm asking because I am reconstructing a CFG from an executable and can't figure out a clean way of computing indirect branches. Sometimes the operand can be determined with a little forensic analysis, but other times it's not so clear. 回答1: Calculating possible indirect branch destinations in a compiled program

Why Decompilers cant produce original code theoretically

喜欢而已 提交于 2019-12-23 02:34:05
问题 I searched the internet but did not find a concrete answer that why decompilers are unable to produce original source code. I dint get a satisfactory answer. Somewhere it was written that it is similar to halting problem but dint tell how. So what is the theoretical and technical limitation of creating a decompiler which is perfect. 回答1: It is, quite simply, a many-to-one problem. For example, in C: b++; and b+=1; and b = b + 1; may all get compiled to the same set of operations once the