allow extraction of function summary to fail
commitfb560342b3babbb980aa68273c114ed880b702a9
authorSven Verdoolaege <sven.verdoolaege@gmail.com>
Sat, 5 Aug 2023 14:12:28 +0000 (5 16:12 +0200)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Sat, 5 Aug 2023 20:46:01 +0000 (5 22:46 +0200)
treecdb9e1971adc5b64bd7add5897e8e541a340975f
parent9349e8d4e86d75bde32f6d232c7b162b543e6d3e
allow extraction of function summary to fail

If so, do not try to extract more accurate access relations
from the called function and simply use the default heuristics instead.

This is illustrated by the two new test cases.
In call9, the called function can be analyzed and
the access relations in the caller can be updated
to reflect that only odd elements are being accessed.
In call10, the called function cannot be analyzed
(because it contains a goto) and this extra information
is not available in the access relations of the caller.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
scan.cc
tests/call10.c [new file with mode: 0644]
tests/call10.scop [new file with mode: 0644]
tests/call9.c [new file with mode: 0644]
tests/call9.scop [new file with mode: 0644]