What problem does it solve?
This Skill automates the process of generating ACSL specifications and verifying C programs, significantly reducing the manual effort required for formal specification and verification workflows.
Core Features & Use Cases
- ACSL Specification Generation: Automatically injects ACSL contracts and loop annotations into C source code.
- Frama-C/WP Verification: Runs Frama-C/WP on annotated C files to verify the specified properties.
- Use Case: Suppose you have a complex C program that you want to verify for its correctness. You can use this Skill to generate ACSL annotations, run Frama-C/WP, and get verification results.
Quick Start
To run Frama-C/WP on a C file with ACSL annotations, use the command:
spectool verify -f input.acsl.c --timeout 8 --save-stdout wp.log