[Paper Review] Gillian: A Multi-Language Platform for Unified Symbolic Analysis
Gillian is a multi-language symbolic analysis platform that unifies whole-program and compositional symbolic execution across languages like C and JavaScript using a parametric intermediate language (GIL). It enables verified program analysis via separation logic-based specifications, compositional memory models, and user-extensible assertions, achieving soundness and frame preservation while detecting bugs in real-world codebases with no false positives.
This is an evolving document describing the meta-theory, the implementation, and the instantiations of Gillian, a multi-language symbolic analysis platform.
Motivation & Objective
- To unify symbolic execution across multiple programming languages using a common intermediate language (GIL) with parametric memory models.
- To support both whole-program and compositional symbolic execution with strong correctness guarantees.
- To enable verification of real-world code via user-extensible separation logic assertions and procedure specifications.
- To ensure soundness and frame preservation in symbolic execution, even with recursive or unbounded code.
- To detect real bugs in production libraries (e.g., AWS Encryption SDK) with no false positive reports.
Proposed method
- Gillian uses an intermediate language, GIL, parametric on memory actions to model low-level interactions between programs and memory.
- It introduces compositional memory models based on core predicates, consumers, and producers to support modular reasoning and resource framing.
- The platform integrates a parametric spatial entailment engine that reuses function specifications across symbolic execution paths.
- It supports user-defined predicates and lemmas to model language-specific data structures and interfaces.
- It extends symbolic execution semantics with procedure specifications, enabling backward-completeness and verification of recursive or unbounded code.
- Correctness is established via forward soundness and frame preservation theorems, with symbolic execution preserving memory invariants under renaming.
Experimental results
Research questions
- RQ1How can symbolic execution be unified across multiple programming languages using a single intermediate representation with parametric memory models?
- RQ2What formal guarantees can be provided for symbolic execution in the presence of recursive or unbounded code?
- RQ3How can separation logic specifications be integrated into symbolic execution to enable modular verification?
- RQ4What conditions ensure frame preservation and absence of false positive bug reports in symbolic execution?
- RQ5How can user-defined predicates and lemmas be used to verify complex data structures in real-world code?
Key findings
- Gillian-JS and Gillian-C were used to verify the AWS Encryption SDK deserialization modules, uncovering two bugs in JavaScript and three in C with no false positives.
- The symbolic execution engine is forward sound and does not report false positive bugs, even when using procedure specifications.
- The compositional execution semantics preserve frames up to renaming of allocated symbols, enabling modular reasoning.
- User-defined predicates and lemmas can be integrated into the verification stack, allowing developers to express language-specific invariants.
- The platform supports recursive and unbounded code via verified procedure specifications, achieving full verification beyond bounded analysis.
- The spatial entailment engine enables re-use of function specifications across different execution paths, improving scalability and modularity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.