+
Skip to content

Is read::RawRngListEntry::AddressOrOffsetPair correct? #810

@philipc

Description

@philipc

For DWARF 4, we currently allow range list entries to use a pair of addresses. However, the DWARF 4 standard (section 2.17.3) only talks about address offsets. We should check if our handling is correct. Maybe we should use read::RawRngListEntry::OffsetPair instead for DWARF 4.

Related to this, read::Unit::low_pc has type u64. This may be better as Option<u64>, and then an offset pair without a base address can be detected as an error.

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

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载