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: jens.gerlach at fokus.fraunhofer.de (Gerlach, Jens)
  • Date: Sat, 28 Oct 2017 05:43:36 +0000
  • In-reply-to: <mailman.15.1509098406.14101.frama-c-discuss@lists.gforge.inria.fr>
  • References: <mailman.15.1509098406.14101.frama-c-discuss@lists.gforge.inria.fr>



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.

The current (up-to-date) version of “ACSL by Example” is available at

https://github.com/fraunhoferfokus/acsl-by-example/blob/master/ACSL-by-Example.pdf

Regards

Jens Gerlach
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20171028/a4eaf5aa/attachment.html>