mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
19 lines
616 B
Plaintext
19 lines
616 B
Plaintext
import java
|
|
import semmle.code.java.security.StaticInitializationVectorQuery
|
|
import utils.test.InlineExpectationsTest
|
|
|
|
module StaticInitializationVectorTest implements TestSig {
|
|
string getARelevantTag() { result = "staticInitializationVector" }
|
|
|
|
predicate hasActualResult(Location location, string element, string tag, string value) {
|
|
tag = "staticInitializationVector" and
|
|
exists(DataFlow::Node sink | StaticInitializationVectorFlow::flowTo(sink) |
|
|
sink.getLocation() = location and
|
|
element = sink.toString() and
|
|
value = ""
|
|
)
|
|
}
|
|
}
|
|
|
|
import MakeTest<StaticInitializationVectorTest>
|