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

Wild pointer determination method and device

A technology for determining a method and a device, applied in the computer field, can solve problems such as no solution proposed, and achieve the effect of efficient and timely identification and avoidance of crashes

Pending Publication Date: 2022-08-05
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] For how to timely and effectively discover the crashes caused by wild pointers, no effective solution has been proposed yet

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
  • Wild pointer determination method and device
  • Wild pointer determination method and device
  • Wild pointer determination method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described The embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by persons of ordinary skill in the art without creative work shall fall within the protection scope of the present application.

[0037] In view of the existing problem that the wild pointer cannot be found in time and efficiently, the system is prone to collapse. In this example, considering that a monitoring subclass can be generated for the target object, the monitoring subclass and the target object point to the same memory space. In 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 provides a wild pointer determining method and device.The method comprises the steps that a monitoring subclass is controlled to monitor whether a memory space pointed by a target object is recycled or not, and the monitoring subclass is a subclass which is generated for the target object and points to the same memory space as the target object; when it is determined that the memory space pointed by the target object is recycled, determining that a pointer pointing to the target object is a wild pointer; and controlling the monitoring subclass to send a recovery message to a pointer pointing to the target object so as to notify the pointer that the memory space of the target object is recovered. According to the scheme, the problem that the system is easy to crash due to the fact that an existing wild pointer cannot be effectively recognized can be solved, and the technical effect that the wild pointer is efficiently and timely recognized, so that the system crash is avoided is achieved.

Description

technical field [0001] The present application belongs to the field of computer technology, and in particular, relates to a method and device for determining a wild pointer. Background technique [0002] In the IOS system, the number of conventional crashes is very small. In general, crashes occur mainly because they cannot be reproduced stably or lack effective information. According to statistics, there are more than 60% of the remaining crashes that cannot be located and resolved. All are caused by wild pointers. A wild pointer is a pointer to a deleted object or a restricted memory area. It is more common that the memory pointed to by this pointer has been reclaimed elsewhere, but this pointer is not known, so it still points to this memory. [0003] During the usual development, testing, and grayscale testing, various crashes will be encountered. Some crashes can be found in time, but some are very hidden and are not easy to find during testing. Only in the online prod...

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): G06F11/07G06F11/30G06F12/02
CPCG06F11/0796G06F11/3037G06F12/0253
Inventor 韩维杨光
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
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