Is it possible to decompile code in C?

Is it possible to decompile code in C?

While decompiling itself is possible to some extent, whether it’s applicable in your situation is another thing which depends on the available software. Personally I would start deciphering the code manually and roughly reconstructing the code with C.

Is there a bug in the assembler program?

I’m faced with finding a bug in a 10,000+ lines assembly program, and maintaining it in the future. It concerns assembler code for a PIC18 microchip microcontroller. The code was written by a former colleague who is no longer available, and he left no documentation and his code is very poorly commented.

Can a reverse engineer disassemble a C + + Assembly?

A reverse engineer would still be able to disassemble it, but gleaning any C or C++ code out of the assembly would be an act of guessing and interpretation. C#, however, compiles to CIL (Common Intermediate Language).

Which is easier to decompile C # or C + +?

C# is inherently easier to decompile into source code because it contains meta-data and most C# code must comply with a set of rules called “verifiable code”. Decompilers take advantage of the adherence to these rules along with attached metadata to make decompilation much better than equivalent C++ decompilers.

What does decompiler do on the command line?

Decompiler reads program binaries, decompiles them, infers data types, and emits structured C source code. Designed with a pluggable architecture, it currently has: Decompiler comes with a GUI and a command-line interface.

How is an IDC used as a decompiler?

IDC is an interactive decompiler, where the user starts with an almost literal translation of Assembly code in C language, which he progressively decompiles by the successive application of low-level refactorings, ultimately leading to high-level C code.

Is there any tool for decompiling raw binary files to C…?

BTW, manual decompilation is very tedious; perhaps “horrible” is a better definition… In my opinion, it’s probably the most tedious task in RE. MicroAPL offers a tool called Relogix which is supposedly able to do it: