mirror of
https://github.com/github/codeql.git
synced 2025-12-20 02:44:30 +01:00
17 lines
538 B
Plaintext
17 lines
538 B
Plaintext
import java
|
|
import semmle.code.java.dataflow.FlowSources
|
|
import TestUtilities.InlineExpectationsTest
|
|
|
|
class JmsRemoteSourcesTest extends InlineExpectationsTest {
|
|
JmsRemoteSourcesTest() { this = "JmsRemoteSourcesTest" }
|
|
|
|
override string getARelevantTag() { result = "source" }
|
|
|
|
override 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 = ""
|
|
)
|
|
}
|
|
}
|