Re: [Dev-C++] Split code in public/private parts - Help please
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <or...@vp...> - 2004-01-11 14:41:10
|
Jean-Marc Godart wrote: > I thank you all for your advice/comments. > > You are right about my intents, Haakon. I am marketing a kinda complex > "mathematical" algorithm for planning trips/tours. Since this algorithm has > to be interfaced by customers, once compiled, I want the source code of the > algorithm to be "hidden" (as far as the customers don't try to do > decompilation or reverse engineering). I definitely do not want customers to > see what the algorithm does but also not the names of "private" > functions/variables, except for the main function (called "algorithm()") and > its parameters, of course. > > Any additional advice/reference on this topic ? Also, if you have > ideas/references about how I can make decompilation and reverse engineering > more difficult, I would be very pleased to know them. Well, this is theoretically impossible. Nearly everything can be cracked/reverse engineered nowadays. However, you may try writing a small program that scans all of your source code, and then renames everything inside: variable, function names, except what you specify not to rename. Then you compile that. That way, you won't get lost in your sources, as you develop the "readable" version, but compile the "renamed" one. That may help some, though you will have to write a new program, the code parser/renamer. -- Greetings, Balázs |