CN114968417A - Function calling method, device and equipment - Google Patents

Function calling method, device and equipment Download PDF

Info

Publication number
CN114968417A
CN114968417A CN202110212906.XA CN202110212906A CN114968417A CN 114968417 A CN114968417 A CN 114968417A CN 202110212906 A CN202110212906 A CN 202110212906A CN 114968417 A CN114968417 A CN 114968417A
Authority
CN
China
Prior art keywords
calling
function
called
sequence
switch state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110212906.XA
Other languages
Chinese (zh)
Other versions
CN114968417B (en
Inventor
王剑雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile IoT Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile IoT Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile IoT Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110212906.XA priority Critical patent/CN114968417B/en
Publication of CN114968417A publication Critical patent/CN114968417A/en
Application granted granted Critical
Publication of CN114968417B publication Critical patent/CN114968417B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4488Object-oriented
    • G06F9/449Object-oriented method invocation or resolution

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a function calling method, a device and equipment, which relate to the field of data processing, and the function calling method comprises the following steps: acquiring the total number of the called functions, a calling mode mark, a switch state and a function pointer; determining the calling sequence of the called function according to the calling mode mark; and calling at least one called function according to the total number, the calling sequence, the switch state and the function pointer. The scheme of the invention can prevent the calling sequence of the calling function from being wrong when the called function is called, safely, conveniently and flexibly finish the addition and deletion of software functions and the change of software flow, and realize efficient and safe code maintenance.

Description

Function calling method, device and equipment
Technical Field
The invention belongs to the field of data processing, and particularly relates to a function calling method, a function calling device and function calling equipment.
Background
In software programming, functions or called methods, subroutines, and subroutines are programs or code that can be referenced directly by another program or code to perform a particular task or implement a particular function.
A complex program is generally divided into several small modules or steps, and each small module or step performs a certain function, that is, corresponds to a function. The program is called as a main program or a main function, and the main function calls the functions corresponding to the decomposition modules according to certain logic and sequence, namely the implementation process of the program.
In the actual software development process, a function is realized, and a plurality of functions are often needed to realize the function. That is, the function realized by a main function is often based on many functions called by it, the main function is a calling function, and the called functions are called functions. The calling function and the called function can be developed by the same programmer or different programmers, and can be in the same code source file or different source files. Therefore, it is inevitable that the calling sequence of the called functions is wrong due to the understanding error or writing error of the programmer, the calling sequence of the called functions cannot be changed at will, and the change of the calling sequence can cause unexpected errors, even the function of the master call function cannot be realized, and the software development and the time cost are directly influenced.
When a certain function needs to be added, after a new called function is realized, the new called function needs to be modified in the calling function, and the code modification amount is large; when a certain function needs to be deleted, the key function code also needs to be modified, so that the software function is inconvenient to increase and decrease, and the code maintenance is difficult.
In addition, when the called function needs to change the calling sequence due to the change of the software requirement, the programmer can only change the code of the calling function, which also causes inflexibility of software flow change.
In addition, in the process of multi-person joint development, a master function developer and a called function developer need excessive communication and learning, and the software development efficiency is greatly reduced.
Disclosure of Invention
Embodiments of the present invention provide a method, an apparatus, and a device for function call, so as to solve a problem in the prior art that a called sequence of a function is prone to be incorrect.
In order to achieve the above object, an embodiment of the present invention provides a function calling method, including:
acquiring the total number of the called functions, a calling mode mark, a switch state and a function pointer;
determining the calling sequence of the called function according to the calling mode mark;
and calling at least one called function according to the total number, the calling sequence, the switch state and the function pointer.
Optionally, the calling at least one called function according to the total number, the calling order, the switch state, and the function pointer includes:
traversing the switch state of the called function according to the total number and the calling sequence;
and when the switch state is the opening state, calling the corresponding called function according to the function pointer corresponding to the switch state.
Optionally, the obtaining of the total number of the called functions, the calling mode flag, the switch state, and the function pointer includes:
acquiring a packaging function;
and analyzing the encapsulation function, and acquiring the total number of the called functions, a calling mode mark, a switch state and a function pointer.
Optionally, the number of elements included in the call mode flag, the switch state, and the function pointer is equal to and equal to the total number.
Optionally, the method further comprises:
acquiring the calling priority of the called function;
the determining, according to the calling mode flag, a calling order of the called function includes:
determining a calling sequence for calling the called function according to a preset sequence under the condition that the calling mode mark is a sequential calling mark, wherein the preset sequence comprises a storage sequence;
and under the condition that the calling mode mark is a priority calling mark, determining the calling sequence for calling the called functions according to the priority sequence according to the calling priority.
An embodiment of the present invention provides a function calling apparatus, including:
the first acquisition module is used for acquiring the total number of the called functions, a calling mode mark, a switch state and a function pointer;
a first determining module, configured to determine, according to the calling mode flag, a calling order of the called function;
and the calling module is used for calling at least one called function according to the total number, the calling sequence, the switch state and the function pointer.
Optionally, the calling module specifically includes:
traversing the switch state of the called function according to the total number and the calling sequence;
and when the switch state is the opening state, calling the corresponding called function according to the function pointer corresponding to the switch state.
Optionally, the obtaining module is specifically configured to:
acquiring a packaging function;
and analyzing the encapsulation function, and acquiring the total number of the called functions, a calling mode mark, a switch state and a function pointer.
Optionally, the number of elements included in the call mode flag, the switch state, and the function pointer is equal to and equal to the total number.
Optionally, the apparatus further comprises:
the second acquisition module is used for acquiring the calling priority of the called function;
a second determining module, configured to determine, according to the call mode flag, a call order of the called function, where the determining includes:
a third determining module, configured to determine, when the call mode flag is a sequential call flag, a call sequence in which a called function is called according to a preset sequence, where the preset sequence includes a storage sequence;
and the fourth determining module is used for determining the calling sequence of calling the called functions according to the priority sequence according to the calling priority under the condition that the calling mode mark is the priority calling mark.
An embodiment of the present invention further provides a function calling device, including: a processor, a memory, and a program stored on the memory and executable on the processor, the program implementing the function call method as described above when called by the processor.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer storage medium, and when the computer program is called by a processor, the function calling method is implemented.
The technical scheme of the invention at least has the following beneficial effects:
in the above scheme, the function calling method determines the calling sequence of the called functions by obtaining the calling mode flags of the called functions, and calls at least one called function according to the total number of the called functions, the calling mode flags, the switch state and the function pointer, thereby avoiding the wrong calling sequence of the called functions when calling. Moreover, the total number and the switch state are set at the called function side, so that the called functions can be flexibly added and deleted at the master function side, the code function of the master function does not need to be modified, the master function can safely, conveniently and flexibly call a plurality of called functions, communication and learning of developers are reduced, time cost is reduced, software development efficiency is improved, and efficient and safe code maintenance is realized.
Drawings
FIG. 1 is a flow chart of a function call method according to an embodiment of the present invention;
FIG. 2 is another flowchart illustrating a function calling method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a function calling device according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
The embodiment of the invention provides a function calling method, a function calling device and function calling equipment, aiming at the problem that the called function calling sequence is easy to be wrong in the prior art.
As shown in fig. 1, an embodiment of the present invention provides a function calling method, including:
step S11, acquiring the total number of the called functions, a calling mode mark, a switch state and a function pointer;
in this step, the total number of the called functions may be of variable, constant, macro, and the like, and is used to represent a specific numerical value of the total number.
The calling mode flag of the called function can be of variable, constant, macro and other types, and is used for embodying different calling modes of the called function, and the switching of the calling modes is realized by changing the calling mode flag. For example, the data type of the call mode flag is a pool type variable, and when the variable value is true, the call mode indicates that the called function is called in the storage order, and when the variable value is false, the call mode indicates that the called function is called in the priority order.
Each called function has one and only one switch state, and when the calling function calls the called function, the calling function judges whether to call the called function according to the switch states. Here, a control variable is defined, which may be any container or data structure satisfying the use condition, such as an array, a linked list, a vector, and the like, and is used to store the switch states of all the called functions, and the on and off of the called functions are realized by changing the control variable.
It should be noted that the function pointer is defined as T (× FUNC) (T x.), where the data type is generic to be compatible with the return value of different data types and the called function of different types of parameters. Here, a control variable is defined, which may be any container or data structure satisfying the use condition, such as an array, a linked list, a vector, and the like, and is used to store function pointers corresponding to all the called functions, and can be traversed, and the control variable supports the calling function to call the called function through the function pointers.
Step S12, determining the calling sequence of the called function according to the calling mode mark;
in this step, the calling mode flag is used to enable the calling function to obtain a correct calling sequence of the called function, where the calling sequence includes calling the called function according to the storage sequence and calling the called function according to the priority sequence. When the software requirement or the process flow is changed, the calling mode mark is switched at the called function side, so that the calling sequence of the called function can be changed without modifying the code function of the calling function, and the flexible change of the software flow is realized.
Step S13, calling at least one called function according to the total number, the calling sequence, the switch state and the function pointer.
In this step, the switch state corresponding to the called function is set on the called function side, so that the program code of the master call function does not need to be changed, and the addition and deletion of the software functions are safely, conveniently and flexibly realized.
The implementation of the function call method according to the embodiment of the present invention includes, but is not limited to, C + + voice. The method comprises the steps of determining the calling sequence of the called functions by obtaining calling mode marks of the called functions, and calling at least one called function according to the total number of the called functions, the calling mode marks, the switch state and the function pointer, so that the problem of sequence errors of the called functions during calling is avoided. Moreover, the total number and the switch state are set at the called function side, so that the called functions can be flexibly added and deleted at the master function side, the code function of the master function does not need to be modified, the master function can safely, conveniently and flexibly call a plurality of called functions, communication and learning of developers are reduced, time cost is reduced, software development efficiency is improved, and safe and efficient code maintenance is realized.
Specifically, step S13 includes:
traversing the switch state of the called function according to the total number and the calling sequence;
and when the switch state is the opening state, calling the corresponding called function according to the function pointer corresponding to the switch state.
It should be noted that different called functions correspond to different functions or processes, and when a function needs to be added, the called function is added to the control variable of the function pointer, and the total number of the called functions is changed; when the functions need to be reduced, the switch state is changed, and the corresponding called functions cannot be called, so that the safe and convenient software adding and deleting function is realized.
Specifically, step S11 includes:
acquiring a packaging function;
and analyzing the encapsulation function, and acquiring the total number of the called functions, a calling mode mark, a switch state and a function pointer.
It should be noted that, the encapsulation function encapsulates all constants or variables representing the total number, the call mode flags storing all the called functions, the switch states, and the control variables of the function pointers according to software functions or usage requirements, and can satisfy the usage requirements of the called functions and the master function.
Further, the number of elements included in the call mode flag, the switch state, and the function pointer is equal to and equal to the total number.
It should be noted that each called function corresponds to a unique one of the call mode flag, the switch state, and the function pointer, and a one-to-one fixed relationship exists between the three.
Specifically, the method further comprises:
acquiring the calling priority of the called function;
the determining, according to the calling mode flag, a calling order of the called function includes:
determining a calling sequence for calling the called functions according to a preset sequence under the condition that the calling mode mark is a sequential calling mark, wherein the preset sequence is a storage sequence of the called functions;
and under the condition that the calling mode mark is a priority calling mark, determining the calling sequence for calling the called functions according to the priority sequence according to the calling priority.
It should be noted that each called function corresponds to a unique one of the call priorities, and when the call mode flag is a priority call flag, the master call function calls the called functions in sequence according to the order of the call priorities. For example, N called functions are packaged in the packaging function, where N is a positive integer, and the calling priorities corresponding to the called functions are 1 to N, respectively. Here, a control variable is defined, which may be any container or data structure satisfying use conditions, such as an array, a linked list, and a vector, and is used to store the call priorities of all the called functions, and the order exchange of the called functions is realized by changing the control variable, and the number of elements included in the control variable is equal to the total number of the called functions.
It should be further noted that, when the calling order is to call the called functions according to the storage order, the control variables storing the switch states are sequentially traversed until all the called functions are traversed;
and when the calling sequence is to call the called functions according to the priority sequence, sequentially traversing the control variables storing the switch states according to the control variables storing the calling priorities until all the called functions are traversed.
Exemplarily, as shown in fig. 2, an implementation procedure of the function call method provided by the embodiment of the present invention is as follows:
first, the total number of the called functions, i.e. the total number of the function pointers of the called functions, is analyzed.
The call mode flags of the called function are then parsed, where the call mode flags include a sequential call flag and a priority call flag.
Finally, according to the calling mode mark, selecting a proper method to traverse the function pointer of the called function;
when the calling mode flag is a sequential calling flag:
sequentially traversing and storing the control variables of the switch states of the called functions according to the storage sequence, and recording the serial numbers of the called functions when the switch states are on;
and acquiring the function pointer corresponding to the number from the control variable for storing the function pointer, calling the called function, and finishing calling after confirming and traversing all the called functions.
When the calling mode flag is a priority calling flag:
traversing the control variables storing the calling priorities of the called functions, sequentially finding out the called function numbers of … with a first priority, a second priority and a third priority, and recording the number of the called function when finding out one priority after the priority is found out;
acquiring a switch state corresponding to the number from a control variable storing the switch state, and recording the number of the called function at the moment if the switch state is on;
and acquiring the function pointer corresponding to the number from the control variable for storing the function pointer, calling the called function, and finishing calling after confirming and traversing all the called functions.
Illustratively, a specific implementation process of the function calling method provided by the embodiment of the present invention is as follows:
(1) implementation example of the C + + code of the calle function calling the called function:
Figure BDA0002952065700000081
the whole called function is realized by a structure template;
macro MAX _ LENGTH represents the total number of functions being called;
t (× FUNC) (T x.) defines an unlimited number of generic function pointer types;
the array mFunctionPointer is a control variable for storing a function pointer in the method;
the array mEnableTag is a control variable for storing the switch state in the method;
the array mRunRank is a control variable for storing and calling priority in the method;
the variable mIsRankMode is a call mode flag;
in particular, we can initialize the relevant control variables using a constructor;
(2) demonstration of the implementation flow codes of the called function side:
assume that on the called function side, the following series of functions need to be encapsulated:
void TestFunction1();
int TestFunction2();
bool TestFunction3(int x);
char TestFunction4(int x,float y,char z);
char*TestFunction5(string s);
void TestFunction6(int&x);
string&TestFunction7(int x,string s);
double TestFunction8(float x,double y,int z,char c,string&s);
void TestFunction9(char16_t x,char32_t y,wchar_t z);
vector<int>TestFunction10(vector<int>&v);
determining the total number of functions being called:
#define MAX_LENGTH 10
defining a global variable on the called function side, wherein the master function can realize the access to the called function through the variable:
stFunction g_stFunction;
the assignment to g _ stFunction is as follows:
Figure BDA0002952065700000091
Figure BDA0002952065700000101
Figure BDA0002952065700000111
Figure BDA0002952065700000121
demonstration of the implementation flow codes of the key function side:
Figure BDA0002952065700000122
Figure BDA0002952065700000131
as shown in fig. 3, an embodiment of the present invention further provides a function calling apparatus, including:
a first obtaining module 31, configured to obtain the total number of the called functions, a call mode flag, a switch state, and a function pointer;
a first determining module 32, configured to determine, according to the calling mode flag, a calling order of the called function;
and a calling module 33, configured to call at least one called function according to the total number, the calling order, the switch state, and the function pointer.
The function calling device of the embodiment of the invention realizes different calling modes of the calling function to the called function by setting the calling mode mark, wherein the calling mode mark comprises a sequential calling mark and a priority calling mark. And determining the calling sequence of the called functions by calling the mode marks, and calling at least one called function according to the total number of the called functions, the calling mode marks, the switch states and the function pointers, thereby avoiding the wrong sequence of the called functions when calling. Moreover, the total number and the switch states are set at the called function side, so that the called functions can be flexibly added and deleted at the calling function side, the code function of the calling function does not need to be modified, the calling function can safely, conveniently and flexibly call a plurality of called functions, communication and learning of developers are reduced, time cost is reduced, and software development efficiency is improved.
Specifically, the invoking module 33 is specifically configured to:
traversing the switch states of the called functions according to the total number and the calling sequence;
and when the switch state is the opening state, calling the corresponding called function according to the function pointer corresponding to the switch state.
Specifically, the obtaining module 31 is specifically configured to:
acquiring a packaging function;
and analyzing the encapsulation function, and acquiring the total number of the called functions, a calling mode mark, a switch state and a function pointer.
Further, the number of elements included in the call mode flag, the switch state, and the function pointer is equal to and equal to the total number.
Specifically, the apparatus further comprises:
the second obtaining module is used for obtaining the calling priority of the called function;
a second determining module, configured to determine, according to the call mode flag, a call order of the called function, where the determining includes:
a third determining module, configured to determine, when the call mode flag is a sequential call flag, a call sequence in which a called function is called according to a preset sequence, where the preset sequence includes a storage sequence;
and the fourth determining module is used for determining the calling sequence of calling the called functions according to the priority sequence according to the calling priority under the condition that the calling mode mark is the priority calling mark.
It should be noted that the function calling apparatus has the following beneficial effects:
setting a calling mode flag and a calling priority, preventing the problem of wrong calling sequence of the called functions and realizing a safe control flow;
when the functions need to be added, adding the called functions into the control variables of the function pointers, and changing the total number of the called functions; when the functions need to be reduced, the switch state is changed, and the corresponding called functions cannot be called, so that the safe and convenient software adding and deleting functions are realized;
when the called function needs function iteration, only code modification needs to be carried out on the encapsulation function of the called function, the calling function does not need to be modified, developers do not need to excessively learn the use method, calling sequence and the like of the called function, communication and learning cost is reduced, software development efficiency is improved, and software maintenance is facilitated.
An embodiment of the present invention further provides a function calling device, including: a processor, a memory, and a program stored on the memory and executable on the processor, the program implementing the function call method as described above when called by the processor.
It should be noted that the function calling device can prevent the called function from making a mistake in the calling sequence, reduce the communication and learning costs between the calling function developer and the called function developer in the multi-user development process, and has the advantages of convenient software function addition and deletion, safe and flexible software flow change, and efficient and safe code maintenance.
An embodiment of the present invention also provides a computer-readable storage medium having stored thereon a computer program that, when called by a processor, implements the function calling method as described above.
The computer-readable storage medium of the embodiment of the invention realizes the function calling method, has the technical effects as described above, can prevent the calling sequence of the called function in the calling function from being wrong, reduces the communication and learning cost between the calling function developer and the called function developer in the multi-user development process, realizes safe and convenient add-delete software functions and a safe and flexible software sequence changing method, and has the characteristics of efficient, safe and easy code maintenance.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1. A function calling method, comprising:
acquiring the total number of the called functions, a calling mode mark, a switch state and a function pointer;
determining the calling sequence of the called function according to the calling mode mark;
and calling at least one called function according to the total number, the calling sequence, the switch state and the function pointer.
2. The method for function call according to claim 1, wherein said calling at least one of said called functions according to said total number, said calling order, said switch state and said function pointer comprises:
traversing the switch states of the called functions according to the total number and the calling sequence;
and when the switch state is the opening state, calling the corresponding called function according to the function pointer corresponding to the switch state.
3. The method according to claim 1 or 2, wherein the obtaining of the total number of the called functions, the call mode flag, the switch state, and the function pointer comprises:
acquiring a packaging function;
and analyzing the encapsulation function, and acquiring the total number of the called functions, a calling mode mark, a switch state and a function pointer.
4. The function calling method according to claim 1 or 2, wherein the number of elements included in the call mode flag, the switch state, and the function pointer is equal to the total number.
5. The function calling method according to claim 1 or 2, further comprising:
acquiring the calling priority of the called function;
the determining, according to the calling mode flag, a calling order of the called function includes:
determining a calling sequence for calling the called function according to a preset sequence under the condition that the calling mode mark is a sequential calling mark, wherein the preset sequence comprises a storage sequence;
and under the condition that the calling mode mark is a priority calling mark, determining the calling sequence for calling the called functions according to the priority sequence according to the calling priority.
6. A function calling apparatus, comprising:
the first acquisition module is used for acquiring the total number of the called functions, a calling mode mark, a switch state and a function pointer;
a first determining module, configured to determine, according to the calling mode flag, a calling order of the called function;
and the calling module is used for calling at least one called function according to the total number, the calling sequence, the switch state and the function pointer.
7. The function calling device of claim 6, wherein the calling module specifically comprises:
traversing the switch state of the called function according to the total number and the calling sequence;
and when the switch state is the opening state, calling the corresponding called function according to the function pointer corresponding to the switch state.
8. The function calling device according to claim 6 or 7, wherein the obtaining module is specifically configured to:
acquiring a packaging function;
and analyzing the encapsulation function, and acquiring the total number of the called functions, a calling mode mark, a switch state and a function pointer.
9. The function calling apparatus according to claim 6 or 7, wherein the number of elements included in the call mode flag, the switch state, and the function pointer is equal to the total number.
10. The function calling apparatus according to claim 6 or 7, further comprising:
the second obtaining module is used for obtaining the calling priority of the called function;
a second determining module, configured to determine, according to the call mode flag, a call order of the called function, where the determining includes:
a third determining module, configured to determine, when the call mode flag is a sequential call flag, a call sequence in which a called function is called according to a preset sequence, where the preset sequence includes a storage sequence;
and the fourth determining module is used for determining the calling sequence of calling the called functions according to the priority sequence according to the calling priority under the condition that the calling mode mark is the priority calling mark.
11. A function calling apparatus, comprising: a processor, a memory, and a program stored on the memory and executable on the processor, the program, when called by the processor, implementing the function call method of any of claims 1 to 5.
12. A computer-readable storage medium, characterized in that a computer program is stored thereon, which when called by a processor implements the function calling method according to any one of claims 1 to 5.
CN202110212906.XA 2021-02-25 2021-02-25 Function calling method, device and equipment Active CN114968417B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110212906.XA CN114968417B (en) 2021-02-25 2021-02-25 Function calling method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110212906.XA CN114968417B (en) 2021-02-25 2021-02-25 Function calling method, device and equipment

Publications (2)

Publication Number Publication Date
CN114968417A true CN114968417A (en) 2022-08-30
CN114968417B CN114968417B (en) 2024-05-24

Family

ID=82973995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110212906.XA Active CN114968417B (en) 2021-02-25 2021-02-25 Function calling method, device and equipment

Country Status (1)

Country Link
CN (1) CN114968417B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060107268A1 (en) * 2004-11-16 2006-05-18 Software Wireless, Llc Method and apparatus for implementing task management of computer operations
CN101599114A (en) * 2009-06-17 2009-12-09 北京东方微点信息技术有限责任公司 The method and system that the driving of Virus is positioned
CN102012833A (en) * 2010-11-09 2011-04-13 北京神舟航天软件技术有限公司 Compilation process intermediate result-based static stack detection method
CN106648929A (en) * 2016-12-02 2017-05-10 武汉斗鱼网络科技有限公司 Switch system and switch mode implementation method
CN108415739A (en) * 2018-02-28 2018-08-17 腾讯科技(深圳)有限公司 A kind of the hook method, apparatus and storage medium of Dynamic Link Library Function
US20190050212A1 (en) * 2016-03-11 2019-02-14 Intel Corporation Technologies for indirectly calling vector functions
CN110187988A (en) * 2019-06-06 2019-08-30 中国科学技术大学 Static function calling figure construction method suitable for Virtual Function and function pointer
US10761835B1 (en) * 2014-05-30 2020-09-01 Apptimize Llc Run-time application modification
CN111857681A (en) * 2020-06-08 2020-10-30 北京大学 Software-defined key function positioning and extracting method of C + + system
CN112148275A (en) * 2019-06-28 2020-12-29 英特尔公司 Methods, systems, articles of manufacture, and apparatus for context and complexity aware recommendation systems for improved software development efficiency

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060107268A1 (en) * 2004-11-16 2006-05-18 Software Wireless, Llc Method and apparatus for implementing task management of computer operations
CN101599114A (en) * 2009-06-17 2009-12-09 北京东方微点信息技术有限责任公司 The method and system that the driving of Virus is positioned
CN102012833A (en) * 2010-11-09 2011-04-13 北京神舟航天软件技术有限公司 Compilation process intermediate result-based static stack detection method
US10761835B1 (en) * 2014-05-30 2020-09-01 Apptimize Llc Run-time application modification
US20190050212A1 (en) * 2016-03-11 2019-02-14 Intel Corporation Technologies for indirectly calling vector functions
CN106648929A (en) * 2016-12-02 2017-05-10 武汉斗鱼网络科技有限公司 Switch system and switch mode implementation method
CN108415739A (en) * 2018-02-28 2018-08-17 腾讯科技(深圳)有限公司 A kind of the hook method, apparatus and storage medium of Dynamic Link Library Function
CN110187988A (en) * 2019-06-06 2019-08-30 中国科学技术大学 Static function calling figure construction method suitable for Virtual Function and function pointer
CN112148275A (en) * 2019-06-28 2020-12-29 英特尔公司 Methods, systems, articles of manufacture, and apparatus for context and complexity aware recommendation systems for improved software development efficiency
CN111857681A (en) * 2020-06-08 2020-10-30 北京大学 Software-defined key function positioning and extracting method of C + + system

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
CODEGURU STAFF: "Function Calls, Part 3 (Frame Pointer and Local Variables)", pages 1 - 4, Retrieved from the Internet <URL:《https://www.codeguru.com/visual-studio/function》> *
YULEI SUI: "Value-Flow-Based Demand-Driven Pointer Analysis for C and C++", 《IEEE TRANSACTIONS ON SOFTWARE ENGINEERING ( VOLUME: 46, ISSUE: 8, 01 AUGUST 2020)》, 11 November 2018 (2018-11-11), pages 812 *
任建华: "基于主机的文件实时监控技术的研究与实现", 《中国优秀硕士学位论文全文数据库 (信息科技辑)》, 15 October 2006 (2006-10-15), pages 140 - 251 *
张晓康: "深入理解计算机系统(十九):过程(函数的调用原理)", pages 1 - 9, Retrieved from the Internet <URL:< https://zhuanlan.zhihu.com/p/37537046>> *
王淑栋: "面向顺序存储结构的数据流分析", 《软件学报》, 30 June 2020 (2020-06-30), pages 1276 - 1293 *

Also Published As

Publication number Publication date
CN114968417B (en) 2024-05-24

Similar Documents

Publication Publication Date Title
US5093914A (en) Method of controlling the execution of object-oriented programs
US5249275A (en) Apparatus and method enabling a compiled program to exactly recreate its source code
US5911074A (en) Process for manipulating data models used in software engineering
US11579856B2 (en) Multi-chip compatible compiling method and device
EP0509623A2 (en) Program processing system and method
JPH02272627A (en) Digital computer system and method of invocation of procedure of the same
US5452453A (en) Rule based production system adapted for complex procedural flow
CN114968417A (en) Function calling method, device and equipment
CN110187884B (en) Memory access instruction instrumentation optimization method in multi-thread application scene
Meier et al. An architecture for prolog extensions
Pagan Converting interpreters into compilers
Ditzel Reflections on the high-level language symbol computer system
US6311227B1 (en) Procedure calling method
Coglio A proof-generating C code generator for ACL2 based on a shallow embedding of C in ACL2
Iliffe Elements of BLM
EP0243110A2 (en) Computer system having source code re-creation capability
CA1259138A (en) Method of compiling high level language statements into low level language instruction sets
CN114787769B (en) Method for updating a control program of an automation system by data migration of a program state of the control program
CN104731700A (en) Unit testing system and method of local data supporting table drive
CN112416362B (en) PDK compiling function implementation method
Ashby et al. Design of an interactive debugger for FORTRAN: MANTIS
Pierce Source language debugging on a small computer
US20050005264A1 (en) Computer programming object externalization
Van Sciver Safeguard Data‐Processing System: Systems Programming in PL/1
JP2003076558A (en) Method and program for controlling program execution

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant