{
  "name": "Separation-logic verification tools compared: Infer, VeriFast and Viper",
  "description": "Compares three openly documented separation-logic-based tools by the languages named on their own project pages, how they use separation logic and how they are obtained. Compiled from the Infer documentation, the VeriFast repository page and the Viper project page at ETH Zurich, read 2026-11-17.",
  "page": "https://casrai.org/guides/separation-logic",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-18T03:31:00Z",
  "temporalCoverage": null,
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Tool",
      "unit": "",
      "description": ""
    },
    {
      "name": "Languages named on the project page",
      "unit": "",
      "description": ""
    },
    {
      "name": "Approach",
      "unit": "",
      "description": ""
    },
    {
      "name": "How it is obtained",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "Tool": "Infer",
      "Languages named on the project page": "C and Java (examples in the official hello-world page)",
      "Approach": "Static analysis; infers specifications by bi-abduction, procedure by procedure",
      "How it is obtained": "Binary release from GitHub, build from source, or Docker images"
    },
    {
      "Tool": "VeriFast",
      "Languages named on the project page": "C, Rust, Java (single-threaded and multithreaded)",
      "Approach": "Modular verification against separation-logic specifications written by the user",
      "How it is obtained": "Nightly binaries and releases on GitHub; MIT licence"
    },
    {
      "Tool": "Viper",
      "Languages named on the project page": "Intermediate language; front ends Gobra (Go), Nagini (Python), Prusti (Rust)",
      "Approach": "Permission-based reasoning with verifiers Carbon (Boogie) and Silicon (symbolic execution, Z3)",
      "How it is obtained": "Project page at ETH Zurich; VS Code extension recommended"
    }
  ],
  "sources": [
    {
      "title": "Infer: Separation logic and bi-abduction",
      "url": "https://fbinfer.com/docs/separation-logic-and-bi-abduction",
      "accessed": "2026-11-17"
    },
    {
      "title": "Infer: Getting started",
      "url": "https://fbinfer.com/docs/getting-started",
      "accessed": "2026-11-17"
    },
    {
      "title": "Infer: Hello, World!",
      "url": "https://fbinfer.com/docs/hello-world",
      "accessed": "2026-11-17"
    },
    {
      "title": "VeriFast GitHub repository",
      "url": "https://github.com/verifast/verifast",
      "accessed": "2026-11-17"
    },
    {
      "title": "Viper at ETH Zurich",
      "url": "https://www.pm.inf.ethz.ch/research/viper.html",
      "accessed": "2026-11-17"
    }
  ]
}