Frama-C-discuss mailing list archives
This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Frama-c-discuss] Define a Logic function returning an array
- Subject: [Frama-c-discuss] Define a Logic function returning an array
- From: loic.correnson at cea.fr (Loïc Correnson)
- Date: Fri, 27 Oct 2017 09:47:31 +0200
- In-reply-to: <91A536F5-5561-450F-8DFD-13CD935C276D@udel.edu>
- References: <91A536F5-5561-450F-8DFD-13CD935C276D@udel.edu>
Hi, > Is it possible to express a logic function returning an array in ACSL? No it is not possible, unfortunately. The ACSL-By-Example <https://www.cs.umd.edu/class/spring2016/cmsc838G/frama-c/ACSL-by-Example-12.1.0.pdf> document illustrate how to write logic predicates in ACSL dealing with C-arrays, but without manipulating « logic » arrays directly. Moreover, let me recall that SMS solvers usually deals with infinite arrays, which is probably not what you want to deal with. So you might need to design a theory of finite arrays first.
- Follow-Ups:
- [Frama-c-discuss] WP drivers and Why3
- From: siegel at udel.edu (Stephen Siegel)
- [Frama-c-discuss] WP drivers and Why3
- References:
- [Frama-c-discuss] Define a Logic function returning an array
- From: wuwenhao at udel.edu (Wenhao Wu)
- [Frama-c-discuss] Define a Logic function returning an array
- Prev by Date: [Frama-c-discuss] Define a Logic function returning an array
- Next by Date: [Frama-c-discuss] Express the cardinality of a set ?
- Previous by thread: [Frama-c-discuss] Define a Logic function returning an array
- Next by thread: [Frama-c-discuss] WP drivers and Why3
- Index(es):