File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
go/ql/lib/semmle/go/security Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,14 @@ module RequestForgery {
31
31
w .writesField ( v .getAUse ( ) , f , pred ) and succ = v .getAUse ( )
32
32
)
33
33
}
34
+
35
+ predicate observeDiffInformedIncrementalMode ( ) { any ( ) }
36
+
37
+ Location getASelectedSinkLocation ( DataFlow:: Node sink ) {
38
+ result = sink .getLocation ( )
39
+ or
40
+ result = sink .( Sink ) .getARequest ( ) .getLocation ( )
41
+ }
34
42
}
35
43
36
44
/** Tracks taint flow from untrusted data to request forgery attack vectors. */
Original file line number Diff line number Diff line change @@ -36,6 +36,10 @@ module SafeUrlFlow {
36
36
or
37
37
node instanceof SanitizerEdge
38
38
}
39
+
40
+ predicate observeDiffInformedIncrementalMode ( ) {
41
+ none ( ) // only used as secondary configuration
42
+ }
39
43
}
40
44
41
45
/** Tracks taint flow for reasoning about safe URLs. */
You can’t perform that action at this time.
0 commit comments