mirror of
https://github.com/github/codeql.git
synced 2026-04-22 15:25:18 +02:00
limit the fieldFlowBranchLimit for the regexp tracker to improve performance
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user