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] difference between specifying side effects for value analysis in two different ways


  • Subject: [Frama-c-discuss] difference between specifying side effects for value analysis in two different ways
  • From: abiao.yang at gmail.com (David Yang)
  • Date: Sun, 8 Dec 2013 23:26:58 +0000

Dear all,

For function:
int f(int *p);

specifying the side effects of function f by two different ways:

1. /*@ assings *p; */ only assign *p
2. /*@ assigns *p; assigns p;*/ assign the address p would also be
changed at the same time

I am using "-val-use-spec f"  to do the value analysis.

Is there any difference while doing value analysis by specifying the
side effects with these two different ways?

Thank you very much.

All the best.
-david