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

This commit is contained in:
Ed Minnix
2023-07-09 23:54:07 -04:00
parent e5ce78caab
commit 43f870e395

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