Intelligent contract similarity retrieval method and system based on stack instruction sequence
A technology of smart contracts and retrieval systems, used in instruments, software maintenance/management, reverse engineering, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1 00
[0052] Example 1 2000002,0x2BD2326c993DFaeF84f696526064FF22eba5b362,
[0053] PUSH1 PUSH1 MSTORE CALLDATASIZE ISZERO PUSH1 JUMPI PUSH1 PUSH1 EXPPUSH1 CALLDATALOAD DIV PUSH4 DUP2 EQ PUSH1 JUMPI JUMPDEST PUSH1 PUSH1 SLOADPUSH1 AND DUP2 JUMP JUMPDEST ISZERO ISZERO PUSH1 PUSHNAPRE DUP2 MSTO
example 2 000
[0054] Example 2 2000013,0xBFC39b6F805a9E40E77291afF27aeE3C96915BDD,
[0055] PUSH1 PUSH1 MSTORE CALLDATASIZE ISZERO PUSH1 JUMPI JUMPDEST PUSH1JUMPDEST PUSH1 PUSH1 SWAP1 SLOAD SWAP1 PUSH2 EXP SWAP1 DIV PUSH20 AND PUSH20AND PUSH1 CALLVALUE PUSH1 MLOAD DUP1 SWAP1 POP PUSH1 PUSH1 MLOAD DUP1 DUP4SUB DUP2 DUP6 DUP9 DUP9 CALL SWAP4 POP POP POP POP ISZERO PUSH1 JUMPI PUSH32PUSH1 PUSH1 SWAP1 SLOAD SWAP1 PUSH2 EXP SWAP1 DIV PUSH20 AND PUSH1 MLOAD DUP1DUP3 PUSH20 AND DUP2 MSTORE PUSH1 ADD SWAP2 POP POP PUSH1 MLOAD DUP1 SWAP2SUB SWAP1 LOG1 PUSH1 JUMP JUMPDEST JUMPDEST JUMP JUMPDEST STOP
[0056] Formally speaking, the instruction sequence of contract c is S c =(s 1 ,s 2 ,...,s N ), S c The length is N. For example 1, c=0x2BD2326c993DFaeF84f696526064FF22eba5b362, N=36, s 1 =s 2 =PUSH1,s 36 =RETURN.
[0057] Next, design a deep neural network model to learn instruction sequences, such as figure 1 As shown, the whole model can be divided into four layers, which are input layer, en...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com