(* Title: HOL/Hoare/HeapSyntaxAbort.thy Author: Tobias Nipkow Copyright 2002 TUM
*)
section‹Heap syntax (abort)›
theory HeapSyntaxAbort imports Hoare_Logic_Abort Heap begin
subsection"Field access and update"
text‹Heap update ‹p^.h := e›is now guarded against 🍋‹p›
being Null. However, 🍋‹p› may still be illegal,
e.g. uninitialized or dangling. To guard against that, one needs a
more detailed model of the heap where allocated and free addresses are
distinguished, e.g. by making the heap a map, or by carrying the set
of free addresses around. This is needed anyway as soon as we want to
reason about storage allocation/deallocation.›
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.