Smart contract reentrant vulnerability detection method based on adversarial neural network
A smart contract and neural network technology, applied in neural learning methods, biological neural network models, neural architectures, etc., can solve problems such as low accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0034] Such as figure 1 As shown, a smart contract reentrancy vulnerability detection method based on an adversarial neural network includes the following steps:
[0035] Step 1: The vulnerability statement library and the smart contract library perform data preprocessing, code embedding, and statement vector similarity comparisons to find out the actual location of the vulnerability statement in the smart contract and classify it by type. Finally, collect all vulnerable statements in the smart contract library.
[0036] Specifically, step 1 includes the following steps:
[0037] Step 1.1: Data preprocessing.
[0038] Use the "\n" identifier to split the vulnerability statement library and the smart contract library to obtain the statement-level contract code. Segment the sentence through the stuttering word segmentation tool to obtain the word sequence. Normalize word sequences, replacing single character variables with "single" and numbers with "num"; remove unnecessary ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
