mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
19 lines
524 B
Plaintext
19 lines
524 B
Plaintext
import java
|
|
import semmle.code.java.security.ImproperIntentVerificationQuery
|
|
import utils.test.InlineExpectationsTest
|
|
|
|
module HasFlowTest implements TestSig {
|
|
string getARelevantTag() { result = "hasResult" }
|
|
|
|
predicate hasActualResult(Location location, string element, string tag, string value) {
|
|
tag = "hasResult" and
|
|
exists(Method orm | unverifiedSystemReceiver(_, orm, _) |
|
|
orm.getLocation() = location and
|
|
element = orm.toString() and
|
|
value = ""
|
|
)
|
|
}
|
|
}
|
|
|
|
import MakeTest<HasFlowTest>
|