mirror of
https://github.com/github/codeql.git
synced 2026-06-19 03:41:07 +02:00
Refactor to actually build the full flows from src to sink
Add more tests for edge cases
This commit is contained in:
@@ -17,8 +17,8 @@ import java
|
||||
import semmle.code.java.security.AndroidIntentRedirectionQuery
|
||||
import DataFlow::PathGraph
|
||||
|
||||
from DataFlow::PathNode source, DataFlow::PathNode sink
|
||||
where hasIntentRedirectionFlowPath(source, sink)
|
||||
from DataFlow::PathNode source, DataFlow::PathNode sink, IntentRedirectionConfiguration conf
|
||||
where conf.hasFlowPath(source, sink)
|
||||
select sink.getNode(), source, sink,
|
||||
"Arbitrary Android activities or services can be started from $@.", source.getNode(),
|
||||
"this user input"
|
||||
|
||||
Reference in New Issue
Block a user