Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/12/03 22:08
Read: times


 
#36291 - Do you really mean \'C\'?
In the subject, you specifically said 'C', but in the actual text of the post you just said "source"

Assembler is a low-level language (LLL) and, as such, gives a 1:1 mapping from source instructions to machine instructions.
Therefore, provided you can identify which bytes are instructions, conversion back to Assembler is easy.
However, it's the identifying of the instruction bytes which, as has already been said, is the difficult bit!

'C', on the other hand, is a high-level language; a single 'C' source statement could produce anything from none to several dozen instructions!
With modern optimising compilers it can be hard enough to follow the generated assembler even when you do have the original source in front of you!!
Therefore it is extremely unlikely that you will find anything which will give any sort of worthwhile 'C' source from a binary object! :-(

If you really, really, really, really do absolutely have to do this "reverse engineering", I'm afraid you're going to have to do it in assembler! :-(

List of 11 messages in thread
TopicAuthorDate
convert hex and exe to c ?            01/01/70 00:00      
RE: convert hex and exe to c ?            01/01/70 00:00      
RE: convert hex and exe to c ?            01/01/70 00:00      
RE: convert hex and exe to c ?            01/01/70 00:00      
RE: convert hex and exe to c ?            01/01/70 00:00      
RE: convert hex and exe to c ?            01/01/70 00:00      
Do you really mean \'C\'?            01/01/70 00:00      
RE: Do you really mean \'C\'?            01/01/70 00:00      
RE: convert hex and exe to c ?Mr karas            01/01/70 00:00      
RE: convert hex and exe to c ?Mr karas            01/01/70 00:00      
RE: convert hex and exe to c ?neil            01/01/70 00:00      

Back to Subject List