Intelligent contract endless loop detection method based on graph convolutional neural network
A convolutional neural network and dead-loop detection technology, applied to biological neural network models, neural architectures, instruments, etc., can solve problems such as smart contract dead-loop detection, achieve good versatility and practical value, and have versatility and applicability performance, high accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment
[0052] 3. The smart contract dead loop detection method in this embodiment takes the Fallback cycle of the VNT smart contract as an example, such as image 3 As shown, the specific implementation process is as follows:
[0053] (1) Use the automatic drawing tool to extract the core nodes, VAR variable nodes and directed edges from the smart contract source code, that is, convert the target contract source code into a graph structure. The specific implementation steps are as follows:
[0054] (1-1) Extract all function modules from the target contract, and the function modules are the core nodes. The characteristic attributes of core nodes are: core node ID (ie A, B, C,...), function return value (ie void, uint8, bool, ...), function call node ID (ie A, B, C, ...), edge-out timing, edge-in timing, and function call methods (including CALL, INNCALL, SELFCALL, and FALLCALL; respectively representing function calls outside the contract, function calls inside the contract, functio...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


