how to protect the codes

For C and ASSEMBLY users to post questions and code snippets for programming in C and ASSEMBLY. And for any other C or ASM course related questions.

Moderators: Benj, Mods

Post Reply
saravana_3
Posts: 61
Joined: Thu Dec 20, 2007 4:23 pm
Location: singapore
Contact:

how to protect the codes

Post by saravana_3 »

after we write the codes, if the code become a company product, how to protect the code, from others copying the code. is there any kind of encription to protect the code.
my another doubt, is able to convert the hex code back to the assembly code.
i thing by ON the code protection, others cannot read the hex code from the cip. is there any other way to protect the code
thanks
saran

User avatar
Steve
Matrix Staff
Posts: 3424
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: how to protect the codes

Post by Steve »

Code protection is what you require, but I think it can be hacked by someone who is very keen to get at your code.

I'm not sure if a disassembler will be useful to anyone, because it will not be able to reproduce your comments, variable names or label names within your program. This means the code is going to be very difficult to understand, especially for a complicated program.

saravana_3
Posts: 61
Joined: Thu Dec 20, 2007 4:23 pm
Location: singapore
Contact:

Re: how to protect the codes

Post by saravana_3 »

Hi Steve,
do you mean when burn the program in to the chip,ON the code protection in the configuration, is the only way to protect the code.
thanks
saran

User avatar
Steve
Matrix Staff
Posts: 3424
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: how to protect the codes

Post by Steve »

Yes - turn "code protection" on when burning the code into the chip.

Post Reply