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

Method and system for recording memory access source

A memory access and record cache technology, applied in the computer field, can solve the problems of limited memory addresses, the system cannot work normally, and is easily attacked, so as to achieve the effect of easy archiving

Pending Publication Date: 2022-04-08
HYGON INFORMATION TECH CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] In view of this, the embodiments of the present invention provide a method and system for recording memory access sources, which can solve the existing solutions for recording memory access sources. The recorded memory addresses are limited, which affects system performance and is vulnerable to attacks that cause the system to fail to work normally. The problem

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 system for recording memory access source
  • Method and system for recording memory access source
  • Method and system for recording memory access source

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0092] A method and system for recording memory access sources according to an embodiment of the present invention will be described in detail below with reference to the accompanying drawings.

[0093] It should be clear that 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 creative efforts fall within the protection scope of the present invention.

[0094] figure 2 It is a flow chart of Embodiment 1 of a method for recording memory access sources of the present invention, such as figure 2 As shown, the method in this embodiment may include the following steps S101-S103:

[0095] Step S101, when the memory read-write execution module for executing the memory access instruction receives the memory access instruction, it judges whether the target memory address to be accessed by the memory acce...

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 method and system for recording a memory access source, and relates to the technical field of computers.The method comprises the steps that when a memory read-write execution module used for executing a memory access instruction receives the memory access instruction, the memory access source is recorded; judging whether a target memory address to be accessed by the memory access instruction belongs to a preset monitoring memory address range or not; if the target memory address belongs to a preset monitoring memory address range, the memory read-write execution module executes the memory access instruction, and records memory access information through a memory access record cache module arranged in a CPU physical core; and the memory access record caching module writes the recorded memory access information back into a main memory buffer region corresponding to a preset computer main memory address range according to a recording time sequence. According to the invention, the range of the memory address which can be recorded is expanded, and the system performance is basically not influenced.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method and system for recording memory access sources. Background technique [0002] In a computer system, memory is an important component. All the data of a computer program during operation is stored in memory. Stealing data in memory is the most common means and goal of hacking programs, and recording and monitoring memory access sources is an effective means to track hacking programs. [0003] Currently, there are three common schemes for recording memory access sources: [0004] The first option is to set hardware breakpoints. The hardware debug register under X86 hardware supports triggering exceptions for reading and writing memory. DR0-DR7 debug registers are defined under X86 hardware. DR0–DR3 record the memory addresses to be debugged, and DR7 manages and configures debugging conditions. Fill the memory virtual address into the registers DR0–DR3, and configur...

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 Applications(China)
IPC IPC(8): G06F12/0877G06F12/02G06F9/54G06F9/50
Inventor 刘子行应志伟
Owner HYGON INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More