Intelligent contract fuzzy test method and device and storage medium

A smart contract and fuzz testing technology, applied in the blockchain field, can solve problems such as frequent security incidents in smart contracts, security loopholes in smart contracts, and losses

Active Publication Date: 2020-12-25
TENCENT TECH (SHENZHEN) CO LTD
View PDF8 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to flaws in the development process of smart contracts, there are security holes in smart contracts deployed in blockchain services. At thi...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Intelligent contract fuzzy test method and device and storage medium
  • Intelligent contract fuzzy test method and device and storage medium
  • Intelligent contract fuzzy test method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] In order to make the purpose, technical solutions and beneficial effects of the application clearer, the technical solutions in the embodiments of the application will be clearly and completely described below in conjunction with the drawings in the embodiments of the application. Obviously, the described embodiments It is only a part of the embodiments of the present application, not all the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0050] The terms "first", "second" and the like in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides an intelligent contract fuzzy test method and device, and a storage medium, relates to the technical field of block chains, and is used for improving the security of an intelligent contract in a block chain and avoiding unnecessary loss. AST scanning analysis is carried out on the intelligent contract to generate an intelligent contract method protocol; in combination with an intelligent contract method protocol, mutation operation is carried out on the test case sample to generate test case mutation data, and the test case mutation data comprises a method name of the tested intelligent contract and a test case mutation sample; the method also includes requesting the test case variation data to a blockchain service, and determining a tested smart contract in the blockchain service according to the method name of the tested smart contract; and executing the test case variation sample on the tested smart contract, and collecting an execution result of the tested smart contract for the test case sample so as to determine a vulnerability of the tested smart contract according to abnormal data in the execution result.

Description

technical field [0001] This application relates to the technical field of block chain, and provides a method, device and storage medium for smart contract fuzz testing. Background technique [0002] Smart contracts are programs that execute on a blockchain network. Unlike traditional programs, smart contracts cannot be modified after they are deployed on the blockchain. Due to flaws in the development process of smart contracts, there are security holes in smart contracts deployed in blockchain services. At this time, anyone can attack the security holes in smart contracts, causing frequent security incidents in smart contracts, resulting in inevitable loss. Contents of the invention [0003] The embodiments of the present application provide a method, device and storage medium for smart contract fuzz testing, so as to improve the security of smart contracts in the blockchain and avoid unnecessary losses. [0004] In the first aspect, the embodiment of the present appli...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/36G06F21/57
CPCG06F11/3684G06F21/577
Inventor 周勇钧
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products