Can we generate a C++ source code from the binary file?

Questions by suji   answers by suji

Showing Answers 1 - 12 of 12 Answers

mchauhan

  • Oct 22nd, 2005
 

Technically this is possible, but in my knowledge their no such software available yet.Why this is possible? In program flow we do like this to generate binary file.High level language programming code -low level programming code- hex code- binary code.How we can do reverse can be illustrated with this example. When I type 0 on screen the ASCII equivalent is 65 and so the binary code will be by converting 65  (01010 0101) so I can recognize this and decode this. Same technique can be used. Some secret mission defense org. I heard have this code splitter from binary to assembly language (low level language)/ Converter type devices available, they use them for secret national purpose.

By Mukesh Chauhan ? Bangalore

anbarasan

  • Oct 28th, 2005
 

hi

this is anbararasn

i want c++ advance and most important techncal interview question and answers

please sir

send it to me

ASAP

thanking you

S.Anbarasan

  Was this answer useful?  Yes

m11aravind

  • Nov 10th, 2005
 

No, we cannot generate a c++ source code from the binary file bcoz we can compile highlevel language to lowlevel language but not lowlevel language to highlevel language

Moparthi Aravind

yzesong

  • Aug 1st, 2009
 

If you can load the binary file using some kind of debugging tools which also display the binary code in ASCII characters for the code segment, you may see the corresponding C++ source code which displayed in ASCII characters. 

  Was this answer useful?  Yes

It is possible technically, because high level language codes converted into low
level, so there are some ways to converts this low level to high level..
For
Example
2 - 0000 0010
so it can be converted 0000 0010..
There
are some software which are used in private areas.

  Was this answer useful?  Yes

vladatzar

  • Oct 29th, 2010
 

It is NOT possible!
Binary file can be ONLY dissasembled to Assembler Source Code.
C# CAN be decompiled and can give proper C# Source code, but this is because C# is more like interpreter and .NET is interpreting the code, so binary file is just set of orders to interpreter and not real assembler code.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions