JS: Add overlay[local?] to new summaries after rebasing

This commit is contained in:
Asger F
2025-10-10 13:27:46 +02:00
parent 2b338fc1d9
commit b1418e1d70
2 changed files with 3 additions and 0 deletions

View File

@@ -172,6 +172,7 @@ module AsyncPackage {
DataFlow::FunctionNode getFinalCallback() { result = this.getCallback(finalCallbackIndex) }
}
overlay[local?]
private class IterationCallFlowSummary extends DataFlow::SummarizedCallable {
private int callbackArgIndex;
@@ -219,6 +220,7 @@ module AsyncPackage {
*
* For example: `data -> result` in `async.sortBy(data, orderingFn, (err, result) => {})`.
*/
overlay[local?]
private class IterationPreserveTaintStepFlowSummary extends DataFlow::SummarizedCallable {
IterationPreserveTaintStepFlowSummary() { this = "async.sortBy" }

View File

@@ -362,6 +362,7 @@ module LodashUnderscore {
}
}
overlay[local?]
private class LodashGroupBy extends DataFlow::SummarizedCallable {
LodashGroupBy() { this = "_.groupBy" }