Skip to content

Invalid capability returned by CUnseal #66

@Andreas-Bur

Description

@Andreas-Bur

There seems to be an issue where the CUnseal instruction produces a capability without tag set, even though it should be valid.

PoC:

  cspecialrw c1,31,cnull
  cseal c2,c1,c1
  cunseal c3,c2,c1
  cgettag x4, c3

Expected value: x4=1
Actual value: x4=0

This was tested with both verilator and bluesim on the RV64ACDFIMSUxCHERI configuration.

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