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

A detection method, device and computer-readable storage medium for single-step debugging

A single-step debugging and detection method technology, applied in computing, error detection/correction, software testing/debugging, etc., can solve problems such as inability to detect single-step debugging, malware propagation, software cracking, etc., and achieve single-step debugging detection. Effect

Active Publication Date: 2022-05-13
HANGZHOU ANHENG INFORMATION TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the current scenario of protecting personal / company software, there is a problem of being maliciously cracked through single-step debugging. If this problem is not resolved, personal / company paid software may be used for free, or even malicious codes may be inserted. Risk of society-wide spread of malware
[0004] Conventional anti-debugging methods implement debugging detection based on the official Windows application programming interface (Application Programming Interface, API), but this method cannot detect single-step debugging

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
  • A detection method, device and computer-readable storage medium for single-step debugging
  • A detection method, device and computer-readable storage medium for single-step debugging
  • A detection method, device and computer-readable storage medium for single-step debugging

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0044] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0045] Next, a detection method for single-step debugging provided by an embodiment of the present invention is introduced in detail. figure 1 A flow chart of a single-step debugging detection method...

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 embodiment of the present invention discloses a detection method, device and medium for single-step debugging. The self-modifying machine code is pre-stored in the self-modifying area of ​​the memory; in the full-speed debugging mode, the original machine code of the application program is executed first, and The data at the specified address will be cached in the preset cache; in the single-step debugging mode, first call the self-modifying machine code to replace the original machine code with the modified machine code, and the data at the specified address will not be cached at this time into the cache memory. Obtain the clock cycle consumed by loading the data at the specified address; if the clock cycle is greater than the preset threshold, it means that the data corresponding to the specified address has not been cached in the cache, and the detection result of the single-step debugging of the application program can be output at this time . According to the difference between full-speed debugging and single-step debugging on the data corresponding to the specified address, it can be accurately identified whether the application program has been executed single-step debugging.

Description

technical field [0001] The invention relates to the technical field of debugging and detection, in particular to a single-step debugging detection method, device and computer-readable storage medium. Background technique [0002] Single-step debugging refers to a debugging method that is usually used in order to find program defects (bugs) in program development. It tracks the process of program execution step by step, and finds the cause of errors according to the values ​​of variables. [0003] However, in the current scenario of protecting personal / company software, there is a problem of being maliciously cracked through single-step debugging. If this problem is not resolved, personal / company paid software may be used for free, or even malicious codes may be inserted. Risk of socially spreading malware. [0004] Conventional anti-debugging methods implement debugging detection based on the official Windows application programming interface (Application Programming Interf...

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/36
CPCG06F11/362
Inventor 胡瀚璋范渊黄进
Owner HANGZHOU ANHENG INFORMATION TECH CO LTD