Skip to content

Unexpected start_address returned when creating a segment slice #5

Description

@rcb-tcs

Looking at this line
start_address = address.start + self.start_address

I think the below would make more sense.
start_address = self.start_address

As of now, I get this behavior something like this:

>>> seg
<2048 byte segment @ 0x90000000>
>>> seg[0x90000000:0x90000010]
<16 byte segment @ 120000000>

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions