Skip to content

Assertions audit #1056

Closed
Closed

Description

@tedinski

I don't think this is release blocking, but we should do a general audit of all the assertions we generate. I believe we're very inconsistent in how we do this.

Inspired by this PR #1053

I can see at least:

  • codegen_assert
  • codegen_assert_false
  • codegen_panic
  • codegen_fatal_error
  • (codegen_cover* maybe?)
  • codegen_unimplemented

It's not fully clear to me exactly what each of these should be doing or why they're different.

And that makes me suspect we're not using these consistently or correctly. For example, I think we definitely fatal_error some unimplemented.

Activity

  1. self-assigned this
    on Jul 12, 2022
  2. moved this to In Progress in Kani v0.8on Jul 26, 2022
  3. moved this to In Progress in Kani v0.9on Aug 11, 2022
  4. Repository owner moved this from In Progress to Done in Kani v0.8on Aug 18, 2022
  5. moved this to Done in Kani v0.7on Aug 18, 2022
  6. Repository owner moved this from In Progress to Done in Kani v0.9on Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions