We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8740e87 commit 74ac234Copy full SHA for 74ac234
1 file changed
java/ql/src/utils/model-generator/CaptureSummaryModels.ql
@@ -64,8 +64,8 @@ string captureQualifierFlow(Callable api) {
64
string captureFieldFlow(Callable api) {
65
exists(FieldAccess fa, ReturnNodeExt returnNode |
66
not (fa.getField().isStatic() and fa.getField().isFinal()) and
67
+ fa.getField().getDeclaringType() = api.getDeclaringType() and
68
returnNode.getEnclosingCallable() = api and
- fa.getCompilationUnit() = api.getCompilationUnit() and
69
isRelevantType(api.getReturnType()) and
70
not api.getDeclaringType() instanceof EnumType and
71
TaintTracking::localTaint(DataFlow::exprNode(fa), returnNode)
0 commit comments