Skip to content

CBMC dumps core "assignment to 'symbol' not handled" #6370

Closed

Description

@danielsn

CBMC version: 5.36.0 (cbmc-5.36.0)
Operating system: OSX
Exact command line resulting in the issue:

  1. Clone this branch of RMC https://github.com/danielsn/rmc/tree/CBMC-6370
  2. build rmc
  3. cd src/test/rmc/CopyIntrinsics
  4. rmc main.rs

What behaviour did you expect: CBMC to process the goto binary
What happened instead:

CBMC version 5.36.0 (cbmc-5.36.0) 64-bit x86_64 macos
Reading GOTO program from file
Reading: main.goto
Generating GOTO Program
Adding CPROVER library (x86_64)
Removal of function pointers and virtual functions
Generic Property Instrumentation
Running with 8 object bits, 56 offset bits (default)
Starting Bounded Model Checking
Unwinding loop _RINvMNtCsaGHNm3cehi1_4core6optionINtB3_6OptionjE5ok_orNtNtCsixzoppbntYP_5alloc11collections19TryReserveErrorKindECs2E8QHTFQx95_4main.0 iteration 1  thread 0
assignment to 'symbol' not handled

Activity

  1. danielsn commented on Sep 29, 2021

    @danielsn
    ContributorAuthor
  2. added
    aws
    on Sep 29, 2021
  3. tautschnig commented on Sep 30, 2021

    @tautschnig
    Collaborator

    It seems you've got a parameter that has code type (i.e., is a function). Specifically, that parameter is _RINvNtCsaGHNm3cehi1_4core3cmp6max_byjNvYjNtB2_3Ord3cmpECs2E8QHTFQx95_4main::1::var_3::compare. CBMC doesn't currently (should it?) know how to handle functions as objects, and would instead expect a function pointer on this occasion. Is that the intended behaviour?

  4. tautschnig commented on Feb 14, 2022

    @tautschnig
    Collaborator

    Resolving as the issue seems to be in Kani's code, not in CBMC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

More info neededawsaws-medium

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions