SlideServe
Menu
Préférences
© SlideServe · v2026

SPIN

meris avatar
7 diapositives · 403 Views · Sep 04, 2014

SPIN. An explicit state model checker. How does Spin work?. We already saw: The Algorithm The Promela Language We need to see how we does the tool work. High Level Organization. LTL formula. Promela Model. LTL Translator. Buchi Automaton. Buchi Translator. Promela Parser.

SPIN - slide 1
01 / 7SPIN
1 / 17

Télécharger la présentation

SPIN
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. SPIN An explicit state model checker

  2. How does Spin work? • We already saw: • The Algorithm • The Promela Language • We need to see how we does the tool work.

  3. High Level Organization LTL formula Promela Model LTL Translator Buchi Automaton Buchi Translator Promela Parser The Buchi automaton is turned into a Promela process and composed with the rest of the system. Abstract Syntax Tree Automata Generator Automata The generated verifier is specific to the model and property we started with. C Generator C Code C Compiler Pan Verifier Verification Result

  4. Command Line Tools • Spin • Generates the Promela code for the LTL formula ~$ spin –f “[]<>p” • The proposition in the formula must correspond to #defines • Generates the C source code ~$ spin –a source.pro • The property must be included in the source • Pan • Performs the verification • Has many compile time options to enable different features • Optimized for performance

  5. Xspin • GUI for Spin

  6. Simulator • Spin can also be used as a simulator • Simulated the Promela program • It is used as a simulator when a counterexample is generated • Steps through the trace • The trace itself is not “readable” • Can be used for random and manually guided simulation as well

  7. Comments • DFS does not necessarily find the shortest counterexample • There might be a very short counterexample but the verification might go out of memory • If we don’t finish we might still have some sort of a result (coverage metrics)