Skip to content

CBMC parser error on C++ code #6456

Open
@ahcheongL

Description

@ahcheongL

Hello, I'm trying to make cbmc to reproduce a crash I found on exiv2 library, but it seems cbmc's parser couldn't handle my c++ code.

It seems cbmc couldn't handle the following source code token:
using __gnu_cxx::__add_unsigned;

I've tried to make cbmc to handle the specific fragment, but each time I change cbmc's source code, it generates another parsing errors... so I report the case here.

exiv2_report.zip

CBMC version: 5.42.0 (cbmc-5.42.0-52-g9892924eb-dirty)
Operating system: Ubuntu 18.04
Exact command line resulting in the issue: cbmc ./driver.cpp -I ./headers -I ./headers/exiv2
What behaviour did you expect:
What happened instead: Parsing error

  • Would you let me know the meaning of the return value of Parser::rStatement?

Thanks

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