mirror of
https://github.com/github/codeql.git
synced 2026-04-18 13:34:02 +02:00
Add readStep back to local taint flow
This commit is contained in:
@@ -37,8 +37,7 @@ predicate localTaintStep(DataFlow::Node src, DataFlow::Node sink) {
|
||||
or
|
||||
// Treat container flow as taint for the local taint flow relation
|
||||
exists(DataFlow::Content c | DataFlowPrivate::containerContent(c) |
|
||||
// `DataFlowPrivate::readStep` has already been included in
|
||||
// `localAdditionalTaintStep`.
|
||||
DataFlowPrivate::readStep(src, c, sink) or
|
||||
DataFlowPrivate::storeStep(src, c, sink) or
|
||||
FlowSummaryImpl::Private::Steps::summaryGetterStep(src, c, sink, _) or
|
||||
FlowSummaryImpl::Private::Steps::summarySetterStep(src, c, sink, _)
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
| main.go:47:20:47:21 | next key-value pair in range | main.go:47:2:50:2 | range statement[1] |
|
||||
| main.go:47:20:47:21 | xs | main.go:47:2:50:2 | range statement[1] |
|
||||
| main.go:56:8:56:11 | true | main.go:56:2:56:3 | ch |
|
||||
| main.go:57:4:57:5 | ch | main.go:57:2:57:5 | <-... |
|
||||
| strings.go:9:24:9:24 | s | strings.go:9:8:9:38 | call to Replace |
|
||||
| strings.go:9:32:9:34 | "_" | strings.go:9:8:9:38 | call to Replace |
|
||||
| strings.go:10:27:10:27 | s | strings.go:10:8:10:42 | call to ReplaceAll |
|
||||
|
||||
Reference in New Issue
Block a user