top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

decompile the binary to get back to c source code !!!!

+3 votes
468 views

Is there any way to get the original source code from binary ?

posted Oct 31, 2014 by Bheemappa G

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+2 votes

Simple answer is no and in the past there were many startup which came into this area and not so successful. You can get the assembly code from the binary but not the C (high level code) code as there may be infinite number of ways to reach at the same goal (In gdb you could use the command disass/m to see the assembly code)

answer Oct 31, 2014 by Salil Agrawal
Similar Questions
+1 vote

Instead of running on executable , i want to run on source code .... is it possible with valgrind or not ... please help how i can i run on source code ?

If not possible suggest me some alternate ways...

0 votes

I came under a term "address space layout randomization" ? What is the meaning of it ?

Can any one give any example on it how it works and what happens in this feature ?

+2 votes

I need to use microhttpd.a and pthread.a to build a cross-compiled program to be deployed on an arm-linux-gnueabihf device.

Where can I find instructions on how to do this? Or, is this simply a matter of downloading the source code and compiling (on a 64 bit UbuntuPC) to a library with my existing gcc-arm-linux-gnueabihf-4.8 cross-compiler?

While I may be able to find microhttpd.a and pthread.a binaries for an arm-linux-gnueabihf device, they will likely have been built with a different version of gcc-arm-linux-gnueabihf, which, I fear, could open up a can of worms.

...