fact: Definition create_heap_spec := DECLARE _create_heap WITH sh: share, gv: globals PRE [] PROP (readable_share sh) PARAMS () GLOBALS (gv) SEP (mem_mgr gv; all_string_constants sh gv) POST [tptr heap_type] EX h: val, EX p: val, PROP () RETURN (h) SEP (mem_mgr gv; all_string_constants sh gv; malloc_token Ews heap_type h; data_at Ews heap_type ((p, (p, (offset_val (WORD_SIZE * NURSERY_SIZE) p,offset_val (WORD_SIZE * NURSERY_SIZE) p))) :: repeat zero_triple (Z.to_nat (MAX_SPACES - 1))) h; malloc_token Ews (tarray int_or_ptr_type NURSERY_SIZE) p; data_at_ Ews (tarray int_or_ptr_type NURSERY_SIZE) p).
imports: VST.veric.rmaps CertiGraph.lib.List_ext CertiGraph.graph.graph_model CertiGraph.CertiGC.GCGraph CertiGraph.CertiGC.spatial_gcgraph CertiGraph.CertiGC.env_graph_gc CertiGraph.msl_ext.iter_sepcon