GithubHelp home page GithubHelp logo

Comments (3)

tautschnig avatar tautschnig commented on September 9, 2024

Does CBMC even provide a counterexample on MacOS for this benchmark? I wouldn't be surprised if --32 doesn't actually work on MacOS.

from cbmc.

lucasccordeiro avatar lucasccordeiro commented on September 9, 2024

I get no counterexample for this benchmark. I think the problem is this warning message:

./cbmc-wrapper: line 50: declare: -A: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]

I didn't have a chance to look further at this problem. I think my MacOS does not understand this:

declare -A OPTIONS
OPTIONS["label"]="--error-label"
OPTIONS["unreach_call"]=""
OPTIONS["termination"]=""
OPTIONS["overflow"]="--signed-overflow-check --no-assertions"
OPTIONS["memsafety"]="--pointer-check --memory-leak-check --bounds-check --no-assertions"

from cbmc.

tautschnig avatar tautschnig commented on September 9, 2024

declare -A requires bash version 4. It would be possible to work around this by instead using multiple variables OPTIONS_label, OPTIONS_unreach_call, etc. and then construct the variable name at the point of use: var=OPTIONS_$PROP ; val=${!var}

from cbmc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.