Skip to content

Volatile intrinsics do not have to throw warnings #789

Closed

Description

@adpaco

A volatile intrinsic implies the possibility of a concurrent access to memory, which Kani does not have support for. Therefore we should warn users that volatile instructions are treated sequentially.

Activity

  1. self-assigned this
    on Feb 1, 2022
  2. added
    [C] Bug
    on Mar 16, 2022
  3. zhassan-aws commented on Mar 18, 2022

    @zhassan-aws
    Contributor

    Analysis: if the program creates threads, Kani will emit a warning/error when #922 is fixed.

    If it doesn't create threads, then handling the volatile intrinsics in a sequential fashion is correct.

    Based on this analysis, removing the "MLP - Must Have" label.

  4. zhassan-aws commented on Mar 18, 2022

    @zhassan-aws
    Contributor

    Ensuring we correctly handle them is captured in #58.

  5. changed the title [-]Volatile intrinsics do not throw warnings[/-] [+]Volatile intrinsics do not have to throw warnings[/+] on Apr 27, 2022
  6. adpaco commented on Apr 27, 2022

    @adpaco
    ContributorAuthor

    Renamed to "Volatile intrinsics do not have to throw warnings" (see @zhassan-aws above).

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

Metadata

Metadata

Assignees

Labels

[C] Bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions