Check patentability & draft patents in minutes with Patsnap Eureka AI!

Stack overflow detection method and device, electronic equipment and storage medium

A stack overflow and detection method technology, applied in the computer field, can solve problems such as undetectable stack overflow

Pending Publication Date: 2021-01-05
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, with this stack overflow detection method, there are cases where stack overflow cannot be detected

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 overflow detection method and device, electronic equipment and storage medium
  • Stack overflow detection method and device, electronic equipment and storage medium
  • Stack overflow detection method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.

[0025] It will be understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, the first task stack may be referred to as the second task stack, and similarly, the second task stack may be referred to as the first task stack, without departing from the scope of this application. Both the first task stack and the second task stack are task stacks, but they are not th...

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 relates to a stack overflow detection method and device, computer equipment and a storage medium. The method comprises the steps that an accessed task stack is determined as a first taskstack, the attribute of the first task stack is a read-write permission attribute, and the attributes of other task stacks except the first task stack are all non-access permission attributes; and when it is detected that access exceeds the first task stack, stack overflow prompt information is generated, and the stack overflow prompt information is used for prompting that stack overflow exists in the first task stack. By adopting the method, the stack overflow condition can be detected more comprehensively.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular, to a stack overflow detection method, apparatus, electronic device, and computer-readable storage medium. Background technique [0002] Stack is an abstract data structure, which is a combination of a group of the same data type. All operations are performed at the top of the stack, with the characteristics of "last in, first out", that is, the last object placed on the stack is always Take it out first. [0003] There are generally many tasks running in an embedded system, and each task will allocate a small piece of memory as a stack to store data such as return addresses, input parameters, and local variables. During the running of the system, if the allocated stack is insufficient for various reasons, a stack overflow phenomenon will be formed, which will destroy the adjacent memory space. If this behavior is not reported in time at this time, it will have a g...

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
IPC IPC(8): G06F21/52
CPCG06F21/52
Inventor 刘君
Owner GUANGDONG OPPO MOBILE TELECOMM CORP 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