Skip to content

Trivial queries sent to the solvers #570

@hra687261

Description

@hra687261

While working on #569, I noticed that some trivial queries are sent to solvers, such as:

  • Trivially SAT cases (Which I though would be simplified to (assert true) with Symex's substitutions, cc @redianthus ):
    (set-info :status sat)
    (set-logic ALL)
    (declare-fun choice_i32_1 () (_ BitVec 32))
    (assert (= choice_i32_1 (_ bv8389664 32)))
    (check-sat) 
  • Trivially UNSAT cases (Which should be eliminated before reaching the solver):
    (set-info :status sat)
    (set-logic ALL)
    (declare-fun symbol_0 () (_ BitVec 32))
    (assert (= symbol_0 (_ bv1 32)))
    (assert false)
    (check-sat)
    (The :status sat is a bit worrying because it is supposed to be what the solver answered, so there is possibly a bug in query selection before logging)

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