Skip to content

YAML witnesses get evaluated at unrelated nodes #1537

@michael-schwarz

Description

@michael-schwarz

For my thesis, I am re-running some old experiments and find that some invariants for pfscan can not be re-validated. After fixing issues because of #1535 some validation failures remain.

Here, it seems the YAML validator tries to evaluate expression at completely unrelated nodes. For example a witness for line 977 (Node 665) gets evaluated at a node corresponding to line 1032 (where the invariant obviously does not hold).

If I print the node information of failing witnesses with

M.warn ~category:Witness ~loc:msgLoc "Location: %s at %a" (Node.show_id n) d_loc (Node0.location n);

I get

[Warning][Witness] Location: 695 at pfscan_comb.c:1032 (pfscan_comb.c:977:2)

so the locations appear to be wrong.

This is on top of #1417 now, I'll have to see if the same also happens on master.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions