Protecting licensing implementation in C++ [closed]
-
23-08-2019 - |
Question
What ways are there to protect licensing enforcement mechanisms in C/C++?
I know of:
- Using macros (but that make the code difficult to maintain)
- Linking statically
- Obfuscating symbol names
Other methods I am not sure about:
- Using C++ templates
- Using inline functions
Solution
It's usually a good idea to keep your code as clean as possible and rely on a third party tool to protect your code. google for "c++ obfuscator" to find such tools.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow