mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
19 lines
568 B
Plaintext
19 lines
568 B
Plaintext
import java
|
|
import semmle.code.java.security.ImproperIntentVerificationQuery
|
|
import TestUtilities.InlineExpectationsTest
|
|
|
|
class HasFlowTest extends InlineExpectationsTest {
|
|
HasFlowTest() { this = "HasFlowTest" }
|
|
|
|
override string getARelevantTag() { result = "hasResult" }
|
|
|
|
override 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 = ""
|
|
)
|
|
}
|
|
}
|