spectool

Community

Generate ACSL specifications and verify C programs deterministically.

Authorleisure118
Version1.0.0
Installs0

System Documentation

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

Dependency Matrix

Required Modules

frama-cveri-clangpython>=3.8

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: spectool
Download link: https://github.com/leisure118/spectool/archive/main.zip#spectool

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.