The example from Issue #643 has 2 errors on the declarative model that seem overly strict and should probably be removed. We need check what exactly are the rules in the spec and what exactly the verifier thinks it is verifying.
package issue643
public
system top
end top;
system implementation top.i
subcomponents
p: system S;
c: system S;
d: data;
connections
c0: data access p.a <-> d;
c1: data access d <-> c.a;
flows
e2e: end to end flow p -> c0 -> d -> c1 -> c;
end top.i;
system S
features
a: requires data access;
end S;
end issue643;
On c0 in the flow spec we have the error
The destination of connection 'c0' does not match the succeeding subcomponent or in flow spec feature 'd'
On c1 in the flow spec we have the error
The source of connection 'c1' does not match the preceding subcomponent or out flow spec feature 'd'
The example from Issue #643 has 2 errors on the declarative model that seem overly strict and should probably be removed. We need check what exactly are the rules in the spec and what exactly the verifier thinks it is verifying.
On
c0in the flow spec we have the errorOn
c1in the flow spec we have the error