Skip to content

A few things about array broke #41

@dzufferey

Description

@dzufferey

It seems that a few examples with arrays broke.

Something seems wrong with the array footprints:

./grasshopper.native -v tests/spl/link_and_array/hashset_no_content_ownership.spl
GRASShopper version 0.5 pre
Selected SMT solvers: Z3
Encoding arrays.
Adding checks for run-time errors.
Eliminating new/free.
Inferring accesses.
Pruning uncalled procedures and predicates.
Eliminating loops.
Eliminating dependencies on global state.
Eliminating SL specifications.
Eliminating unused formal parameters.
Adding frame axioms.
Error: find_proc: Could not find predicate footprint_of_lseg_Array

This example get to this error with and without the simplearrays option. One of the example on which I'm working got to that error without simplearrays and did not throw that exception with simplearrays.

There also seems to be some (re)naming issue:

./grasshopper.native -v tests/spl/array/quicksort.spl 
GRASShopper version 0.5 pre
Selected SMT solvers: Z3
File ".../grasshopper/tests/spl/array/quicksort.spl", line 36, columns 31-32:
Error: Unknown identifier a^1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions