Skip to content

Error handling when memory offset is overflowing #7385

Description

@jeanmon

We are not handling a CALLDATACOPY opcode call which would lead to some overflowing memory offset. We should agree on how to handle this and align with simulator. Possibilities:

  1. We return no error but perform wrapping arithmetic over U32.
  2. We raise an halting error and stop execution.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

C-avmComponent: AVM related tickets (aka public VM)

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions