Skip to content

Conversation

@Drodt
Copy link
Member

@Drodt Drodt commented Jan 30, 2026

Related Issue

This pull request resolves #3720.

Intended Change

(Ghost) set statements are now considered for the set of to-be-anonymized variables for loop scope rules.

Type of pull request

  • Bug fix (non-breaking change which fixes an issue)
  • There are changes to the (Java) code

Ensuring quality

Additional information and contact(s)

The contributions within this pull request are licensed under GPLv2 (only) for inclusion in KeY.

@Drodt Drodt added this to the v3.0.0 milestone Jan 30, 2026
@Drodt Drodt requested a review from WolframPfeifer January 30, 2026 14:30
@Drodt
Copy link
Member Author

Drodt commented Jan 30, 2026

Open questions for this PR:

  • Should I move the test file to a different folder?
  • Should I also create a .key file for the loop transform rule? (I tested it manually and both use the same method to get the written to variable, which are then anonymized)

@Drodt Drodt self-assigned this Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ghost variable not properly handled in loop

2 participants