Question

Locked

Hex file reader

By yoginc ·
Hi.I wanted to ask if there was any way to display the contents of a hex file.I have a file with the extension '.hex'.I know its part of a program code which i got from somewhere(only a hex file,nothing else).I wish to make changes in the program.Is there any way i can edit the contents of the program using only the hex file,or like,is there a possibility of recovering the program using the hex file only?

This conversation is currently closed to new comments.

14 total posts (Page 2 of 2)   Prev   01 | 02
Thread display: Collapse - | Expand +

All Answers

Collapse -

Yep

by The 'G-Man.' In reply to Hex file reader

but I see no thumbs being handed out so, no.

Collapse -

to respond to yogi's 'Decompiler' question

by robo_dev In reply to Yep

In terms of reverse-engineering, you cannot really get the source back from compiled code; it does not work that way. While there are some things that it can figure out if it's a very simple program, at most it's hit-or-miss. And don't forget that these tools are made for one specific program...you need a decompiler specific to DOS executables, and a specific one for flash, etc. etc.

What I've seen is that you get back are some snippets of code, which give you a rough idea of the program flow. If the program is security related, or the developer does not want it to be hacked, he/she can use encryption and a great deal of obfuscation to frustrate any attempts to decompile and steal the code. And on top of that, what you can end up with is like 100,000 lines of un-commented and incomplete code...a real pain to work with.

To clarify, a disassembler is a computer program that translates machine language into assembly language, while a decompiler attempts to return machine code all the way back up to source code.

Collapse -

oh well...

by yoginc In reply to to respond to yogi's 'Dec ...

oh well..thank you all anyway.Got to know about a lot of stuff...i guess i'll try to look for a 'decompiler' if possible,otherwise i guess i'll have to start from scratch and create the full source code myself.Thank you all once again.

Back to Software Forum
14 total posts (Page 2 of 2)   Prev   01 | 02

Related Discussions

Related Forums