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

Function call detection method, apparatus, electronic device and readable medium

A function call, to-be-detected technology, applied in the field of data processing, can solve problems such as low efficiency and inability to detect and detect target functions, and achieve the effect of improving accuracy and ensuring accuracy

Active Publication Date: 2022-07-08
BEIJING 58 INFORMATION TTECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The embodiment of the present invention provides a function call detection method, device, electronic equipment, and computer-readable storage medium to solve or partially solve the problems in the related art that the target function of the application project file cannot be fully detected and the detection 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
  • Function call detection method, apparatus, electronic device and readable medium
  • Function call detection method, apparatus, electronic device and readable medium
  • Function call detection method, apparatus, electronic device and readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0063] In order to make the above objects, features and advantages of the present invention more clearly understood, the present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments.

[0064] Mach-O is a file format, which is the format of executable files on the macOS operating system, similar to the PE format (PortableExecutable) on Windows and the elf format (ExecutableandLinkingFormat) on Linux. C, C++, swift, and OC written by project developers can finally be compiled and linked to generate Mach-O executable files.

[0065] Assembly Language is a low-level language used in electronic computers, microprocessors, microcontrollers or other programmable devices, also known as symbolic languages. In assembly language, the opcodes of machine instructions are replaced by mnemonics, and the addresses of instructions or operands are replaced by address symbols or labels. In different devices, assembly language c...

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 present invention provide a method, device, electronic device, and readable medium for detecting a function call. By acquiring the global symbol table and the dynamic symbol table in the application project file, the dynamic symbol table and the dynamic symbol table are extracted from the global symbol table. The target symbol corresponding to the symbol, according to the target symbol, determine the target function that matches the name of the function to be detected and the target address of the target function, and determine the target symbol from the global symbol table through the dynamic symbol table to realize function positioning, which effectively improves the accuracy of function positioning. Then, the global symbol table is disassembled to generate assembly instructions, and according to the assembly instructions and the target address of the target function, whether the target function is called is detected, and the call detection result is generated. The function address of the function is verified, and the located function is effectively called and detected, and the full detection of the calling of the target function in the application project file is realized.

Description

technical field [0001] The present invention relates to the technical field of data processing, and in particular, to a method for detecting a function call, a device for detecting a function call, an electronic device and a computer-readable medium. Background technique [0002] Xcode is an integrated development environment provided by Apple to developers, which can be used to develop macOS, iOS, WatchOS and tvOS applications. It is a user interface with unified user interface design, coding, testing and debugging. Among them, in the project development process of the application, when developers want to search for related functions in the project, they can only search through the Xcode search box. However, in this search process, the project cannot be fully searched, and the search coverage is not enough. Comprehensive, it is prone to missed detection, and each detection requires manual input of the function name, which is low in detection efficiency. Or, hook the relate...

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): G06F8/53
CPCG06F8/53
Inventor 王盟盟彭飞邓竹立
Owner BEIJING 58 INFORMATION TTECH CO LTD