Intelligent contract Pincer cheating detection method and system based on control flow graph reduction
The invention discloses a control flow graph reduction-based intelligent contract Ponince cheating detection method and system. The method comprises the following steps: firstly, preprocessing collected Ethereum intelligent contract bytecode data, and constructing a control flow diagram according to...
Gespeichert in:
Hauptverfasser: | , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a control flow graph reduction-based intelligent contract Ponince cheating detection method and system. The method comprises the following steps: firstly, preprocessing collected Ethereum intelligent contract bytecode data, and constructing a control flow diagram according to control flow information in bytecodes; secondly, analyzing the structure of the control flow diagram, identifying an isolated code block, a dispatcher code block and a fallback function block, and filtering the isolated code block, the dispatcher code block and the fallback function block; then identifying a sub-control flow diagram of each function in the contract, analyzing the functions, and recombining the sub-control flow diagrams meeting conditions to ensure the effectiveness of feature extraction; in the feature extraction stage, serialization and nodal processing are carried out on the recombined control flow, and sequence features and graph structure features are extracted by using word2vec and graph2vec |
---|