A smart contract verification method and computer storage medium
A technology of smart contracts and verification methods, applied in computing, protocol authorization, data processing applications, etc., can solve problems such as not supporting implicit loop callbacks, and achieve a wide range of applications
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] For the testing and verification of smart contracts, there are mainly the following methods:
[0052] Fuzzing: Fuzzing is a method of discovering software faults by constructing unexpected input data and monitoring the target software for abnormal results during operation. When fuzzing smart contracts, a random engine is used to generate a large amount of random data to form executable transactions. With reference to the feedback of the test results, the random engine dynamically adjusts the generated data to explore as much smart contract state space as possible. Based on the finite state machine, the state of each transaction is analyzed to detect whether there is an attack threat.
[0053] Symbolic execution technology: The core idea of symbolic execution is to use symbolic values instead of concrete values to execute programs. Variables with any uncertain value during program analysis, including environment variables and inputs, can be replaced by symbolic va...
Embodiment 2
[0132] The present invention also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the first embodiment and the second embodiment are implemented.
[0133] Generally, the computer-readable storage medium can be placed in a computer device, see Figure 10 , the computer equipment can include units or modules such as a processor, a communication interface, a computer-readable storage medium, and a communication bus, wherein the processor, the communication interface, and the memory complete mutual communication through the communication bus,
[0134] A computer-readable storage medium for storing computer programs;
[0135] The processor, when executing the program stored on the computer-readable storage medium, implements the following steps:
[0136] Step 1. Obtain a control flow graph according to the smart contract. The control flow ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


