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

Method and device for computing program slices

A program slicing and computing program technology, applied in the field of information security, can solve the problems of inability to accurately obtain the target method calling parameter value, low accuracy, and coarse characterization granularity, so as to achieve fine characterization, improve accuracy, and improve accuracy. Effect

Active Publication Date: 2017-12-08
SHENZHEN NAT ENG LAB OF DIGITAL TELEVISION
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, no matter it is a static analysis method or a dynamic analysis method, due to information loss in the process of obtaining the smali bytecode, it is impossible to accurately obtain the call parameter value of the target method, so that the terminal application can describe the behavior of the target method at a granularity Thick, the accuracy of the analysis results of terminal application security is not high

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 and device for computing program slices
  • Method and device for computing program slices
  • Method and device for computing program slices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057]Embodiments of the present invention provide a method and device for calculating program slicing, which can accurately obtain the call parameter value of the target method, so that the terminal application can describe the behavior of the target method in a finer granularity, and improve the accuracy of the result of analyzing the security of the terminal application. Accuracy.

[0058] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall w...

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

Embodiments of the invention disclose a computing program slicing method and apparatus which can improve accuracy of detection results of terminal application safety. The method comprises the steps of: receiving a target method after smali byte codes of a terminal application are obtained, obtaining a target smali byte code for calling the target method from the smali byte codes of the terminal application, and determining a target position of the target smali byte code in the smali byte codes of the terminal application; obtaining a first program slicing corresponding to a calling parameter of the target method at the target position through a preconfigured backtracking algorithm; obtaining an upper caller method for calling the target method according to a preconfigured function call graph CG if the fact that initialization of the calling parameter of the target method is not tracked back through the backtracking algorithm is determined; processing the upper caller method through the backtracking algorithm in a recursion manner, and obtaining a second program slicing corresponding to the calling parameter of the target method; and obtaining a calling parameter value of the target method according to the first program slicing and the second program slicing.

Description

technical field [0001] The invention relates to the field of information security, in particular to a method and device for calculating program slices. Background technique [0002] As the Android (Android) system is more and more widely installed in smart phones, tablet PCs and digital TVs, the security issues of Android terminal applications are becoming more and more prominent. After malicious applications invade the system, they can obtain private information such as user accounts, login passwords, and chat records, and can also perform malicious operations such as illegally subscribing to services and sending text messages, which damages the interests of users. How to effectively and accurately detect the security of Android system terminal applications has become a crucial issue. [0003] Currently, there are two methods for analyzing terminal applications of the Android system: static analysis and dynamic analysis. When analyzing non-open-source Android terminal app...

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): G06F21/56
CPCG06F21/562G06F21/565
Inventor 马亚飞姜百合李新国余小龙
Owner SHENZHEN NAT ENG LAB OF DIGITAL TELEVISION