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] Meaning of "FROM \nothing" for function calls in -deps analysis?
- Subject: [Frama-c-discuss] Meaning of "FROM \nothing" for function calls in -deps analysis?
- From: dmentre at linux-france.org (David MENTRE)
- Date: Fri, 28 Aug 2015 15:55:04 +0200
Hello, Considering following code: """in_out.c""" int b, c, d, e; void double_assign(void) { int x = d; e = b; e = c; } void loop_branch(int a) { if (a) b = c; else while (1) d = e; } void main(int param) { c = 3; loop_branch(param); double_assign(); } """ "frama-c -deps in_out.c" produces: """ [from] Function double_assign: e FROM c [from] Function loop_branch: b FROM c [from] Function main: b FROM \nothing c FROM \nothing e FROM \nothing """ For main(), why -deps gives "b FROM \nothing" and "e FROM \nothing"? I would have expected "e FROM c" and "b FROM c" due to calls to loop_branch() and double_assign() and corresponding -deps analysis of those functions. I found no explanation in §6.1 of Value analysis manual or in whole chapter 6. I also tried various options from the "from" plug-in without success. Best regards, david
- Follow-Ups:
- [Frama-c-discuss] Meaning of "FROM \nothing" for function calls in -deps analysis?
- From: pascal.cuoq at gmail.com (Pascal Cuoq)
- [Frama-c-discuss] Meaning of "FROM \nothing" for function calls in -deps analysis?
- From: boris at yakobowski.org (Boris Yakobowski)
- [Frama-c-discuss] Meaning of "FROM \nothing" for function calls in -deps analysis?
- Prev by Date: [Frama-c-discuss] arbitrary buffers in analysis
- Next by Date: [Frama-c-discuss] Meaning of "FROM \nothing" for function calls in -deps analysis?
- Previous by thread: [Frama-c-discuss] Speedup Frama-C/WP generating proof obligations
- Next by thread: [Frama-c-discuss] Meaning of "FROM \nothing" for function calls in -deps analysis?
- Index(es):