This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

obfuscate code

I've got some code and I need to stop people looking at it and stealing it. Can I obfuscate it easily?. I also need to do it with the .hex code so they cant reverse it.

I think this is a very common requirement. Is there a button in keil to do it?

Advise please.

Parents
  • reverse engineering the code read out from a chip is virtually impossible.

    I have to disagree with that. It is totally achievable; and certainly simpler than trying to light a match on a bar of soap.

    I say that as someone who has done it a number of times and all of them legally. The first important requirement is having a known starting point (which on embedded systems can normally be easy to determine) and the second is having a reasonable idea of what the code is trying to do.

    A good knowledge of the processor architecture and experience of doing the job makes the task easier.

    There are also a number of very good tools available that make the task easier still.

    Obfuscation is just something that can make the task more difficult.

    If you have any doubt about this, you just need to consider the cat and mouse actions associated with the more nefarious purposes of reverse engineering.

Reply
  • reverse engineering the code read out from a chip is virtually impossible.

    I have to disagree with that. It is totally achievable; and certainly simpler than trying to light a match on a bar of soap.

    I say that as someone who has done it a number of times and all of them legally. The first important requirement is having a known starting point (which on embedded systems can normally be easy to determine) and the second is having a reasonable idea of what the code is trying to do.

    A good knowledge of the processor architecture and experience of doing the job makes the task easier.

    There are also a number of very good tools available that make the task easier still.

    Obfuscation is just something that can make the task more difficult.

    If you have any doubt about this, you just need to consider the cat and mouse actions associated with the more nefarious purposes of reverse engineering.

Children