Fix up test

This commit is contained in:
Joe Farebrother
2021-10-21 16:46:07 +01:00
parent 3e3503a763
commit a9dde419d2
3 changed files with 9 additions and 7 deletions

View File

@@ -14,7 +14,7 @@ import java
import semmle.code.java.security.AndroidSensitiveCommunicationQuery
import DataFlow::PathGraph
from SensitiveBroadcastConfig cfg, DataFlow::PathNode source, DataFlow::PathNode sink
from SensitiveCommunicationConfig cfg, DataFlow::PathNode source, DataFlow::PathNode sink
where cfg.hasFlowPath(source, sink)
select sink.getNode(), source, sink, "Sending $@ to broadcast.", source.getNode(),
"sensitive information"
select sink.getNode(), source, sink, "This call may leak sensitive infomration from $@.",
source.getNode(), "here"