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

Memory abnormal access positioning method and device

A positioning method and positioning device technology, applied in the field of communication, can solve problems such as system abnormality, inability to access command capture and analysis, inability to effectively locate illegal access commands, etc.

Inactive Publication Date: 2011-10-26
HUAWEI DIGITAL TECH (CHENGDU) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] When the monitored memory address is accessed, the system will generate an exception. After the exception is processed and returned, the program will continue to execute the instruction that generated the exception, thus entering the exception again. This cycle repeats, and the system can only be reset, and the access instruction cannot be continued. capture and analysis
Simultaneously, because the probability that abnormal memory access phenomenon takes place is very low, and in practice, the access that is carried out to the memory address being monitored is normal access in most cases, at this moment, the instruction that analyzes and checks in the prior art is often They are all normal instructions, so it is impossible to effectively locate the illegal access instructions that cause abnormal memory access.

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
  • Memory abnormal access positioning method and device
  • Memory abnormal access positioning method and device
  • Memory abnormal access positioning method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below through specific embodiments and related drawings.

[0029] An embodiment of the present invention provides a method for locating abnormal memory accesses, which is used to effectively locate abnormal memory accesses, see figure 1 , including the following steps:

[0030] S101. Monitor the memory with abnormal access, and capture the access behavior;

[0031] The abnormally accessed memory can be monitored by configuring related register groups (such as WATCH register group or JTAG register group), and when instructions access the monitored memory, the access behavior of these instructions is captured.

[0032] S102. Obtain an access instruction according to the access behavior, and locate the access behavior through the access instruction;

[0033] When the memory is monitored by configuring the WATCH registe...

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 invention discloses a memory abnormal access positioning method and a device, wherein, the memory abnormal access positioning method comprises the following steps of: monitoring the memory in which the abnormal access occurs, and capturing an access behavior; acquiring an access command in accordance with the access behavior, and positioning the access behavior through the access command; analyzing the access command to obtain an analysis result; and taking the place of the access command to accomplish corresponding operations in accordance with the analysis result. By the embodiment of the invention, efficient positioning can be implemented on the memory abnormal access.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a method and device for locating abnormal memory access. Background technique [0002] MIPS (Microproces sor without Interlocked Pipeline Stages, a microprocessor without internal interlocking pipeline stage) is a CPU architecture, and a CPU using the MIPS architecture is called a MIPS CPU. MIPS CPU is widely used in broadband equipment, wireless network, portable game console, digital camera, digital TV and other fields. [0003] In the development and scheduling stage of MIPS CPU, there will be abnormal memory access problems. The so-called abnormal memory access means that during the running of the program, a certain instruction (or a certain piece of code) reads and writes the memory beyond the normal range of reading and writing. The memory that belongs to the normal read and write range has been modified, which is generally related to problems such as memory out-of-...

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
Inventor 王洪雷
Owner HUAWEI DIGITAL TECH (CHENGDU) CO LTD