View previous topic :: View next topic |
Author |
Message |
Zek_De
Joined: 13 Aug 2016 Posts: 100
|
Ccs c-giving just function prototype (.h or .dll) |
Posted: Fri Dec 16, 2016 4:02 pm |
|
|
Hello friends,
Like what is in c #, what should I do if I only want to give the part that the program can only use? Like .dll. Person only use include and write functions
Thanks advance |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9225 Location: Greensville,Ontario
|
|
Posted: Fri Dec 16, 2016 6:34 pm |
|
|
If you're talking about a 'driver' or similar 'function', anyone that cuts CCS C code is capable of either a) reverse enginering your 'code' or b) just making one from scratch
Unless I'm missing the meaning of your post...
One scenario...
You send me your 'driver' that I 'include' into my program. Compile, then dump out the listing...I now have your 'driver' decoded into assembler. From there I can easily recode into CCS C, either by hand or by using an Assembler to CCS C converter. This really isn't 'rocket science'. All it takes is a full pot of coffee and an evening without the phone ringing.
Jay |
|
|
Zek_De
Joined: 13 Aug 2016 Posts: 100
|
|
Posted: Sat Dec 17, 2016 4:26 am |
|
|
******************************************
Last edited by Zek_De on Sat Dec 17, 2016 7:01 am; edited 3 times in total |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19506
|
|
Posted: Sat Dec 17, 2016 4:41 am |
|
|
For this the CCS encrypt option should be fine. He will have to supply a good description of the functions, and then these can be #included by the students, without them being able to see the sources. |
|
|
Zek_De
Joined: 13 Aug 2016 Posts: 100
|
|
Posted: Sat Dec 17, 2016 6:48 am |
|
|
Okay then, I'll be interested with it. Thanks. |
|
|
|