mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
Update javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/FunctionBodyFeatures.qll
Co-authored-by: Henry Mercer <henrymercer@github.com>
This commit is contained in:
@@ -133,7 +133,10 @@ int getNumCharsInFunction(Function f) {
|
||||
strictsum(ASTNode node | node = getAnASTNodeWithAFeature(f) | getTokenizedAstNode(node).length())
|
||||
}
|
||||
|
||||
// Evaluator string limit is 5395415 characters. We choose a limit lower than this.
|
||||
/**
|
||||
* The maximum number of characters a feature can be.
|
||||
* The evaluator string limit is 5395415 characters. We choose a limit lower than this.
|
||||
*/
|
||||
private int getMaxChars() { result = 1000000 }
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user