CodeQL library for Java
codeql/java-all 0.4.4 (changelog, source)
Search

Predicate getASafeFlexjsonUseCall

Gets a safe usage of the use method of Flexjson, which could be: use(String, …) where the path is null or use(ObjectFactory, String…) where the string varargs (or array) contains null

Import path

import semmle.code.java.security.UnsafeDeserializationQuery
MethodAccess getASafeFlexjsonUseCall()