Skip to content

assembling compressed RISC-V broken #8709

Open

Description

@psifertex

because we disassemble compressed RISC-V instructions identical to the expanded forms, pressing e to edit and then re-assembling can break the code by overwriting another instructions.

Not sure whether the fix is some other syntax or not -- it is possible to manually specify whether it should be compressed during the assembly process but the problem is that we don't have a mechanism now in the assemble APIs to pass that info through since it's not a different arch.

Activity

  1. plafosse commented on Nov 9, 2026

    @plafosse
    Member

    It's like we would need a compressed-RISC-V architecture to handle this.

  2. added theissue type on Nov 9, 2026
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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions