Skip to content

Memory mismatch counterexample has wrong stored value #1280

@nunoplopes

Description

@nunoplopes

./alive-tv ../tests/alive-tv/refinement/nondet-fail.srctgt.llproduces:

ERROR: Mismatch in memory

Mismatch in null
Source value: poison
Target value: poison

The issue is that these days the refinement ptr is given by a UF (|#idx_refinement|) whose inputs are quantified variables.
There isn't an obvious way to get the right pointer, but we should be able to analyze the function interpretation in the model and get the non-default value. There should be only one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmemoryMemory Model

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions