Skip to content

Fixing the address-wrapping RISC-V compatibility issue #111

@tariqkurd-repo

Description

@tariqkurd-repo

A quick thought on removing the fact that CHERI can't allow the case (almost certainly caused by a software bug) where a misaligned load/store is allowed to wrap the address space on a RISC-V but disallowed on a CHERI core.

If we define almighty_cap differently - so that instead of it setting maximum bounds covering the full 64-bit address space - we say that the specific programming means "bounds checks disabled" then it will work out nicely.

It's introducing a special case, but it also solves a tricky problem.

It also means that almighty can be defined differently, it could be a permission / status bit or a specific out of bounds exponent value, not necessarily encoded in the bounds in the conventional sense.

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