-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
Description
Taken from:
https://gitlab.com/sosy-lab/software/cpachecker/-/issues/578#note_412658216
Does an empty option (empty string, not an empty set) override an existing value correctly?
There seems to be a difference for:
scripts/cpa.sh -valueAnalysis-concurrency -spec test/programs/benchmarks/properties/unreach-call.prp test/programs/benchmarks/pthread-atomic/dekker.iwhen using the additional option:
-setprop cpa.callstack.unsupportedFunctions=dummy # or "{}"
or:
-setprop cpa.callstack.unsupportedFunctions= # empty stringIs this a bug in our option handling?
The general problem is if an option that contains some kind of collection has a default value other than the empty list, how can we reset it to just contain the empty list?