Skip to content

Intrinsics Audit #727

Closed
Closed

Description

@adpaco

The intrinsics list below is based on the table recently published in #714.

The goal is for each intrinsics to:

  1. Identify what is needed to claim full support.
  2. Implement support for it if possible.

Note: We are now focusing on fixing issues with intrinsics that we already support. New intrinsics will be added on demand.

This issue will keep track of the work done on intrinsics (a check on intrinsics will mark it as "done") and link other issues related to the implementation/rework/cleanup of intrinsics.

Activity

  1. added this to the RMC MLP milestone on Jan 5, 2022
  2. self-assigned this
    on Jan 5, 2022
  3. adpaco commented on Jan 6, 2022

    @adpaco
    ContributorAuthor

    Added abort (#734) and transmute (missing case) which should be handled as non returning intrinsics.

  4. adpaco commented on Jan 11, 2022

    @adpaco
    ContributorAuthor

    Added abort (#734) and transmute (missing case) which should be handled as non returning intrinsics.

    These cases were fixed in #736, marking abort as done (transmute still needs auditing for the general case).

  5. adpaco commented on Jan 19, 2022

    @adpaco
    ContributorAuthor

    Added assert_inhabited. Marked assert_inhabited, assert_uninit_valid and assert_zero_valid after merging #742

  6. adpaco commented on Feb 1, 2022

    @adpaco
    ContributorAuthor

    Created #788 for fast math intrinsics. A first attempt was made in this branch but there are some issues with this approach that require some guidance from CBMC experts.

  7. adpaco commented on Feb 9, 2022

    @adpaco
    ContributorAuthor

    Updated to reflect status after merging #804

  8. adpaco commented on Feb 17, 2022

    @adpaco
    ContributorAuthor

    Marked volatile_store as done since its audit was completed in #794

  9. adpaco commented on Apr 19, 2022

    @adpaco
    ContributorAuthor

    Basically, the remaining intrinsics to be audited can be classified into 3 groups:

    1. wrapping_<op>, unchecked_op and <op>_with_overflow, which were reviewed and tested in Fix spurious overflow counter examples. (#558) #647
    2. Math-related intrinsics that just need a single test.
    3. Others (notably, volatile and pointer-related ones)
      The plan is to audit (1) first, then focus on (3) and leave (2) for the last ones.
  10. added
    [F] Soundness
    and removed on Apr 20, 2022
  11. adpaco commented on Apr 27, 2022

    @adpaco
    ContributorAuthor

    The audit has been completed and all intrinsics in the list have been reviewed.

    There is a small amount of remaining cleanup work to be done which is going to be tracked in the following issues:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

[F] Soundness

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions