AntiDebugLIB Function Reference
Http://www.antidebuglib.com

GJ_encrypt_custom_function
GJ_encrypt_custom_function_demo

 

Syntx

   BOOL GJ_encrypt_custom_function(
                                                                   BYTE* _custom_function,
                                                                   unsigned int n_custom_function_size,
                                                                   char* function_name
                                                                   )

   BOOL GJ_encrypt_custom_function_demo(
                                                                               BYTE* _custom_function,
                                                                               unsigned int n_custom_function_size,
                                                                               char* function_name
                                                                               )

Parameters

   _custom_function

         The pointer to the custom function code.

    n_custom_function_size

         The size of custom function code.

   function_name

         The name of custom function.

Returns

   TRUE if encrypt custom function success; FALSE otherwise.

Remarks

   GJ_encrypt_custom_function (or GJ_encrypt_custom_function_demo) Only used in another no released project,the custom function is debuged and encrypted in that project.When GJ_encrypt_custom_function (or GJ_encrypt_custom_function_demo) return TRUE,it will generate "founction_name.h" file.The encrypted code of custom function is included in it.Than include this header file to the release project,invoke GJ_load_custom_founction (or GJ_load_custom_founction_demo) to decrypt the custom function code and execute,when the custom function is not invoked again,invoke GJ_free_custom_founction to clear the code of custom function.
   For more informations please refer to Atidebug_demo demo project and the article "Programming Guide".

 

 

 

© Copyright 2009 AntiDebugLIB International Inc. All Rights Reserved