Skip to content

Code Constants #36

Description

@stiefn

From the AST we could figure out some constants. In particular we could also figure out which constants are used as keys in which mappings? We cannot detect such keys based on the traces because the compiler computes the slots at compile time.

mapping (address => uint) x;

constructor() {
  x[address(0)] = 50;
}

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions