Skip to content

Queries.ID uses the options from ana.int.* #2011

Description

@michael-schwarz

Disabling all domains in base leads to asserts being reported as unknown, even when an analysis can answer the query. The problem is that the Queries.ID relies on the ana.int.* options: So if all domains are disabled, the query system becomes useless for all integer related information.

If base is not active at all, one can leave the ana.int.* options enabled so they get used in Queries.ID. However, without base we are silently unsound for multi-threaded programs.

Maybe we should consider always enabling at least constants in Queries.ID. Until such a change is made, it makes sense to emit a warning as the first step

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

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions