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

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

A function call and detection technology, which is applied in the field of data processing, can solve the problems of low and ineffective target function detection and detection efficiency, and achieve the effect of improving accuracy and ensuring accuracy

Active Publication Date: 2022-01-18
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 and device, electronic equipment and readable medium
  • Function call detection method and device, electronic equipment and readable medium
  • Function call detection method and device, electronic equipment 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 comprehensible, the present invention will be further described in detail below in conjunction with 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 (Assembly Language) is a low-level language used in electronic computers, microprocessors, microcontrollers or other programmable devices, also known as symbolic language. In assembly language, mnemonics are used instead of opcodes for machine instructions, and address symbols or labels are used instead of addresses of instructions or operands. In different devices, t...

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 embodiment of the invention provides a function call detection method and device, electronic equipment and a readable medium, and the method comprises the steps: obtaining a global symbol table and a dynamic symbol table in an application project file, extracting a target symbol corresponding to a dynamic symbol of the dynamic symbol table from the global symbol table, according to the target symbol, determining the target function matched with the to-be-detected function name and the target address of the target function according to the to-be-detected function name, and determining the target symbol from the global symbol table through the dynamic symbol table to achieve function positioning. The accuracy, pertinence and efficiency of function positioning are effectively improved, then the global symbol table is disassembled to generate an assembly instruction, whether the target function is called or not is detected according to the assembly instruction and the target address of the target function, and a calling detection result is generated, so that the function address of the target function is verified according to the assembly instruction, calling detection is effectively carried out on the positioned function, and the full-amount detection of the calling condition 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, 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. It can be used to develop applications for macOS, iOS, WatchOS, and tvOS. It is a user interface with a unified user interface design, coding, testing, and debugging. Among them, during the project development process of the application, when the developer wants to search for related functions in the project, he can only search through the Xcode search box. However, in the search process, the project cannot be fully searched, and the search coverage is not enough Comprehensive, it is easy to miss detection, and the function name needs to be manually entered for each detection, which makes the detection efficiency low. Or, h...

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