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

Function calling method, device and equipment Download PDF

Info

Publication number
CN114968417B
CN114968417B CN202110212906.XA CN202110212906A CN114968417B CN 114968417 B CN114968417 B CN 114968417B CN 202110212906 A CN202110212906 A CN 202110212906A CN 114968417 B CN114968417 B CN 114968417B
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.)
Active
Application number
CN202110212906.XA
Other languages
Chinese (zh)
Other versions
CN114968417A (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

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 function calling device and function calling equipment, which relate to the field of data processing, wherein 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 main calling function from being wrong when the called function is called, safely, conveniently and flexibly complete the addition and deletion of the software function and the change of the software flow, and realize the efficient and safe code maintenance.

Description

Function calling method, device and equipment
Technical Field
The present invention belongs to the field of data processing, and in particular, relates to a method, an apparatus, and a device for function call.
Background
In software programming, functions or routines, and subroutines, are programs or code that may be directly referenced by another piece of program or code to accomplish a particular task or to perform a particular function.
The complex program is generally decomposed into a plurality of small modules or steps, and each small module or step completes a certain function, namely corresponds to a function. The program is called as a main program or a main function, and the main function calls functions corresponding to the decomposition modules according to certain logic and sequence, namely the implementation process of the program.
In a real software development process, a function is realized, and many functions are often needed to realize the function. That is, the function implemented by a main function is often based on many functions called by it, the main function being the main call function, and the called functions being called functions. The primary and called functions may be developed by the same programmer or may be developed by different programmers, may be in the same code source file or may be in different source files. Therefore, the calling sequence of the called functions is inevitably wrong due to the understanding error or the writing error of a programmer, and the calling sequence of the called functions cannot be changed randomly, so that unexpected errors can be caused by changing the calling sequence, even the functions of the main calling functions 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 tuned function is realized, modification is also needed in a main tuning function, and the code change amount is relatively large; when a certain function needs to be deleted, the code of the main call function needs to be modified, the software functions are inconvenient to increase and decrease, and the difficulty is caused to code maintenance.
In addition, when the software requirement change causes that the called function needs to change the calling sequence, the programmer can only change the code of the main calling function, which also causes inflexibility of software flow change.
In addition, in the multi-person joint development process, the main call function developer and the called function developer need too much communication and learning, so that the software development efficiency is greatly reduced.
Disclosure of Invention
The embodiment of the invention aims to provide a function calling method, device and equipment, so that the problem that the called function calling sequence is wrong easily occurs in the prior art is solved.
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 sequence, 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 an on state, calling a corresponding called function according to the function pointer corresponding to the switch state.
Optionally, the obtaining 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 to obtain the total number of the called functions, the calling mode mark, the switch state and the function pointer.
Optionally, the number of elements included in the call mode flag, the switch state and the function pointer is equal to the total number.
Optionally, the method further comprises:
acquiring the calling priority of the called function;
The determining the calling sequence of the called function according to the calling mode mark comprises the following steps:
determining a calling sequence of calling the called function according to a preset sequence under the condition that the calling mode mark is a sequence 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 a calling sequence for calling the called function according to the priority order according to the calling priority.
The embodiment of the invention provides a function calling device, which comprises:
The first acquisition module is used for acquiring the total number of the called functions, the calling mode mark, the switch state and the function pointer;
the first determining module is used for determining the calling sequence of the called function according to the calling mode mark;
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 an on state, calling a corresponding called function according to the function pointer corresponding to the switch state.
Optionally, the acquiring module is specifically configured to:
Acquiring a packaging function;
And analyzing the encapsulation function to obtain the total number of the called functions, the calling mode mark, the switch state and the function pointer.
Optionally, the number of elements included in the call mode flag, the switch state and the function pointer is 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;
the second determining module is 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 sequence call flag, a call sequence for calling the called function 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 order according to the calling priority when the calling mode mark is the priority calling mark.
The embodiment of the invention also provides a function calling device, which comprises: a processor, a memory, and a program stored on the memory and executable on the processor, which when called by the processor implements the function call method as described above.
The embodiment of the invention also provides a computer readable storage medium, wherein the computer storage medium is stored with a computer program, and the computer program realizes the function calling method when being called by a processor.
The technical scheme of the invention has at least the following beneficial effects:
In the above scheme, the function calling method determines the calling sequence of the called function by acquiring the calling mode mark of the called function, and calls at least one called function according to the total number of the called functions, the calling mode mark, the switch state and the function pointer, thereby avoiding the error of the calling sequence of the called function during the calling. In addition, the total number and the switch state are set on the side of the called function, the called function can be flexibly added and deleted on the side of the main call function, the code function of the main call function is not required to be modified, the main call 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 calling method according to an embodiment of the invention;
FIG. 2 is a flow chart of 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 to be solved more apparent, the following detailed description will be 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 calling sequence of a called function is wrong in the prior art.
As shown in fig. 1, an embodiment of the present invention provides a function calling method, including:
Step S11, obtaining the total number of the functions to be tuned, a call mode mark, a switch state and a function pointer;
In this step, the total number of the tuned functions may be variable, constant, macro, etc. and be used to represent a specific value of the total number.
The calling mode marks of the called function can be variable, constant, macro and other types, and are used for reflecting different calling modes of the called function, and the switching of the calling modes is realized through changing the calling mode marks. For example, the data type of the call mode flag is a pool type variable, when the variable value is true, the call mode of calling the called function in the storage order is indicated, and when the variable value is false, the call mode of calling the called function in the priority order is indicated.
Each called function has only one switch state, and when the called function is called, the main call function judges whether the called function is called or not according to the switch state. Here, a control variable is defined, which may be any container or data structure satisfying the use condition, such as a group, a linked list, and a vector, for storing the on/off states of all the tuned functions, and the on/off of the tuned functions is implemented 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, so as to be compatible with return values of different data types and called functions of different types of parameters. Here, a control variable is defined, and the control variable may be any container or data structure meeting the use condition, such as an array, a linked list, a vector, etc., and is used for storing function pointers corresponding to all the called functions, and can be traversed, so as to support the calling of the called functions by the main call 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 main calling function obtains the correct calling sequence of the called function through the calling mode mark, and the calling sequence comprises 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 technological process is changed, the calling mode mark is switched on the side of the called function, so that the calling sequence of the called function can be changed without modifying the code function of the main call function, and flexible change of the software process is realized.
And step S13, calling at least one called function according to the total number, the calling sequence, the switch state and the function pointer.
In the step, the switch state corresponding to the called function is set on the side of the called function, so that the program code of the main call function is not required to be changed, and the addition and deletion of the software function are safely, conveniently and flexibly realized.
Implementation of the function call method of the embodiment of the invention includes, but is not limited to, C++ voice. And determining the calling sequence of the called functions by acquiring 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 states and the function pointers, so that the problem of wrong sequence of the called functions during calling is avoided. In addition, the total number and the switch state are set on the side of the called function, the called function can be flexibly added and deleted on the side of the main call function, the code function of the main call function is not required to be modified, the main call 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 an on state, calling a corresponding called function according to the function pointer corresponding to the switch state.
It should be noted that different functions or flows are corresponding to different called functions, when a function needs to be added, the called functions are added into the control variables of the function pointers, 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 function is not called, so that the safe and convenient software adding and deleting functions are realized.
Specifically, step S11 includes:
Acquiring a packaging function;
And analyzing the encapsulation function to obtain the total number of the called functions, the calling mode mark, the switch state and the function pointer.
It should be noted that, the packaging function packages all the constants or variables representing the total number, the call mode flags corresponding to all the stored modulated functions, the switch states and the control variables of the function pointers according to the software function or the use requirement, and can meet the use requirements of the modulated functions and the main modulation functions.
Further, the number of elements included in the call mode flag, the switch state and the function pointer is 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 there is a one-to-one fixed relationship between the three.
Specifically, the method further comprises:
acquiring the calling priority of the called function;
The determining the calling sequence of the called function according to the calling mode mark comprises the following steps:
Under the condition that the calling mode mark is a sequence calling mark, determining a calling sequence of calling the called function according to a preset sequence, wherein the preset sequence is a storage sequence of the called function;
And under the condition that the calling mode mark is a priority calling mark, determining a calling sequence for calling the called function according to the priority 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 main call function calls the called functions in turn according to the order of the call priorities. For example, N called functions are encapsulated in the encapsulating function, N is a positive integer, and the call priorities corresponding to the called functions are respectively 1 to N. Here, a control variable is defined, and the control variable may be any container or data structure satisfying the use condition, such as an array, a linked list, a vector, etc., for storing the call priorities of all the called functions, and the number of elements contained in the control variable is equal to the total number of the called functions by changing the control variable to implement the sequential exchange of the called functions.
When the calling sequence is to call the called functions according to the storage sequence, the control variables for storing the switch states are sequentially traversed until all the called functions are traversed;
When the calling sequence is to call the called functions according to the priority sequence, the control variables storing the switch states are sequentially traversed according to the control variables storing the calling priorities until all the called functions are traversed.
As shown in fig. 2, the implementation process of the function calling method provided by the embodiment of the invention is as follows:
first, the total number of the called functions, i.e. the total number of function pointers of the called functions, is resolved.
The call mode flags of the called function are then parsed, where the call mode flags include a sequence call flag and a priority call flag.
Finally, selecting a proper method to traverse the function pointer of the called function according to the call mode mark;
when the call mode flag is a sequential call flag:
Traversing control variables for storing the switching state of the modulated function in sequence according to the storage sequence, and recording the serial number of the modulated function when the switching state is on;
And acquiring the function pointer corresponding to the number from the control variable of the stored function pointer, calling the called function, and ending the calling after confirming to traverse all the called functions.
When the call mode flag is a priority call flag:
Traversing a control variable storing the calling priority of the called function, sequentially finding out the number of the called function of the first priority, the second priority and the third priority … until the priority is found out every time when the priority is found out, and recording the number of the called function;
Acquiring a switch state of a corresponding number from control variables storing the switch state, and recording the number of the modulated function at the moment if the switch state is on;
And acquiring the function pointer corresponding to the number from the control variable of the stored function pointer, calling the called function, and ending the calling after confirming to traverse all the called functions.
The specific implementation process of the function calling method provided by the embodiment of the invention is as follows:
(1) Examples of C++ code implementations for a main call function to call a called function:
The whole calling of the called function is realized through a structure template;
macro max_length represents the total number of functions to be tuned;
t (×func) (T x,) defines a generalized function pointer type that does not limit the number of parameters;
Array mFunctionPointer is the control variable for storing function pointers in the method;
array mEnableTag is a control variable for storing the switch state in the method;
array mRunRank is a control variable in the method that stores call priority;
Variable mIsRankMode is a call mode flag;
in particular, we can initialize the relevant control variables using a constructor;
(2) Demonstration of implementation flow codes of the called function side:
it is assumed that on the called function side there are the following series of functions that need to be called by the encapsulation:
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 the modulated functions:
#define MAX_LENGTH 10
defining a global variable on the side of the called function, and enabling the main call function to access the called function through the variable:
stFunction g_stFunction;
the assignment process for g_ stFunction is as follows:
demonstration of implementation flow codes of a major function side:
/>
as shown in fig. 3, an embodiment of the present invention further provides a function calling device, including:
A first obtaining module 31, configured to obtain a 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 call mode flag, a call order of the called functions;
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 main calling function to the called function by setting the calling mode mark, wherein the calling modes comprise a sequence calling mark and a priority calling mark. And determining the calling sequence of the called functions through the calling mode mark, and calling at least one called function according to the total number of the called functions, the calling mode mark, the switch state and the function pointer, so that the sequence error of the called functions during calling is avoided. In addition, the total number and the switch state are set on the side of the called function, the called function can be flexibly added and deleted on the side of the main call function, the code function of the main call function is not required to be modified, the main call 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 calling module 33 is specifically configured to:
Traversing the switch state of the called function according to the total number and the calling sequence;
and when the switch state is an on state, calling a 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 to obtain the total number of the called functions, the calling mode mark, the switch state and the function pointer.
Further, the number of elements included in the call mode flag, the switch state and the function pointer is equal to the total number.
Specifically, the device further comprises:
The second acquisition module is used for acquiring the calling priority of the called function;
the second determining module is 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 sequence call flag, a call sequence for calling the called function 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 order according to the calling priority when the calling mode mark is the priority calling mark.
It should be noted that the function calling device has the following beneficial effects:
setting a calling mode mark and a calling priority, preventing the problem of wrong calling sequence of the called function, and realizing a safe control flow;
when the function needs to be added, adding the called function into the control variable of the function pointer, 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 function is not called, so that the safe and convenient software adding and deleting functions are realized;
when the function iteration is needed for the called function, only the code modification is needed for the encapsulation function of the called function, and the modification of the main call function is not needed, so that a developer does not need to learn too much the use method, the call sequence and the like of the called function, communication and learning cost are reduced, software development efficiency is improved, and software maintenance is facilitated.
An embodiment of the present invention also provides a function calling device, including: a processor, a memory, and a program stored on the memory and executable on the processor, which when called by the processor implements the function call method as described above.
The function calling device can prevent the calling sequence of the called function from being wrong, reduces the communication and learning cost between the main calling function developer and the called function developer in the multi-person development process, and has the advantages of convenient addition and deletion of the software functions, 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 which, when called by a processor, implements the function call 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 main call function from being wrong, reduces the communication and learning cost between the main call function developer and the called function developer in the multi-user development process, realizes safe and convenient software adding and deleting functions and safe and flexible software sequence changing methods, and has the characteristics of high-efficiency, safe codes and easy maintenance.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that various modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.

Claims (10)

1. A method of function call, 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;
calling at least one called function according to the total number, the calling sequence, the switch state and the function pointer;
wherein, the determining the calling sequence of the called function according to the calling mode mark comprises:
determining a calling sequence of calling the called function according to a preset sequence under the condition that the calling mode mark is a sequence calling mark, wherein the preset sequence comprises a storage sequence;
Under the condition that the calling mode mark is a priority calling mark, determining a calling sequence for calling the called function according to the calling priority of the called function;
And calling at least one called function according to the total number, the calling sequence, the switch state and the function pointer, wherein the calling comprises the following steps:
Traversing the switch state of the called function according to the total number and the calling sequence;
and when the switch state is an on state, calling a corresponding called function according to the function pointer corresponding to the switch state.
2. The method for calling a function according to claim 1, wherein the step of obtaining the total number of called functions, the call mode flag, the switch state, and the function pointer comprises:
Acquiring a packaging function;
And analyzing the encapsulation function to obtain the total number of the called functions, the calling mode mark, the switch state and the function pointer.
3. The function calling method according to claim 1, wherein the number of elements included in the calling mode flag, the switch state, and the function pointer are equal to each other and equal to the total number.
4. The function call method according to claim 1, further comprising:
and acquiring the calling priority of the called function.
5. A function calling device, comprising:
The first acquisition module is used for acquiring the total number of the called functions, the calling mode mark, the switch state and the function pointer;
the first determining module is used for determining the calling sequence of the called function according to the calling mode mark;
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;
The first determining module is specifically configured to:
determining a calling sequence of calling the called function according to a preset sequence under the condition that the calling mode mark is a sequence calling mark, wherein the preset sequence comprises a storage sequence;
Under the condition that the calling mode mark is a priority calling mark, determining a calling sequence for calling the called function according to the calling priority of the called function;
The calling module is specifically configured to:
Traversing the switch state of the called function according to the total number and the calling sequence;
and when the switch state is an on state, calling a corresponding called function according to the function pointer corresponding to the switch state.
6. The function calling device according to claim 5, wherein the obtaining module is specifically configured to:
Acquiring a packaging function;
And analyzing the encapsulation function to obtain the total number of the called functions, the calling mode mark, the switch state and the function pointer.
7. The function calling device according to claim 5, wherein the number of elements included in the calling mode flag, the switch state, and the function pointer are equal to each other and equal to the total number.
8. The function calling device of claim 5, further comprising:
and the second acquisition module is used for acquiring the call priority of the called function.
9. A function calling device, comprising: a processor, a memory, and a program stored on the memory and executable on the processor, which when called by the processor, implements the function call method of any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that the computer storage medium has stored thereon a computer program which, when called by a processor, implements the function call method according to any of claims 1 to 4.
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 CN114968417A (en) 2022-08-30
CN114968417B true 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 (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8161453B2 (en) * 2004-11-16 2012-04-17 Rabih Chrabieh Method and apparatus for implementing task management of computer operations
WO2017153796A1 (en) * 2016-03-11 2017-09-14 Intel Corporation Technologies for indirectly calling vector functions

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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 (3)

* Cited by examiner, † Cited by third party
Title
Value-Flow-Based Demand-Driven Pointer Analysis for C and C++;Yulei Sui;《IEEE Transactions on Software Engineering ( Volume: 46, Issue: 8, 01 August 2020)》;20181111;812 - 835 *
基于主机的文件实时监控技术的研究与实现;任建华;《中国优秀硕士学位论文全文数据库 (信息科技辑)》;20061015;I140-251 *
面向顺序存储结构的数据流分析;王淑栋;《软件学报》;20200630;1276-1293 *

Also Published As

Publication number Publication date
CN114968417A (en) 2022-08-30

Similar Documents

Publication Publication Date Title
Sandewall Programming in an Interactive Environment: the``Lisp''Experience
Ierusalimschy Programming in lua
US5911074A (en) Process for manipulating data models used in software engineering
US11579856B2 (en) Multi-chip compatible compiling method and device
US6106574A (en) Computer-implemented object-oriented method for relating objects in a compiler to locations in the source program and to inlined call histories
CN111309292B (en) MATLAB/Simulink-based full-model executable program construction method
CN110109671B (en) Webpack label size and style conversion method and device
US11288062B2 (en) Automatic source code refactoring
EP0483359A1 (en) Production system
CN111752841A (en) Single test simulation method, device, equipment and computer readable storage medium
CN114968417B (en) Function calling method, device and equipment
WO2002050674A2 (en) Robust logging system for embedded systems for software compilers
CN109213473B (en) Artificial intelligence generation method for daily operation process of satellite
CN106547548B (en) Software version compiling method and device
Pagan Converting interpreters into compilers
Buchanan A study in automatic programming
Coglio A proof-generating C code generator for ACL2 based on a shallow embedding of C in ACL2
CN112241268A (en) Keil engineering compiling method, system and equipment
US6311227B1 (en) Procedure calling method
CN105204995A (en) Method and system for dynamically debugging key parameters based on cellphone platform
Ludewig Espreso—A system for process control software specification
CN112416362B (en) PDK compiling function implementation method
CN113742361B (en) Method and system for storing JSON data by using SQL under JS development environment
EP0243110A2 (en) Computer system having source code re-creation capability
CN113326048B (en) Floating point number calculation precision processing method, system, medium and device

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