Dear Yoel,
Am 12.02.25 um 10:48 schrieb Yoel Kim:
> Dear CPAchecker team,
>
> I have noticed that when the following code is translated into the
> corresponding SMT formula, formula slicing removes the formula for 'c_i =
> c[i]':
For clarification: We don't do any formula slicing, which I would
understand as removing parts of a formula after determining that they
are unnecessary. But we do simplify the program in various steps of
CPAchecker and remove irrelevant parts, and skip generating formulas for
even more irrelevant parts, so the effect is similar.
For ignoring irrelevant (never read) variables and struct fields there
are the following two options (default value is true):
cpa.predicate.ignoreIrrelevantFields
cpa.predicate.ignoreIrrelevantVariables
The latter should be what you need.
Greetings
Philipp
--
Philipp Wendler
Software and Computational Systems Lab
LMU Munich, Germany
Oettingenstr. 67 Raum F008 - Tel.: 089/2180-9181