GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Programming  >  C++
Go To First  |  Previous Question  |  Next Question 
 C++  |  Question 49 of 203    Print  
Can we generate a C++ source code from the binary file?

  
Total Answers and Comments: 4 Last Update: August 01, 2009     Asked by: suji 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: m11aravind
 

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



Above answer was rated as good by the following members:
yzesong
October 22, 2005 09:44:27   #1  
mchauhan Member Since: October 2005   Contribution: 19    

RE: Can we generate a C++ source code from the binary ...

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


 
Is this answer useful? Yes | No
October 28, 2005 00:35:43   #2  
anbarasan        

RE: Can we generate a C++ source code from the binary ...

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


 
Is this answer useful? Yes | No
November 10, 2005 10:47:17   #3  
m11aravind Member Since: November 2005   Contribution: 4    

RE: Can we generate a C++ source code from the binary ...

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


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
August 01, 2009 19:52:17   #4  
yzesong Member Since: July 2009   Contribution: 20    

RE: Can we generate a C++ source code from the binary file?
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.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape