derive access relations of call expressions from function summary
commit0d38ab7bcba2f12ef5c3e349d24c3b325eaa9466
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 24 Mar 2014 11:21:40 +0000 (24 12:21 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 9 Jul 2014 09:08:43 +0000 (9 11:08 +0200)
treef73a20c9cdc9295fd413612093b0c42ee457269a
parent9ef1c0ffbaa529a5bdb9175ec63f4e644fcd1d7a
derive access relations of call expressions from function summary

In previous commits, we have added the infrastructure to store and
extract function summaries from function bodies.  In this commit,
we exploit this information to derive access relations
from the function summaries whenever they are available.
This allows for an extraction of more accurate access relations than
those based on the default heuristic that the entire array slice
passed to the function is either read or written, which may not
only be wildly inaccurate, but it may also be wrong.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
13 files changed:
context.c
tests/call1.c [new file with mode: 0644]
tests/call1.scop [new file with mode: 0644]
tests/call2.c [new file with mode: 0644]
tests/call2.scop [new file with mode: 0644]
tests/call3.c [new file with mode: 0644]
tests/call3.scop [new file with mode: 0644]
tests/call4.c [new file with mode: 0644]
tests/call4.scop [new file with mode: 0644]
tests/call5.c [new file with mode: 0644]
tests/call5.scop [new file with mode: 0644]
tests/call_struct.c [new file with mode: 0644]
tests/call_struct.scop [new file with mode: 0644]