limit the fieldFlowBranchLimit for the regexp tracker to improve performance

This commit is contained in:
erik-krogh
2023-01-13 13:06:09 +01:00
parent 2fceee4e35
commit f516ccb4e2

View File

@@ -81,6 +81,8 @@ class RegExpConfiguration extends Configuration {
nodeTo.asExpr().(CfgNodes::ExprNodes::StringlikeLiteralCfgNode).getAComponent()
)
}
override int fieldFlowBranchLimit() { result = 1 }
}
private DataFlow::LocalSourceNode trackRegexpType(TypeTracker t) {