Skip to content

how to express the address range of 0x0 to 0xFFBF_FFFF in AddressSet? #3395

Description

@xlgforever

I want to use the AddressSet to express the address range of 0x0 to 0xFFBF_FFFF, but it seems that there is no brief approach to do this. I must to write like:

address = Seq(AddressSet(0x00000000L, 0x7fffffffL),
    AddressSet(0x80000000L, 0xfffffffL),
    AddressSet(0x90000000L, 0xfffffffL),
    AddressSet(0xa0000000L, 0xfffffffL),
    AddressSet(0xb0000000L, 0xfffffffL),
    AddressSet(0xc0000000L, 0xfffffffL),
    AddressSet(0xd0000000L, 0xfffffffL),
    AddressSet(0xe0000000L, 0xfffffffL),
    ...)

Is there more elegant way to do this?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions