demo re naming of program variables
play

Demo: (Re)naming of program variables Benjamin Wei Institut f ur - PowerPoint PPT Presentation

Demo: (Re)naming of program variables Benjamin Wei Institut f ur Theoretische Informatik Universit at Karlsruhe (Re)naming of program variables p. 1/3 The problem During symbolical execution. . . program variables from different


  1. Demo: (Re)naming of program variables Benjamin Weiß Institut f¨ ur Theoretische Informatik Universit¨ at Karlsruhe (Re)naming of program variables – p. 1/3

  2. The problem During symbolical execution. . . program variables from different scopes are put into a single global namespace �{ int x; }� φ ∧ �{ int x; }� ψ new variable declarations are introduced within programs �{ m().n(); int var_1; }� → Possible naming conflicts (Re)naming of program variables – p. 2/3

  3. The solution KeY now. . . changes existing variables’ names when executing a declaration which causes a conflict in the global namespace: ”Outer renaming”: The old variable’s name is changed ”Inner renaming”: The new variable’s name is changed chooses sufficiently unique names for newly introduced variables (Re)naming of program variables – p. 3/3

Recommend


More recommend