Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Identification method and device for function call relationships

A technology of function call relationship and identification method, which is applied in the computer field, can solve problems such as the inability to determine the function call relationship, and achieve the effect of accurate private data analysis and determination

Active Publication Date: 2016-06-15
卓望数码技术(深圳)有限公司
View PDF5 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] The technical problem to be solved by the present invention is to provide a method and device for identifying a function call relationship in view of the problem that the function call relationship cannot be determined in the above-mentioned prior art

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
  • Identification method and device for function call relationships
  • Identification method and device for function call relationships
  • Identification method and device for function call relationships

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0061] The present invention provides a method and device for identifying a function call relationship, which extracts the complete model of the class inheritance relationship of the public class in the development framework and the complete correspondence between the public class and its member functions by analyzing the header file of the class library of the iOS development framework relation. Secondly, based on the disassembly code, a set of static code analysis algorithms is invented to extract the list of custom classes of iOS applications from the _objc_classlist data segment, and to extract...

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 an identification method and device for function call relationships. The method comprises following steps: S1, acquiring each category of a development framework class library; S2, determining class inheritance relations of each category; S3, determining four functions of each category based on inheritance relations and setting up a function relation table, wherein four functions are respectively a self-defining function, a protocol function, an embodiment function and a classification function; S4, removing the protocol function out of the four functions; and S5, identifying a call relation of any function. The identification method and device for function call relationships have following beneficial effects: by setting up and extracting an integral model of inheritance relations in a public category from an iOS development framework and corresponding relations between the public category and other categories of member functions, integral call relations of all functions in an iOS application can be calculated by static analysis; an application code control flow diagram and a function call path are generated so that privacy data analysis is more accurately determined.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for identifying function calling relationships. Background technique [0002] The iOS operating system is an operating system for handheld devices developed by Apple Inc. Apple first announced this system at the Macworld conference on January 9, 2007. It was originally designed for the iPhone, and later used in Apple products such as iPod touch, iPad, iPadmini, and AppleTV. [0003] With the continuous upgrading of Apple's iOS system and hardware devices, the number of users is also increasing. On the other hand, affected by incidents such as the tracking door and the prism door, the security of the iOS system and iOS applications and the security of user privacy protection have also received more and more attention. [0004] Using reverse analysis technology, static logic analysis can be performed on iOS applications. By reverse analyzing the Objective-C ...

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): G06F9/44
Inventor 刘洪刚杨颖池垂富夏冰韩俊焜姚骏
Owner 卓望数码技术(深圳)有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products