mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
JS: Openly recommend SummarizedCallable
This commit is contained in:
@@ -28,6 +28,8 @@ private import semmle.javascript.internal.CachedStages
|
||||
*
|
||||
* This class is a singleton, and thus subclasses do not need to specify a characteristic predicate.
|
||||
*
|
||||
* As an alternative to this class, consider using `DataFlow::SummarizedCallable`.
|
||||
*
|
||||
* Note: For performance reasons, all subclasses of this class should be part
|
||||
* of the standard library. Use `isAdditionalFlowStep` for query-specific flow steps.
|
||||
*/
|
||||
|
||||
@@ -11,6 +11,8 @@ private import semmle.javascript.internal.CachedStages
|
||||
*
|
||||
* This class is a singleton, and thus subclasses do not need to specify a characteristic predicate.
|
||||
*
|
||||
* As an alternative to this class, consider using `DataFlow::SummarizedCallable`.
|
||||
*
|
||||
* Note: For performance reasons, all subclasses of this class should be part
|
||||
* of the standard library. Use `isAdditionalFlowStep` for query-specific taint steps.
|
||||
*/
|
||||
|
||||
@@ -1935,4 +1935,5 @@ module DataFlow {
|
||||
import internal.FunctionWrapperSteps
|
||||
import internal.sharedlib.DataFlow
|
||||
import internal.BarrierGuards
|
||||
import FlowSummary
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user