JS: Openly recommend SummarizedCallable

This commit is contained in:
Asger F
2024-11-12 14:50:27 +01:00
parent 249104b8ae
commit f758b67d30
3 changed files with 5 additions and 0 deletions

View File

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

View File

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

View File

@@ -1935,4 +1935,5 @@ module DataFlow {
import internal.FunctionWrapperSteps
import internal.sharedlib.DataFlow
import internal.BarrierGuards
import FlowSummary
}