Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Stack recalling method

A stack backtracking and stack frame technology, applied in the field of stack backtracking, can solve problems such as the inability to retrieve the hierarchical relationship of function calls, and achieve the effect of improving the probability of complete backtracking and facilitating backtracking

Inactive Publication Date: 2015-04-01
PHICOMM (SHANGHAI) CO LTD
View PDF4 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If this happens, the backtrace may not be able to retrieve the full function call hierarchy

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
  • Stack recalling method
  • Stack recalling method
  • Stack recalling method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Specific embodiments of the present invention will be further described below in conjunction with the accompanying drawings.

[0027] Such as figure 1 As shown, it is a structural schematic diagram of a part of the structure of a PPC stack frame. PPC, or PowerPC, is a computer processor architecture specification. The stack frame refers to a section of stack space opened up in the memory stack when the function is running. The PPC stack frame structure has different fields, including: function parameter register save area (FPR save area), general register save area (GPR save area), condition register save field (CR save word, Conditon Register save word), local variables Area (local variables area), function parameters area (function parameters area), padding to adjust size to multiple of 8 bytes (padding to adjust size to multiple of 8 bytes), link register save field (LR Save Word, Link Register Save Word), the back chain field (Back Chain Word), each field has its...

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 stack recalling method. A recalling function according to the stack recalling method has a PPC (PowerPC) stack frame structure. The stack recalling method comprises the following steps: analyzing a stack frame of a present function; seeking and recalling an upper layer function calling for the present function; recalling the function layer by layer, thereby acquiring a hierarchical relation of the function calling. The function stack recalling is performed according to the characteristics of a PPC internal storage stack frame structure, so that the probability of PPC complete recalling is increased and a low-level developer can conveniently recall information about the hierarchical relation of the function.

Description

technical field [0001] The invention relates to an embedded underlying development technology, in particular to a stack backtracking method. Background technique [0002] Embedded low-level development often encounters various problems that need to be solved, so the means of locating problems is very important for a low-level developer. Of course, there are different positioning methods for different problems. Among them, stack backtracking is one of the important positioning methods commonly used by low-level software developers. Stack backtracking simply means retrieving the hierarchical relationship between calls between functions. The common stack backtracking method is mainly realized by finding assembly instructions. This backtracking method has certain defects, that is, some instructions in the searched instructions are completed by other instructions, or some instructions are not directly implemented, but are implemented by several other instructions. If this hap...

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/44G06F9/34
Inventor 陆丹宏周琳刘驰
Owner PHICOMM (SHANGHAI) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products