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

Method, device and electronic equipment for determining function stack information of wild pointer

A determination method and wild pointer technology, applied in the field of data processing, can solve the problems of huge workload, cumbersome implementation logic, unguaranteed success rate, etc., and achieve the effect of simple determination and simplified processing logic.

Active Publication Date: 2020-04-07
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the main way to determine the function call information involved in the wild pointer is to reproduce the application crash scene caused by the wild pointer, so as to locate the function call information involved in the wild pointer through auxiliary tools; however, to reproduce the crash caused by the wild pointer Applying the crash scene requires a huge amount of work, the implementation logic is cumbersome, and the success rate cannot be guaranteed; therefore, how to easily and accurately determine the function call information of the wild pointer has become a problem that those skilled in the art need to consider

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, device and electronic equipment for determining function stack information of wild pointer
  • Method, device and electronic equipment for determining function stack information of wild pointer
  • Method, device and electronic equipment for determining function stack information of wild pointer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0036] figure 1 The flow chart of the method for determining the function stack information of the wild pointer provided by the embodiment of the present invention, the method can be applied to electronic equipment loaded with applications, such as electronic equipment loaded with IOS applications, electronic equipment such as mobile phones, tablet computers and other user equipment ; refer to figure 1 , the method can include:

[0037] Step S100, hooking 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 embodiments of the invention provide a function stack information determining method and apparatus of a wild pointer, and an electronic device. The method comprises the following steps: hooking a memory invoking function so as to determine stack information of a memory invoking function when a memory function is invoked; determining a memory area directed by the memory invoking function, and recording the determined memory area and the stack information of the memory invoking function corresponding to the memory area; when the wild pointer causes an application crash, determining a memory area directed by the wild pointer; and determining stack information of the memory area directed by the wild pointer from the recorded memory area and the stack information of the memory invoking function corresponding to the memory area, and obtaining function stack information of the wild pointer. According to the embodiments of the invention, when the function stack information of the wild pointer is determined, the processing logic is greatly simplified, and the function stack information of the wild pointer can be more simply determined.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a method, device and electronic equipment for determining function stack information of wild pointers. Background technique [0002] A wild pointer is a pointer pointing to an unavailable memory area. If an application operates on a wild pointer at runtime, it will cause the application to crash. (The object is an instance of the class) After being released, its corresponding memory area will become an unusable memory area, and if other objects continue to use the pointer (that is, a wild pointer) while holding the pointer of the object, it will cause the application crash. In order to locate problematic codes that cause application crashes due to wild pointers, it is particularly necessary to determine the function call information involved in wild pointers. [0003] At present, the main way to determine the function call information involved in the wild pointer is to ...

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 Patents(China)
IPC IPC(8): G06F9/30
Inventor 李伟俞骁
Owner TENCENT TECH (SHENZHEN) CO LTD