Application program anomaly processing method and device and mobile terminal
An application and exception processing technology, applied in the field of data processing, can solve the problems of low detection efficiency and detection speed of fault codes, and achieve the effect of improving detection efficiency and detection speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0031] refer to figure 1 , shows a flow chart of an application program exception handling method according to an embodiment of the present invention, and the method may specifically include the following steps:
[0032] Step 101, obtaining the target memory address of the exception stack of the application;
[0033] Wherein, when an abnormality occurs in the application program, the client installing the application program can report the memory address (a relative address) of the exception stack (such as a crash stack) through the exception reporting system, then the method in the embodiment of the present invention can Receives the memory address of the exception stack of the application, that is, the target memory address here.
[0034] Wherein, the target memory address may include a start address and an end address, constituting a target address range.
[0035] Step 102, extract the target segment file corresponding to the target memory address from the preset index fi...
no. 2 example
[0045] refer to figure 2 , which shows a flow chart of an application exception handling method according to another embodiment of the present invention, which may specifically include the following steps:
[0046] Step 201, extract the debugging symbol information file from the debugging library file of the application program to the memory, and the debugging symbol information file includes mapping data composed of associated memory addresses and target code segment parameters;
[0047] Wherein, for each application program, when it is compiled with a compiler, a debug library with a debug symbol information file will be generated, so the debug symbol information file can be extracted from the debug library. Moreover, a corresponding relationship can be formed between the application program and the debugging symbol information file. It should be noted that, with the continuous maintenance and update of the application program, there are often multiple different versions o...
no. 3 example
[0070] refer to image 3 , showing a flow chart of an application exception handling method according to another embodiment of the present invention, which may specifically include the following steps:
[0071] Step 301, extract the debugging symbol information file from the debugging library file of the application program to the memory, and the debugging symbol information file includes mapping data composed of associated memory addresses and target code segment parameters;
[0072] For details, refer to step 201 of the second embodiment, which will not be repeated here.
[0073] Step 302, sorting the mapping data of the debugging symbol information file according to the ascending or descending order of memory addresses;
[0074] For details, refer to step 202 of the second embodiment, which will not be repeated here.
[0075] Step 303, performing fragmentation processing on the sorted debug symbol information files to obtain multiple fragmented files;
[0076] For detail...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


