AppOnChip - Performance Profiling

Sentinel LDK Envelope examines all the functions that are compatible with AppOnChip protection and uses heuristics to determine a selection that attempts to balance security and performance.

To fine-tune the list of functions that should be selected for AppOnChip protection, you can protect you application for Performance Profiling. This mode helps you determine the impact on performance for the list of functions that you select to be protected using AppOnChip.

How to Use Performance Profiling with AppOnChip

1.Perform your initial review of the functions that are selected to be protected using AppOnChip.

2.Click Inject profiling code (lower right corner of the page). Your application is protected with Performance Profiling enabled.

3.In the Protection Status dialog box, click Start protected program (or click Close if you want to execute the application later). Operate the protected application in a manner that is representative of the way you expect your customers to use it. During this time, information for Performance Profiling analysis is accumulated.

NOTE   The first time that an eligible code fragment is executed, a message appears to notify you that performance profiling is in use.

4.When you close your application, the accumulated information is written to the Performance Profiling log file.

5.On the AppOnChip tab, select the Select functions based on profiling log check box. The information in the Performance Profiling log is used by Envelope to modify the selection of functions to be protected using AppOnChip.

6.You can move the Performance - Security slider bar to give greater weight to higher security or to better performance. The functions selected by the Performance Profiling analysis will change accordingly.

7.Click Protect to create the production version of your protected application.

Performance Profiling Process

When you select Profile Performance for your application, your application is equipped with a facility that, at runtime, will collect information regarding the usage of code fragments that are eligible for AppOnChip protection. During execution of the modified application, the application accumulates information regarding the eligible code fragments of each function. To obtain data that provides a realistic analysis, you should operate the application in a manner that is representative of the way you expect your customers to use it.

When you exit from the application, the accumulated usage information is saved to the Performance Profiling log file. This file must be placed in the same directory as the protected application. For each function, the file contains the number of times that an eligible code fragment was executed.

When you select the Select functions based on profiling log check box, the accumulated information is applied to the list of functions that are selected to be protected using AppOnChip.

You can examine this information and determine if you want to add functions or remove functions from the list.

NOTE   An application with Performance Profiling mode enabled should be used for analysis only. The application is not intended for distribution.

After you have finalized the list of functions to protect using AppOnChip, re-protect your application to create the production version of your protected application.

Related Topics

Protecting With AppOnChip

NG