Update javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/FunctionBodyFeatures.qll

Co-authored-by: Henry Mercer <henrymercer@github.com>
This commit is contained in:
Ian Wright
2022-02-04 15:21:56 +00:00
committed by GitHub
parent b38335a6c2
commit e57a0e0e2f

View File

@@ -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 }
/**