-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathregion.schema.yaml
More file actions
38 lines (32 loc) · 987 Bytes
/
region.schema.yaml
File metadata and controls
38 lines (32 loc) · 987 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
$schema: "https://json-schema.org/draft/2020-12/schema"
$id: "schema:ethdebug/format/pointer/region"
title: ethdebug/format/pointer/region
description: |
A representation of a region of data in the EVM
type: object
properties:
location:
$ref: "#/$defs/Location"
oneOf:
- $ref: "schema:ethdebug/format/pointer/region/stack"
- $ref: "schema:ethdebug/format/pointer/region/memory"
- $ref: "schema:ethdebug/format/pointer/region/storage"
- $ref: "schema:ethdebug/format/pointer/region/calldata"
- $ref: "schema:ethdebug/format/pointer/region/returndata"
- $ref: "schema:ethdebug/format/pointer/region/transient"
- $ref: "schema:ethdebug/format/pointer/region/code"
$defs:
Location:
type: string
enum:
- stack
- memory
- storage
- calldata
- returndata
- transient
- code
unevaluatedProperties: false
examples:
- location: storage
slot: "0x0000000000000000000000000000000000000000000000000000000000000000"