mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Bazaar/Protect : updated docs
git-svn-id: svn://ultimatepp.org/upp/trunk@3158 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
46a04d628c
commit
19e408be2d
2 changed files with 3 additions and 5 deletions
|
|
@ -896,11 +896,9 @@ string, every 2 chars represent 1 hex byte.&]
|
|||
[s0; &]
|
||||
[s0;i150;O0; In your application, enclose parts of code you want
|
||||
to be encrypted by mean of PROTECT`_START`_FUNC(decrFunc) and
|
||||
PROTECT`_END`_FUNC macros, and mark function as [* non`-optimizable],
|
||||
otherwise the optimizing compiler will rearrange the code and
|
||||
make the system crash : :&]
|
||||
PROTECT`_END`_FUNC macros :&]
|
||||
[s0; &]
|
||||
[s0;l160; [*/ PROTECT`_NO`_OPTIMIZE][/ void MyEncryptedFunction(void)]&]
|
||||
[s0;l160; [/ void MyEncryptedFunction(void)]&]
|
||||
[s0;l160; [/ `{]&]
|
||||
[s0;l160; [/ -|][*/ PROTECT`_START`_FUNC(Decrypt);]&]
|
||||
[s0;l160;/ &]
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ we can make cracker`'s live a bit more difficult if we encrypt
|
|||
somehow also sensitive parts of code with a random key.&]
|
||||
[s0; This is done by another couple of macros :&]
|
||||
[s0; &]
|
||||
[s0;l160; [*/ PROTECT`_NO`_OPTIMIZE][/ void MyObfuscatedFunction(void)]&]
|
||||
[s0;l160; [/ void MyObfuscatedFunction(void)]&]
|
||||
[s0;l160; [/ `{]&]
|
||||
[s0;l160; [/ -|][*/ OBFUSCATE`_START`_FUNC;]&]
|
||||
[s0;l160;/ &]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue