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

A method and a device for locating problem points after application code obfuscation

A technology for application code and code obfuscation, which is applied to locate problem areas after application code obfuscation, which can solve problems such as difficulty in reading and understanding, guessing, and increase the difficulty of decompilation and reading, so as to improve the efficiency of repair and efficiency.

Active Publication Date: 2018-12-14
GUANGDONG XIAOTIANCAI TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, after the development of the application project is completed and no bugs have been tested by the testers, in order to avoid piracy and improve application security, technicians need to obfuscate the code of an application, that is, convert the code of the application into a functionally equivalent However, forms that are difficult to read and understand, such as rewriting various elements in the code (variables, functions, class names, etc.) difficulty
However, the application after code obfuscation will crash (such as a segment error). When such a situation occurs, it is particularly important to quickly locate the cause of the crash (that is, the problem point)
Practice has found that at present, experienced technicians are mainly used to analyze problem points, and the efficiency is low

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
  • A method and a device for locating problem points after application code obfuscation
  • A method and a device for locating problem points after application code obfuscation
  • A method and a device for locating problem points after application code obfuscation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0068] see figure 1 , figure 1 It is a schematic flowchart of a method for locating problem points after application code obfuscation disclosed in an embodiment of the present invention. in, figure 1 The shown method can be applied to an application debugging device. Such as figure 1 As shown, the method for locating the problem point after the application code is mixed may include the following operations:

[0069] 101. When it is detected that the current application after the code obfuscation crashes, send a driving signal to the Java virtual machine to drive the Java virtual machine to collect all thread information of the current application, and each thread information includes at least a thread ID and a thread ID corresponding to the Call stack information.

[0070] In the embodiment of the present invention, the current application may be an Android application, and may run on a terminal device using the Android system, such as a phone watch, a smart phone, etc., ...

Embodiment 2

[0082] see figure 2 , figure 2 It is a schematic flowchart of another method for locating problem points after application code obfuscation disclosed in the embodiment of the present invention. in, figure 2 The shown method can be applied to an application debugging device. Such as figure 2 As shown, the method for locating the problem point after the application code is mixed may include the following operations:

[0083] 201. Determine the current version of the code of the current application when it is detected that the code obfuscation of the current application crashes.

[0084] 202. Determine whether the current version is the latest version. When the determination result of step 202 is yes, trigger execution of step 204; when the determination result is no, trigger execution of step 203.

[0085] In the embodiment of the present invention, when the judgment result of step 202 is yes, the application debugging device confirms that the problem of the current appli...

Embodiment 3

[0113] see image 3 , image 3 It is a structural schematic diagram of a device for locating problem points after application code obfuscation disclosed in an embodiment of the present invention. Such as image 3 As shown, the device for locating problem points after application code confusion may include a first sending unit 301, a determining unit 302, a matching unit 303, and a display unit 304, wherein:

[0114] The first sending unit 301 is configured to send a drive signal to the Java virtual machine to drive the Java virtual machine to collect all thread information of the current application when it detects that the current application after code obfuscation crashes, the thread information includes at least a thread ID and call stack information corresponding to the thread identifier, and trigger the determination unit 302 to start.

[0115] In the embodiment of the present invention, there may be multiple applications that crash after code confusion at a certain mo...

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 method and a device for locating problem points after application code obfuscation. The method comprises the following steps: when the crash of current application running after code obfuscation is detected, sending a driving signal to the Java virtual machine to drive the Java virtual machine to collect all thread information of the current application, the thread information at least including thread identification and call stack information corresponding to the thread identification; determining the target thread identification of the crashed thread from the storedtombstone file, and matching all thread information to obtain a thread identification the same as the thread identification and call stack information corresponding to the thread identification of; determining the problem point according to the call stack information corresponding to the thread identification, and displaying the problem point wherein, the problem point comprises code line identification causing the current application to crash. It can be seen that the embodiment of the invention can automatically locate the problem point of the running crash after the application is obfuscated, and the invention has high efficiency.

Description

technical field [0001] The invention relates to the technical field of computer software, in particular to a method and device for locating problem points after application code confusion. Background technique [0002] At present, after the development of the application project is completed and no bugs have been tested by testers, in order to avoid piracy and improve application security, technicians need to obfuscate the code of an application, that is, convert the code of the application into a functionally equivalent However, forms that are difficult to read and understand, such as rewriting various elements in the code (variables, functions, class names, etc.) difficulty. However, the application after code obfuscation will crash (such as a segment error). When such a situation occurs, it is particularly important to quickly locate the cause of the crash (that is, the problem point). Practice has found that the current analysis of problem points is mainly done by expe...

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): G06F21/12G06F21/14G06F9/455
CPCG06F9/45558G06F21/125G06F21/14G06F2009/45587
Inventor 史继前刘兆龙
Owner GUANGDONG XIAOTIANCAI TECH CO LTD