mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Refactored libs for unsafe deserialization
This commit is contained in:
@@ -9,9 +9,7 @@ class UnsafeDeserializationTest extends InlineExpectationsTest {
|
||||
|
||||
override predicate hasActualResult(Location location, string element, string tag, string value) {
|
||||
tag = "unsafeDeserialization" and
|
||||
exists(DataFlow::Node sink, UnsafeDeserializationConfig conf |
|
||||
conf.hasFlowTo(sink)
|
||||
|
|
||||
exists(DataFlow::Node sink, UnsafeDeserializationConfig conf | conf.hasFlowTo(sink) |
|
||||
sink.getLocation() = location and
|
||||
element = sink.toString() and
|
||||
value = ""
|
||||
|
||||
Reference in New Issue
Block a user