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

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend