Conference paper Open Access

Certifying Graph-Manipulating C Programs via Localizations within Data Structures

Wang, Shengyi; Cao, Qinxiang; Mohan, Anshuman; Hobor, Aquinas


JSON Export

{
  "files": [
    {
      "links": {
        "self": "https://zenodo.org/api/files/0a45933b-17a6-420a-a7fb-2ebd55e6c0b0/Artifact_Overview_Docker.pdf"
      }, 
      "checksum": "md5:602c9478fa6265bdca4f34408ce57399", 
      "bucket": "0a45933b-17a6-420a-a7fb-2ebd55e6c0b0", 
      "key": "Artifact_Overview_Docker.pdf", 
      "type": "pdf", 
      "size": 144141
    }, 
    {
      "links": {
        "self": "https://zenodo.org/api/files/0a45933b-17a6-420a-a7fb-2ebd55e6c0b0/Dockerfile"
      }, 
      "checksum": "md5:c2f7395843cda78bcae4b75d4194ff1f", 
      "bucket": "0a45933b-17a6-420a-a7fb-2ebd55e6c0b0", 
      "key": "Dockerfile", 
      "type": "", 
      "size": 2591
    }, 
    {
      "links": {
        "self": "https://zenodo.org/api/files/0a45933b-17a6-420a-a7fb-2ebd55e6c0b0/LICENSE"
      }, 
      "checksum": "md5:7e28b3f6d85cc870275862ef1c6e9088", 
      "bucket": "0a45933b-17a6-420a-a7fb-2ebd55e6c0b0", 
      "key": "LICENSE", 
      "type": "", 
      "size": 1630
    }, 
    {
      "links": {
        "self": "https://zenodo.org/api/files/0a45933b-17a6-420a-a7fb-2ebd55e6c0b0/README"
      }, 
      "checksum": "md5:d440c95b8232662a9215246b8c2076c1", 
      "bucket": "0a45933b-17a6-420a-a7fb-2ebd55e6c0b0", 
      "key": "README", 
      "type": "", 
      "size": 579
    }
  ], 
  "owners": [
    74635
  ], 
  "doi": "10.5281/zenodo.3368779", 
  "stats": {
    "version_unique_downloads": 69.0, 
    "unique_views": 116.0, 
    "views": 131.0, 
    "version_views": 131.0, 
    "unique_downloads": 69.0, 
    "version_unique_views": 116.0, 
    "volume": 10548884.0, 
    "version_downloads": 89.0, 
    "downloads": 89.0, 
    "version_volume": 10548884.0
  }, 
  "links": {
    "doi": "https://doi.org/10.5281/zenodo.3368779", 
    "conceptdoi": "https://doi.org/10.5281/zenodo.3368778", 
    "bucket": "https://zenodo.org/api/files/0a45933b-17a6-420a-a7fb-2ebd55e6c0b0", 
    "conceptbadge": "https://zenodo.org/badge/doi/10.5281/zenodo.3368778.svg", 
    "html": "https://zenodo.org/record/3368779", 
    "latest_html": "https://zenodo.org/record/3368779", 
    "badge": "https://zenodo.org/badge/doi/10.5281/zenodo.3368779.svg", 
    "latest": "https://zenodo.org/api/records/3368779"
  }, 
  "conceptdoi": "10.5281/zenodo.3368778", 
  "created": "2019-08-15T03:38:30.457123+00:00", 
  "updated": "2020-01-20T17:40:31.909843+00:00", 
  "conceptrecid": "3368778", 
  "revision": 4, 
  "id": 3368779, 
  "metadata": {
    "access_right_category": "success", 
    "doi": "10.5281/zenodo.3368779", 
    "description": "<p>We develop powerful and general techniques to mechanically verify realistic programs that manipulate heap- represented graphs. These graphs can exhibit well-known organization principles, such as being a directed acyclic graph or a disjoint-forest; alternatively, these graphs can be totally unstructured. The common thread for such structures is that they exhibit deep intrinsic sharing and can be expressed using the language of graph theory. We construct a modular and general setup for reasoning about abstract mathematical graphs and use separation logic to define how such abstract graphs are represented concretely in the heap. We develop a Localize rule that enables modular reasoning about such programs, and show how this rule can support existential quantifiers in postconditions and smoothly handle modified program variables. We demonstrate the generality and power of our techniques by integrating them into the Verified Software Toolchain and certifying the correctness of six graph-manipulating programs written in CompCert C, including a 400-line generational garbage collector for the CertiCoq project. While doing so, we identify two places where the semantics of C is too weak to define generational garbage collectors of the sort used in the OCaml runtime. Our proofs are entirely machine-checked in Coq.</p>", 
    "language": "eng", 
    "title": "Certifying Graph-Manipulating C Programs \nvia Localizations within Data Structures", 
    "license": {
      "id": "other-at"
    }, 
    "notes": "As submitted to the OOPSLA '19 Artifact Evaluation Committee", 
    "relations": {
      "version": [
        {
          "count": 1, 
          "index": 0, 
          "parent": {
            "pid_type": "recid", 
            "pid_value": "3368778"
          }, 
          "is_last": true, 
          "last_child": {
            "pid_type": "recid", 
            "pid_value": "3368779"
          }
        }
      ]
    }, 
    "version": "0.1", 
    "keywords": [
      "Separation logic", 
      "Graph-manipulating programs", 
      "Coq", 
      "CompCert", 
      "VST"
    ], 
    "publication_date": "2019-08-15", 
    "creators": [
      {
        "affiliation": "National University of Singapore", 
        "name": "Wang, Shengyi"
      }, 
      {
        "affiliation": "Shanghai Jiao Tong University", 
        "name": "Cao, Qinxiang"
      }, 
      {
        "affiliation": "National University of Singapore", 
        "name": "Mohan, Anshuman"
      }, 
      {
        "affiliation": "National University of Singapore", 
        "name": "Hobor, Aquinas"
      }
    ], 
    "access_right": "open", 
    "resource_type": {
      "subtype": "conferencepaper", 
      "type": "publication", 
      "title": "Conference paper"
    }, 
    "related_identifiers": [
      {
        "scheme": "doi", 
        "identifier": "10.5281/zenodo.3368778", 
        "relation": "isVersionOf"
      }
    ]
  }
}
131
89
views
downloads
All versions This version
Views 131131
Downloads 8989
Data volume 10.5 MB10.5 MB
Unique views 116116
Unique downloads 6969

Share

Cite as