Sign in with
Sign up | Sign in
Your question

Need to decompile a .bin

Last response: in Apps General Discussion
Share
January 5, 2010 1:55:32 AM

I am learning embedded programming in C. I have a .bin file that the former programmer programmed for the chip, but I don't think that the program I have for the chip right now is the correct program. Is there any way to decompile the .bin to compare roughly if it is the program I have now. Thanks for any help.

More about : decompile bin

a b L Programming
January 5, 2010 7:14:04 AM

I don't think you'll be able to decompile it back to C. The best you can expect is to use a debugger, or disassembler, to compare the assembler code.
m
0
l
January 8, 2010 1:48:41 AM

Thanks for the reply. So the only way is probably to disassemble the code using a disassembler. Any thoughts on a good free disassembler.
m
0
l
a b L Programming
January 8, 2010 7:00:56 AM

Depends what chip the program is for. If it's the x86 family the debugger in Visual C++ Express should do the job.

But a disassembled assembler program is going to look very different to a C program.
m
0
l
!