Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASAN errors for datatye and string formulas #5679

Closed
rainoftime opened this issue Nov 22, 2021 · 1 comment
Closed

ASAN errors for datatye and string formulas #5679

rainoftime opened this issue Nov 22, 2021 · 1 comment

Comments

@rainoftime
Copy link
Contributor

Hi, for the following formula, z3 fee4821 SEGV at src/ast/ast.h:499

(declare-datatypes ((Pair 2)))
(define-funs-rec ((validList ((l (List (Pair Int Int)))) Bool)))
(declare-const myList (List (Pair Int Int)))
(assert (validList myList))
(check-sat)
@rainoftime
Copy link
Contributor Author

heap-use-after-free at src/ast/ast.h:502

(declare-fun y () (Seq (Seq Int)))
(declare-fun yp () (Seq (Seq Int)))
(declare-fun w () (Seq Int))
(declare-fun z () Int)
(assert (and (not (= yp y)) (= yp (seq.unit w)) (= (seq.unit 0) (seq.extract w z 1))))
(check-sat-assuming (true))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant