Skip to content

Detect unsound behavior #1576

@jprider63

Description

@jprider63

I have a bit of time, so I plan to work on this. My plan is to:

  • Generate a warning when unsafe behavior is encountered. This will happen when:
    • Functions in a black list (including undefined) appear in an expression
    • Refinements are declared with lazy or assume
  • This warning will be enabled by default and will have the flags -Wdetect-unsafe and -Wno-detect-unsafe.
  • I might add a -Werror flag.
  • I might add an unsafe field to spec files.

Are there other sources of unsoundness I'm not thinking of?

I thought we had an ongoing list of potential improvements, but I couldn't find an existing issue. Perhaps it was only over email/in the proposal.

#1339

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions