Questions tagged [decompile]

Questions about analysing compiled programs to recover source code, or as part of reverse engineering to discover how they work.

A decompiler is a computer program that performs the reverse operation to a compiler. It translates program code from its computer readable form into a human-readable source form, that ideally could be re-compiled to produce the original program. It is possible to decompile by hand as well, or to manually improve the output of a program.

Decompilers do not re-create the original source code and can vary widely in how easy their output is to read. Decompilers are an important tool in reverse engineering, error correction and enhancing of programs for which the source code is unavailable. They are also used for less legitimate purposes such as extracting business secrets and conducting software exploits.

10 questions
38
votes
10 answers

How do app developers protect their app when a user decompiles it?

I've been trying my hand at building apps with Flutter and Dart. I noticed in my apps that if someone decompiled my app they could access a whole lot of things I didn't want them to access. For example, if I am calling my database to set the users…
123432198765
  • 575
  • 1
  • 4
  • 5
18
votes
4 answers

Why can't native machine code be easily decompiled?

With bytecode-based virtual machine languages like Java, VB.NET, C#, ActionScript 3.0, etc., you hear sometimes about how easy it is to just go download some decompiler off the Internet, run the bytecode through it one good time, and oftentimes,…
Panzercrisis
  • 3,145
  • 4
  • 19
  • 34
8
votes
13 answers

Decompilers - Myth or Fact?

Lately I have been thinking of application security and binaries and decompilers. (FYI- Decompilers is just an anti-complier, the purpose is to get the source back from the binary) Is there such thing as "Perfect Decompiler"? or are binaries safe…
Simon
  • 425
  • 3
  • 6
6
votes
3 answers

How is C/C++ more difficult to decompile than C#?

See top answer here: Obfuscation at source-code level more effective than obfuscators?, specifically "Code it in a language so not easy to decompile such as C/C++" I'm looking to write a new application that will be sold for $500 per license, so I'd…
Michael
  • 473
  • 1
  • 4
  • 12
5
votes
2 answers

Is Java easy decompilation a factor worth considering

We are considering the programming language for a desktop application with extended GUI use (tables, windows) and heavy database use. We considered Java for use however the fact that it can be decompiled back very easily into source code is holding…
Sandra G
  • 163
  • 6
2
votes
2 answers

How to safely run random binary codes?

Okay, so I am looking for a way to safely run a randomly generated binary code. I also need to be able to decompile the code. Any ideas and all programming languages are welcome. BTW it most be binary code; byte code or source code will not work.…
amir
  • 29
  • 2
0
votes
2 answers

Is there such a thing as a 'pseudo-compiler' for proprietary software?

I'm interested in whether there is such a thing as a pseudo-compiler that can create a kind of binary or bytecode version of a plaintext script file, which can only be accessed by a proprietary piece of software? I work with a proprietary software…
-2
votes
2 answers

Is extracting strings from an executable considered decompilation?

I am attempting to parse all possible outputs of a proprietary piece of software (ELF binary) whose license explicitly forbids reverse-engineering, decompilation and disassembly. So my question is: Could calling strings on the executable in question…
-2
votes
1 answer

visual studio convert from lib files to source files

I downloaded one of the projects using vc++ and using visual studio 2008. The problem is some of the files are in .lib format, to understand the project completely i want to know the contents of this lib files. Is it possible to extract this .lib…
rajesh
  • 121
  • 2
-6
votes
3 answers

How compiled code works?

I'm just curious, I'd like to understand how compiled code works from the moment I run an executable file. Some time ago I had found a very well written article which helped, using a hex editor, to read a binary file and, for example, find out the…
Daniele
  • 89
  • 3