goblint / analyzer

Static analysis framework for C
https://goblint.in.tum.de
MIT License
172 stars 72 forks source link

Fix SV-COMP Apron unassume crash #1429

Closed sim642 closed 5 months ago

sim642 commented 5 months ago

Our sv-benchmarks validation runs (at least) contain some crashes like

Fatal error: exception Failure("Environment.dim_of_var: unknown variable in the environment")

Since the autotuner uses goblint_relation_track attributes to specify which variables are tracked, these need to be preserved for copied globals. This is already done in assign_to_global_wrapper, but not read_globals_to_locals, which this fixes.