Back to Search
Start Over
Ghosts for Lists: from Axiomatic to Executable Specifications
- Source :
- TAP 2018-12th International Conference on Tests and Proofs, TAP 2018-12th International Conference on Tests and Proofs, Jun 2018, Toulouse, France. ⟨10.1007/978-3-319-92994-1_11⟩, 12th International Conference on Tests & Proofs, 12th International Conference on Tests & Proofs, Jun 2018, Toulouse, France, Tests and Proofs ISBN: 9783319929934, TAP@STAF
- Publication Year :
- 2018
- Publisher :
- HAL CCSD, 2018.
-
Abstract
- International audience; Internet of Things (IoT) applications are becoming increasingly critical and require formal verification. Our recent work presented formal verification of the linked list module of Contiki, an OS for IoT. It relies on a parallel view of a linked list via a companion ghost array and uses an inductive predicate to link both views. In this work, a few interactively proved lemmas allow for the automatic verification of the list functions specifications, expressed in the acsl specification language and proved with the Frama-C/Wp tool. In a broader verification context, especially as long as the whole system is not yet formally verified, it would be very useful to use runtime verification , in particular, to test client modules that use the list module. It is not possible with the current specifications, which include an inductive predicate and axiomatically defined functions. In this early-idea paper we show how to define a provably equivalent non-inductive predicate and a provably equivalent non-axiomatic function that belong to the executable subset e-acsl of acsl and can be transformed into executable C code. Finally, we propose an extension of Frama-C to handle both axiomatic specifications for deductive verification and executable specifications for runtime verification.
- Subjects :
- Computer science
02 engineering and technology
computer.software_genre
Frama-C
runtime verication
0202 electrical engineering, electronic engineering, information engineering
[ INFO.INFO-ES ] Computer Science [cs]/Embedded Systems
Formal verification
Axiom
Programming language
business.industry
Runtime verification
executable specication
[INFO.INFO-LO]Computer Science [cs]/Logic in Computer Science [cs.LO]
020207 software engineering
linked lists
Specification language
Linked list
computer.file_format
Predicate (mathematical logic)
deductive verification
internet of things
[ INFO.INFO-OS ] Computer Science [cs]/Operating Systems [cs.OS]
executable specification
runtime verification
deductive verication
020201 artificial intelligence & image processing
[ INFO.INFO-LO ] Computer Science [cs]/Logic in Computer Science [cs.LO]
[INFO.INFO-ES]Computer Science [cs]/Embedded Systems
Executable
[INFO.INFO-OS]Computer Science [cs]/Operating Systems [cs.OS]
Internet of Things
business
computer
Subjects
Details
- Language :
- English
- ISBN :
- 978-3-319-92993-4
- ISBNs :
- 9783319929934
- Database :
- OpenAIRE
- Journal :
- TAP 2018-12th International Conference on Tests and Proofs, TAP 2018-12th International Conference on Tests and Proofs, Jun 2018, Toulouse, France. ⟨10.1007/978-3-319-92994-1_11⟩, 12th International Conference on Tests & Proofs, 12th International Conference on Tests & Proofs, Jun 2018, Toulouse, France, Tests and Proofs ISBN: 9783319929934, TAP@STAF
- Accession number :
- edsair.doi.dedup.....bb1975cd06af979368cd1cdc6d2fdcce
- Full Text :
- https://doi.org/10.1007/978-3-319-92994-1_11⟩