Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Memory address inquiry method and device

A memory address and query method technology, which is applied in the field of memory address query methods and devices, can solve problems such as limited application scenarios, inconvenient application program compilation and debugging, and inability to locate variables in memory, and achieve flexible and changeable application scenarios. and debugging convenience, widening the effect of types

Active Publication Date: 2019-03-12
BEIJING QIHOO TECH CO LTD
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the inventor found in the process of realizing the present invention that the above-mentioned method has at least the following limitations: the conventional memory search method can only locate the memory addresses of variables of conventional types, and cannot identify variables of extended types such as self-defined types, and thus cannot The memory location of variables of these extended types leads to limited application scenarios, which brings a lot of inconvenience to the compilation and debugging of applications

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 address inquiry method and device
  • Memory address inquiry method and device
  • Memory address inquiry method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] 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.

[0025] figure 1 A schematic flowchart of a memory address query method according to an embodiment of the present invention is shown. Such as figure 1 As shown, the method includes:

[0026] Step S110: Obtain the type of the query variable included in the query request, and determine whether the type of the query variable belongs to a preset user-defined type.

[0027] Wherein, the type of the query variable can be determined acc...

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 memory address inquiry method and a device. The method comprises the following steps: obtaining the type of the query variable contained in the query request, and judging whether the type of the query variable belongs to a preset user-defined type; If the judgment result is yes, the type description information corresponding to the type of the query variable is obtained according to the preset user-defined script file; According to the type description information corresponding to the type of the query variable, the variable memory address corresponding to the query variable is queried from the memory layout information. This method widens the types of query variables, can query a variety of variable memory addresses, flexible application scenarios, thus providingconvenience for the compilation and debugging of the program.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a memory address query method and device. Background technique [0002] When a program is running, it needs to be loaded into memory to become a process. It can be seen that a process is a running program entity, and includes all system resources occupied by the running program, such as CPU, registers, IO, memory, and network resources. Among them, the memory is an important resource required during the running of the process, and each variable in the process needs to be allocated a corresponding variable memory address in the memory. [0003] In many occasions such as debugging a running program, it is often necessary to locate the variable memory address of a certain variable in the memory. In the prior art, it is possible to locate the variable memory address of a variable of a conventional type in the memory by means of a memory search. For example, for common integer or...

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): G06F9/30
CPCG06F9/3004
Inventor 雷凌翔
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products