Can we convert HEX code to C code? Is there any tools avaliable?
with thanks, Karthik
What is "informason" ?
Where do you want it sent?
I sent it 10 minutes ago and I didn't even get thankyou!
Have you read it yet?
"You would have better luck turning hamburger back into a cow". Disassembly, often is used after seing Joe the farmers cow and wanting to make a cow like this (illegally) buying some hamburger from Joes farm.
In my opinion, disassmbly is used 98% of the time for illegal (code stealing) purposes.
Erik
But to continue an argument from the 8052 forum: You do not disassemble to just get a perfect copy, but to get the base to stand on when improving the product.
So you get a competitor with a more complete product (making him say that it isn't a copy, or that your product is old and tired) but where the base functionality is deduced from the disassembly of your product.
I don't think it is done too often on full products (unless the product is small) but more often for stealing specific functions - such as protocol responses, compatibility workarounds, ... that are very hard to deduce with just external black-box testing. I do recommend people to think about the copy-protection bits of the processors. It makes it harder both to do perfect duplicates and to disassemble critical code.
I recall a classic
"I need to disassemble because chip xxx is not available here"
Now I challenge anybody, to find any way that could be anything but stealing code.
The original company should have the original - commented and documented - code to start with when porting to the chip that is no longer available.
But if it isn't that the chip is no longer available, but instead not available at all, then that is a big oops.