Method and device for monitoring program
A technology for monitoring programs and programs, applied in the computer field, can solve the problems of limited instrumentation tool efficiency, poor practical performance, and low method efficiency, and achieve the effects of improving monitoring efficiency, improving efficiency, and reducing manual intervention.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] According to an embodiment of the present invention, an embodiment of a method for monitoring a program is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, Although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.
[0038] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Take running on a computer terminal as an example, figure 1 It is a hardware structural block diagram of a computer terminal according to a method for monitoring a program in an embodiment of the present invention. Such as figure 1 As shown, the computer terminal 100 may include one or more (only one is shown in the figure) processor 102 ...
Embodiment 2
[0125] According to an embodiment of the present invention, a device for implementing the above method for monitoring a program is also provided. Figure 7 is a schematic diagram of a device for monitoring programs according to the first embodiment of the present invention, such as Figure 7 As shown, the device includes:
[0126] The determination module 701 is configured to determine the monitored program.
[0127] The loading module 702 is used for loading the monitored program.
[0128] The instrumentation module 703 is configured to instrument each application programming interface API function called by the monitored program when the monitored program is running.
[0129] A function name acquiring module 704, configured to acquire the function name of the API function.
[0130] Injection judging module 705, for judging whether described API function satisfies preset judging logic according to the function name of described API function;
[0131] An injection type acq...
Embodiment 3
[0155] The embodiment of the invention also provides a storage medium. Optionally, in this embodiment, the above-mentioned storage medium may be used to store the program code executed by the method for monitoring a program in the above-mentioned embodiment.
[0156] Optionally, in this embodiment, the storage medium is configured to store program codes for performing the following steps:
[0157] The first step is to determine the program to be monitored.
[0158] The second step is to load the monitored program.
[0159] In the third step, when the monitored program is running, each application programming interface API function called by the monitored program is inserted.
[0160] The fourth step is to obtain the function name of the API function.
[0161] The fifth step is to judge whether the API function satisfies the preset judgment logic according to the function name of the API function.
[0162] Step 6, if yes, it is determined that the monitored program is injec...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com