Skip to content

A timeout test case for z3str3 #5266

@drogonFan

Description

@drogonFan
(set-logic QF_S)
(declare-fun var3 () Int)
(declare-fun var0 () String)
(declare-fun var2 () String)
(assert (> (str.indexof "+]YAPKJ8b8" var2 var3) (str.to.int var0)))
(check-sat)

timeout

This test case triggers a timeout problem. It seems cause z3str3 to loop endlessly at some point in the code.

For example, in ast.cpp(using gcov):

loop

Whether this could be a performance issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions