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

This commit is contained in:
Ed Minnix
2023-07-09 23:40:40 -04:00
parent 9618c0b0a1
commit 8a7081753d

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() }