File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
cpp/ql/src/Security/CWE/CWE-732 Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,16 @@ module NullDaclConfig implements DataFlow::ConfigSig {
37
37
val = call .getArgument ( 2 )
38
38
)
39
39
}
40
+
41
+ predicate observeDiffInformedIncrementalMode ( ) { any ( ) }
42
+
43
+ Location getASelectedSourceLocation ( DataFlow:: Node source ) { none ( ) }
44
+
45
+ Location getASelectedSinkLocation ( DataFlow:: Node sink ) {
46
+ exists ( SetSecurityDescriptorDaclFunctionCall call | result = call .getLocation ( ) |
47
+ sink .asExpr ( ) = call .getArgument ( 2 )
48
+ )
49
+ }
40
50
}
41
51
42
52
module NullDaclFlow = DataFlow:: Global< NullDaclConfig > ;
@@ -68,6 +78,10 @@ module NonNullDaclConfig implements DataFlow::ConfigSig {
68
78
predicate isSink ( DataFlow:: Node sink ) {
69
79
exists ( SetSecurityDescriptorDaclFunctionCall call | sink .asExpr ( ) = call .getArgument ( 2 ) )
70
80
}
81
+
82
+ predicate observeDiffInformedIncrementalMode ( ) {
83
+ none ( ) // only used negatively
84
+ }
71
85
}
72
86
73
87
module NonNullDaclFlow = DataFlow:: Global< NonNullDaclConfig > ;
You can’t perform that action at this time.
0 commit comments