Go: Add default implementation of StateConfigSig::isBarrier/2

This commit is contained in:
Ed Minnix
2023-07-09 23:49:53 -04:00
parent 18b606f930
commit 0549b5da87

View File

@@ -114,7 +114,7 @@ signature module StateConfigSig {
* Holds if data flow through `node` is prohibited when the flow state is
* `state`.
*/
predicate isBarrier(Node node, FlowState state);
default predicate isBarrier(Node node, FlowState state) { none() }
/** Holds if data flow into `node` is prohibited. */
default predicate isBarrierIn(Node node) { none() }