Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for monitoring function call time

A technology of function calling and calling time, which is applied in hardware monitoring, electronic digital data processing, instruments, etc., can solve the problems of affecting program size, increasing executable program size, and affecting function running time, so as to save time and improve user experience. Experience and improve operating efficiency

Active Publication Date: 2019-02-15
BEIJING SENSESHIELD TECH
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In function protection, if you do not have a clear understanding of the calling time of the function, blindly protect the function by packing, such as code fragmentation, code virtualization, code porting or code obfuscation, for the protected function, if the calling time If the gap between before protection and after protection is large, it means that the protection has greatly affected the running time of the function, and the protection of the function should be cancelled. If the difference between the calling time before protection and after protection is not large, it means that the protection is not effective. It has a great impact on the function, and there is no need to cancel the protection of the function. Therefore, in the case of not knowing the calling time of the function, it is easy to inadvertently protect the system function or the function that does not want to be protected during the operation. This not only affects the volume of the packed program, but also reduces the operating efficiency of the packed program
[0003] If the developer protects too many functions that do not want to be protected during the running of the program, the size of the protected executable program will increase, and at the same time, the running efficiency of the protected executable program will be reduced

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for monitoring function call time
  • Method and device for monitoring function call time
  • Method and device for monitoring function call time

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0048] The embodiment of the present invention provides a method for monitoring function call time, such as figure 1 As shown, this method mainly monitors the calling time of the calling function through the preset code, and the specific steps include:

[0049] 101. Create a monitoring process by suspending.

[0050]Among them, the monitoring process is used to monitor the calling time of the function in the program execution. In ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and device for monitoring function calling time, and relates to the technical field of computer security. The main purpose is to achieve monitoring of the function calling time, and thus whether a function needs to be protected or not can be better known. The method includes the following steps that a monitoring process is created through a hanging mode, and the monitoring process includes a dynamic memory with preset capacity; a preset analysis code used for monitoring the function calling time is loaded into the dynamic memory; the monitoring process is started, and according to the preset analysis code, a dynamic link library needing to be injected into the monitoring process is loaded; according to a monitoring function module in the dynamic link library, the starting time and the end time of function calling is monitored, and the function calling time is obtained. The method and the device is mainly used for analysis of the function calling time.

Description

technical field [0001] The invention relates to the field of computer security, in particular to a method and device for monitoring function calling time. Background technique [0002] In function protection, if you do not have a clear understanding of the calling time of the function, blindly protect the function by packing, such as code fragmentation, code virtualization, code porting or code obfuscation, for the protected function, if the calling time If there is a big difference between before protection and after protection, it means that adding protection has greatly affected the running time of the function, and the protection of the function should be canceled. If the difference between the calling time before protection and after protection is not large, it means that adding protection has no effect. It has a great impact on the function, and there is no need to cancel the protection of the function. Therefore, in the case of not knowing the calling time of the func...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/30G06F11/34G06F21/14G06F21/54
CPCG06F11/302G06F11/3423G06F21/14G06F21/54G06F2201/865
Inventor 孙吉平尹永政
Owner BEIJING SENSESHIELD TECH