Function calling method, computing device and storage medium

A function call and function technology, applied in the computer field, can solve the problems of heavy manual input and sorting, slow program running speed, program crash, etc., and achieve the advantages of simple and intelligent compilation process, high operating efficiency, and reduced error rate Effect

Pending Publication Date: 2022-03-22
UNIONTECH SOFTWARE TECH CO LTD
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] There are three major defects in the above scheme: (1) In the stage before compiling, there is a lot of work that needs to be sorted and packaged manually, and the function signature cannot be automatically recognized. When the code volume of the program is large and the number of functions is large, manual input The workload of processing and sorting is huge, and it is difficult to ensure the accuracy of large-scale operations; (2) The parsing process of the function signature is cumbersome and inefficient. Before running the function, the caller will parse the fun

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 calling method, computing device and storage medium
  • Function calling method, computing device and storage medium
  • Function calling method, computing device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0025] figure 1 A structural block diagram of a computing device 100 according to an embodiment of the present invention is shown.

[0026] Such as figure 1 As shown, in a basic configuration 102 , computing device 100 typically includes system memory 106 and one or more processors 104 . A memory bus 108 may be used for communication between the processor 104 and the system memory 106 .

[0027] Depending on the desired configur...

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 function calling method, computing equipment and a storage medium, and the method comprises the steps: identifying each to-be-called function in a to-be-run program to generate a function signature sequence number table; modifying a calling instruction of each function to be called; generating a static function file based on the function signature sequence number table and compiling the static function file; and running the to-be-run program, and if function calling occurs during running, calling a corresponding function according to the function signature sequence number table and the modified calling instruction. According to the technical scheme, call agreement conversion between different architectures and platforms is completed through automatic construction and static function call, and function call with high efficiency and low overhead is achieved.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a function calling method, a computing device and a storage medium. Background technique [0002] The current mainstream cross-platform and cross-architecture function call scheme is realized by using the dynamic call method of dyncall (a dynamic call library). Specifically, manually fill in the specific function signature before calling, and through the identification and processing of the function signature, manually push the parameters to be processed to the internal virtual stack to achieve ABI (Application Binary Interface, application binary interface) conversion, and then run When parsing the corresponding parameters and type information, and passing in according to the function calling convention of the machine architecture, after the function is executed, the return value is obtained and returned according to the function signature. [0003] There are three major defe...

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
IPC IPC(8): G06F9/448G06F8/54G06F9/445
CPCG06F9/449G06F9/4484G06F8/54G06F9/44521
Inventor 杨扬杨堃姚永杰
Owner UNIONTECH SOFTWARE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products