Skip to content

Z3 parse smt2 file returns Erorr #346

Closed
@mm95

Description

@mm95

Hello,

I ran cbmc for comm.c file in coreutils of linux and get smt2 file with inserting '--smt2' option and then use Z3_parse_smtlib2string function of z3 to parse resulted smt2 formula with z3 parser but get parse error. all files were attached.

cbmc comm.c -I .. --smt2 --outfile result.smt2 --unwind 2

Z3_parse_smtlib2_string(*ctx, smt_formula_stream.str().c_str(), 0, 0, 0, 0, 0, 0);

thanks very much.

comm.c.txt
z3-parse-Error.txt
result.smt2.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions