mirror of
https://github.com/status-im/EIPs.git
synced 2025-02-05 03:23:48 +00:00
Automatically merged updates to draft EIP(s) 1470
Hi, I'm a bot! This change was automatically merged because: - It only modifies existing Draft or Last Call EIP(s) - The PR was approved or written by at least one author of each modified EIP - The build is passing
This commit is contained in:
parent
a97dc43493
commit
9ab3f596c2
@ -68,24 +68,37 @@ Test cases include crafted as well as real-world samples of vulnerable smart con
|
|||||||
|
|
||||||
1. Source code of a smart contract sample; e.g. Solidity, Vyper, etc.
|
1. Source code of a smart contract sample; e.g. Solidity, Vyper, etc.
|
||||||
2. Compiled asset from an EVM compiler in machine readable format; e.g. JSON or ethPM.
|
2. Compiled asset from an EVM compiler in machine readable format; e.g. JSON or ethPM.
|
||||||
3. Test result configuration that describes which and how many instances of a weakness variant can be found in a given sample. The YAML schema for the proposed test result configuration is listed below.
|
3. Test result configuration that describes which and how many instances of a weakness variant can be found in a given sample. The YAML schema for the proposed test case configuration is listed below.
|
||||||
|
|
||||||
```YAML
|
```YAML
|
||||||
description:
|
title: SWC config
|
||||||
type: string
|
type: object
|
||||||
required: true
|
required:
|
||||||
issues:
|
- description
|
||||||
- id:
|
- issues
|
||||||
|
properties:
|
||||||
|
description:
|
||||||
type: string
|
type: string
|
||||||
required: true
|
issues:
|
||||||
count:
|
title: Issues
|
||||||
type: number
|
type: array
|
||||||
required: true
|
items:
|
||||||
locations:
|
title: Issue
|
||||||
- bytecode_offsets:
|
type: object
|
||||||
- type: number
|
required:
|
||||||
line_numbers:
|
- id
|
||||||
- type: number
|
- count
|
||||||
|
properties:
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
count:
|
||||||
|
type: number
|
||||||
|
locations:
|
||||||
|
items:
|
||||||
|
bytecode_offsets:
|
||||||
|
type: object
|
||||||
|
line_numbers:
|
||||||
|
type: object
|
||||||
```
|
```
|
||||||
|
|
||||||
## Implementation
|
## Implementation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user