Skip to content
Snippets Groups Projects
Forked from Iris / stdpp
Source project has a limited visibility.
  • Robbert Krebbers's avatar
    baaee9e0
    Fix bugs in pointer operations · baaee9e0
    Robbert Krebbers authored
    * Equality comparison of NULL and non NULL pointers should be defined
    * Pointer comparisons, casts, and truth should only be defined for pointers
      that are alive
    * Treat dead pointers as indeterminate values in refinements. The proofs that
      all operations preserve refinement indicate that dead pointers can be indeed
      by replaced by anything without affecting the program's behavior.
    baaee9e0
    History
    Fix bugs in pointer operations
    Robbert Krebbers authored
    * Equality comparison of NULL and non NULL pointers should be defined
    * Pointer comparisons, casts, and truth should only be defined for pointers
      that are alive
    * Treat dead pointers as indeterminate values in refinements. The proofs that
      all operations preserve refinement indicate that dead pointers can be indeed
      by replaced by anything without affecting the program's behavior.