We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cpp/upcast-array-pointer-arithmetic
1 parent 359aa02 commit 723778fCopy full SHA for 723778f
cpp/ql/src/Likely Bugs/Conversion/CastArrayPointerArithmetic.ql
@@ -44,6 +44,10 @@ module CastToPointerArithFlowConfig implements DataFlow::StateConfigSig {
44
) and
45
getFullyConvertedType(node) = state
46
}
47
+
48
+ predicate isBarrierIn(DataFlow::Node node) { isSource(node, _) }
49
50
+ predicate isBarrierOut(DataFlow::Node node) { isSink(node, _) }
51
52
53
/**
0 commit comments