mirror of
https://github.com/github/codeql.git
synced 2026-04-27 01:35:13 +02:00
Java: Refactor IntentUriPermissionManipulation.
This commit is contained in:
@@ -15,10 +15,12 @@
|
||||
import java
|
||||
import semmle.code.java.security.IntentUriPermissionManipulationQuery
|
||||
import semmle.code.java.dataflow.DataFlow
|
||||
import DataFlow::PathGraph
|
||||
import IntentUriPermissionManipulationFlow::PathGraph
|
||||
|
||||
from DataFlow::PathNode source, DataFlow::PathNode sink
|
||||
where any(IntentUriPermissionManipulationConf c).hasFlowPath(source, sink)
|
||||
from
|
||||
IntentUriPermissionManipulationFlow::PathNode source,
|
||||
IntentUriPermissionManipulationFlow::PathNode sink
|
||||
where IntentUriPermissionManipulationFlow::hasFlowPath(source, sink)
|
||||
select sink.getNode(), source, sink,
|
||||
"This Intent can be set with arbitrary flags from a $@, " +
|
||||
"and used to give access to internal content providers.", source.getNode(),
|
||||
|
||||
Reference in New Issue
Block a user