Skip to content

Commit

Permalink
[wip]
Browse files Browse the repository at this point in the history
  • Loading branch information
gnidan committed Feb 5, 2024
1 parent d038781 commit 922f85a
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions schemas/pointer/region/calldata.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ allOf:
- $ref: "schema:ethdebug/format/pointer/region/base"
- $ref: "schema:ethdebug/format/pointer/scheme/slice"

unevaluatedProperties: false

examples:
- location: calldata
offset: "0x04"
Expand Down
2 changes: 2 additions & 0 deletions schemas/pointer/region/code.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ allOf:
- $ref: "schema:ethdebug/format/pointer/region/base"
- $ref: "schema:ethdebug/format/pointer/scheme/slice"

unevaluatedProperties: false

examples:
- location: code
offset: "0x04"
Expand Down
2 changes: 2 additions & 0 deletions schemas/pointer/region/memory.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ allOf:
- $ref: "schema:ethdebug/format/pointer/region/base"
- $ref: "schema:ethdebug/format/pointer/scheme/slice"

unevaluatedProperties: false

examples:
- location: memory
offset: "0x04"
Expand Down
2 changes: 2 additions & 0 deletions schemas/pointer/region/returndata.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ allOf:
- $ref: "schema:ethdebug/format/pointer/region/base"
- $ref: "schema:ethdebug/format/pointer/scheme/slice"

unevaluatedProperties: false

examples:
- location: returndata
offset: "0x04"
Expand Down
2 changes: 2 additions & 0 deletions schemas/pointer/region/stack.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ allOf:
- $ref: "schema:ethdebug/format/pointer/region/base"
- $ref: "schema:ethdebug/format/pointer/scheme/segment"

unevaluatedProperties: false

examples:
- location: stack
slot: 0
Expand Down
1 change: 1 addition & 0 deletions schemas/pointer/region/storage.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ allOf:
- $ref: "schema:ethdebug/format/pointer/region/base"
- $ref: "schema:ethdebug/format/pointer/scheme/segment"

unevaluatedProperties: false

examples:
- location: storage
Expand Down
1 change: 1 addition & 0 deletions schemas/pointer/region/transient.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ allOf:
- $ref: "schema:ethdebug/format/pointer/region/base"
- $ref: "schema:ethdebug/format/pointer/scheme/segment"

unevaluatedProperties: false

examples:
- location: transient
Expand Down
5 changes: 5 additions & 0 deletions schemas/pointer/scheme/slice.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,13 @@ type: object

properties:
offset:
description: |
The index of the byte (starting from zero) in the data location where
the slice begins.
$ref: "schema:ethdebug/format/pointer/expression"
length:
description: |
The length of the slice in number of bytes.
$ref: "schema:ethdebug/format/pointer/expression"

required:
Expand Down

0 comments on commit 922f85a

Please sign in to comment.