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] [frama-c] def information of statement which contain a pointer value
- Subject: [Frama-c-discuss] [frama-c] def information of statement which contain a pointer value
- From: abiao.yang at gmail.com (Yang)
- Date: Thu, 2 Aug 2012 17:14:36 +0800
Patrick, Thanks so much for your timely reply. Yeah, only those values x and y point-to are reassigned. I want to obtain the out parameters of a function. In this function, x and y are out parameters, x and y are pointers and the argument values x and y point-to also reassigned in the function body. Because x and y are not treated as def values. I don't know how to automatically identify which parameter is out parameter in a function. Any other solutions to this problem? Best regards, Ben >**>* 1 int swap( int *x, int *y)* >* 2 {* >* 3 int temp1 = *x;* >* 4 int temp2 = *y;* >* 5 *x = temp2;* >* 6 *y = temp1;** * >* 7 }* -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20120802/40aa0774/attachment.html>
- Prev by Date: [Frama-c-discuss] context-insensitive and intra-procedure slicing in frama-c
- Next by Date: [Frama-c-discuss] [frama-c] def information of statement which contain a pointer value
- Previous by thread: [Frama-c-discuss] Problem with int and integer in terms
- Next by thread: [Frama-c-discuss] [frama-c] def information of statement which contain a pointer value
- Index(es):