Home » Developing U++ » UppHub » UPDATED PROTECT PACKAGE
UPDATED PROTECT PACKAGE [message #49949] |
Wed, 06 June 2018 12:55 |
mdelfede
Messages: 1308 Registered: September 2007
|
Ultimate Contributor |
|
|
Hi all,
I updated the Protect package to work with new compilers and also on 64 bit versions of MSC, removing completely the
inline assembly code.
The package now used Xed intel x86 decoder/encoder library to do a smart encryption/decryption of executable, solving
many problems of former version.
So :
- The application now encodes JUST the first byte of any machine instruction, and doesn't touch at other data, which solves
problems with linker fixups.
- The application uses just a couple of compiler's builtins, no inline assembly at all, so it works also on 64 bit MSC compiler
- I added string encryption/decryption features, so you can also encrypt some text or binary data.
The usage is a bit different than before (mostly for the Decrypt macro parameter, replaced with GetCypher); you can look at docs or at the sample ProtectTest application.
Ciao
Max
|
|
|
Goto Forum:
Current Time: Fri Apr 25 12:40:47 CEST 2025
Total time taken to generate the page: 0.01262 seconds
|