Skip to content

Compiler intrinsics #312

Description

@danielsn

Rust has hundreds of compiler intrinsics. Unlike most other MIR features, which are represented in the IR using enum types, Rust intrinsics are identified using strings. This makes it difficult to know if we support all required Rust intrinsics.

Also, some instrinsics have complicated semantics, which is not always well documented. It is possible that implementations for these intrinsics may not correctly represent the Rust semantics.

Likelihood:

RMC currently only supports a small fraction of Rust intrinsics.

Mitigation:

  • Raise a warning if RMC encounters code which uses unsupported intrinsics

Path to soundness:

Either document as as not supported, or add support.

Documentation:

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

    [C] InternalTracks some internal work. I.e.: Users should not be affected.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions