Transient error detection method based on function call relationship
A function call relationship and instantaneous error technology, applied in the field of computer science, can solve problems such as catastrophic accidents, program runaway, system dysfunction, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0019] The present invention designs an instantaneous error detection method based on the function call relationship, generates the function call relationship in the C language file at the compilation stage, uses the code instrumentation tool to perform signature insertion on the function according to the function call relationship diagram, and finally verifies the error through dynamic operation The effectiveness of the detection method, the overall structure of the detection method is as follows figure 1 shown.
[0020] 1. Signature algorithm based on function call relationship
[0021] Define 1 root node: determine the function nodes in the auxiliary analysis file, and call the function node with an in-degree of zero as the root node. The in-degree of a function is zero means that the number of times this function is called by all other functions is zero.
[0022] Definition 2 Leaf node: In the auxiliary analysis file, the out-degree is zero, and the function node defined ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 