mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
17 lines
485 B
Plaintext
17 lines
485 B
Plaintext
import java
|
|
import semmle.code.java.dataflow.FlowSources
|
|
import utils.test.InlineExpectationsTest
|
|
|
|
module JmsRemoteSourcesTest implements TestSig {
|
|
string getARelevantTag() { result = "source" }
|
|
|
|
predicate hasActualResult(Location location, string element, string tag, string value) {
|
|
tag = "source" and
|
|
exists(RemoteFlowSource source |
|
|
location = source.getLocation() and element = source.toString() and value = ""
|
|
)
|
|
}
|
|
}
|
|
|
|
import MakeTest<JmsRemoteSourcesTest>
|